Files
windroost/data/ch_hero_adapter.json
T
wushenghua 0a1b7f2c99 S8: wire CH-source H07-H09 hero numbers via labelled positional adapter
- Add explicit Windroost adaptation contract and provenance sidecar
  (H01..H09 -> CH ids 1..9 positional, NOT a native crosswalk).
- Serve H07/H08/H09 base DPS from CH @46cc8ad authority via
  ChHeroAdapter at WR hero level (1..199 identity domain; hard-fail
  outside it) and consume it in HeroSkillLoader (py + gd).
- Keep H01-H06 paths byte-identical; H10-H54 stay Pending;
  no skill coefficients, counters, zones or rewards invented.
- Sync A5 disposition map with the current lexical consumer scan.
- Add py<->gd parity, real ScreenTouch training/battle probes and a
  fake-HOME / exclusive-save / dev:inode / watchdog runner.
2026-11-28 13:32:49 +08:00

72 lines
2.4 KiB
JSON

{
"schema": 1,
"kind": "windroost_positional_hero_adaptation",
"status": "authoritative_adapter_for_H07_H09",
"mapping_kind": "POSITIONAL_ADAPTATION_NOT_NATIVE_CROSSWALK",
"source_revision": "46cc8ad46ac886918ee1b2c1b0e946e1f5e17c04",
"source_binding": {
"authority_dir": "data/ch_numeric_authority",
"domain": "hero_dps",
"value_path": "base_attacks",
"ref": "ch_numeric_authority.hero_dps.base_dps_at_level",
"ch_derivation": "CH game_state.gd:224-227 derives base_attacks[id] from baseCost plus hero_presentation.json corrections; the WR authority array is that derived runtime value, not the raw source_tables baseAttack field",
"ch_formula": "base_attacks[ch_id - 1] * level",
"level_semantics": {
"wr_field": "profile.hero_levels[hero_id]",
"ch_field": "level argument of base_dps_at_level",
"min_inclusive": 1,
"max_exclusive": 200,
"default_when_caller_omits_level": 1,
"state": "identity",
"excluded_non_identity_state": [
"ritual",
"upgrade",
"ancient",
"outsider",
"gild",
"ruby"
],
"out_of_domain": "hard error, never guessed or clamped"
},
"zone_semantics": {
"heroes": "no CH zone; CH zone applies to monsters only",
"invented_zone": false
}
},
"mapping": {
"H07": {
"ch_id": 7,
"wr_row_index": 6
},
"H08": {
"ch_id": 8,
"wr_row_index": 7
},
"H09": {
"ch_id": 9,
"wr_row_index": 8
}
},
"scope": {
"adapted": [
"H07",
"H08",
"H09"
],
"preserved": "H01-H06 keep their existing A4 binding / product literal values",
"pending": "H10-H54 remain Pending; no values invented for them"
},
"not_consumed": {
"training_dps": "game_root.gd training rows are built from H01-H03 only (frozen launch fixture); no H07-H09 row exists to receive a value",
"roster_bonus": "game_root.gd:_roster_bonus iterates LaunchContent.heroes() (H01-H06 frozen fixture); H07-H09 are never unlocked by any node",
"signature_dps": "battle_sim.gd reads signature_dps from the H01-H06 battle-rules fixture only; CH ids 7/8/9 have no signature or skill value at 46cc8ad",
"skills": "hero_skills.json H07-H09 are Windroost-original with no CH skill id; their coefficients are unchanged"
},
"no_invention": [
"counters",
"skill coefficients",
"zone values",
"rewards"
]
}