Commit Graph
280 Commits
Author SHA1 Message Date
wushenghua 733a93f632 Fix narrow en_US bottom nav fourth label clipping 2026-11-30 10:04:54 +08:00
wushenghua 15401f8172 fix(ui): wrap long en_US save-retry body on narrow viewports 2026-11-30 08:49:49 +08:00
wushenghua f1fb09f860 G5: save-first world battle victory reward commit with localized retry
World battle victory now prepares a detached profile copy, applies the
authored reward/completion/progress/gear to it, performs one save, and adopts
the copy as live only after success. A failed write keeps live and disk intact
and offers the existing localized save-error retry, which commits exactly once;
stale retry taps and repeated win signals are inert. Slice, G1/G2/G3/G4, CH/UI,
economy and locale keys are unchanged. Adds a focused real-touch probe, gate
script and source-bound contract/ledger.
2026-11-29 23:17:53 +08:00
wushenghua c52e92e36a G3: connect world battle victory to the existing auto-run timer 2026-11-29 22:43:58 +08:00
wusumacandwushenghua c97c733e96 fix(world): isolate battle exit, page switch and auto-advance timer routes 2026-11-29 22:09:01 +08:00
wushenghua b2627839a9 feat(wg2): bounded cleared-event replay entry and world defeat retry
- cleared world event nodes keep a localized replay CTA that re-enters the
  same event; replay choices pay nothing and return to the world page
- world battle defeat exposes a replay-key retry that reuses the save-free
  launch route; no duplicate completion or reward
- G1 event/shop/supply first completion, CH/UI/S1-S6/S8/Loadout and all
  numbers remain unchanged
- add 12-config real-ScreenTouch probe, strict import and G1 regression
2026-11-29 21:14:28 +08:00
wushenghua 13fe644977 fix(world): settle event/shop/supply aux nodes on real completion
World event/shop/supply nodes have no authored battle scenario, so the world
CTA silently did nothing. Route them through the existing event host, black
market and Encounters page. A successful real action claims the authored
reward_id exactly once via claim_once, records completion and advances
highest_node on a save-first copy, then returns to the world map with the next
unfinished node selected. Ordinary side-page and slice-event behaviour is
unchanged.

Add a focused real-ScreenTouch probe (12 viewport/locale/motion configs x
event/shop/supply) with strict import and isolated save binding. No schema,
content, replay, auto-run, battle save-first or enemy/boss changes.
2026-11-29 20:40:35 +08:00
wushenghua 33a88c458e fix(locale): localize loadout gear slot labels via existing UiText key 2026-11-29 19:43:00 +08:00
wushenghua 6ac866d8a3 S8 on UI: sync A5 disposition for source-pinned H07-H09 adapter
Adapter, HeroSkillLoader level 1..199 path, Python/GD parity and provenance were already integrated on this UI tree; no cherry-pick. Classify locale-visibility probe partners key and regenerate reviewed disposition so CH G5 passes.
2026-11-29 18:33:26 +08:00
wushenghua 2711df11a1 Integration: UI slice 2 (Side/Loadout/Battle) onto bb07610
Cherry-pick 27e89e4c50af00c8bf7fd6c44f10bf55d1435d8a (direct child of baseline bb07610547). Clean application: no conflict, no manual semantic edit; tree byte-identical to 27e89e4.

Frozen data/*.json + ui_text.gd SHA-256 set and tap_targets/_ch_targets key expressions unchanged from baseline.
2026-11-29 16:23:44 +08:00
wushenghua bb07610547 UI rebuild slice 1: scene-focused Skyport/World/Settlement presentation
Replace control-list composition with scene + entity focus on three pages:
Skyport training seats use real 96px hero frames; World node tokens become
80px landmarks with compact chapter underlines; Settlement becomes a single
spoils plaque with one emphasized exit. Restore authored scene colour on
Skyport/World and keep settlement darkening. Rebind authority callbacks to
rebuilt world tokens so real ScreenTouch keeps routing.

Presentation only: no CH numeric, battle, economy, save, route, locale-key
or touch-target key changes. No new art or assets.
2026-11-29 15:43:00 +08:00
wushenghua ee3ec6ee21 fix(side-records): make A137/A142 garrison records visible and claimable
Port the minimal garrison record path from 8efd447: RECORD_METRICS and
metrics() gain 驻扎/garrison_arrange_count in both Python and GDScript;
profile gains additive garrison state with save-first one-shot arrange
count. The arrange entry point is a quiet row on the side page (where the
records live) so the current skyport action layout and its 360px touch
flow stay unchanged. Adds real-ScreenTouch evidence for the records
summary (167), A137/A142 rows, claims and save cold read.
2026-11-29 13:53:18 +08:00
wushenghua 3ab320e168 fix(locale): close scoped en_US visible CJK residue
Localize side partner name/role via partner.<id>.* keys, loadout H01-H03 hero abilities and talent copy via paired content.loadout_text.* keys, and refresh battle roster hero labels with the active locale. Adds a focused visible-text + real-ScreenTouch probe. No CH numbers, economy, save, routing, battle rules or full generators changed.
2026-11-29 13:02:12 +08:00
wushenghua b9b4aee05e Fix combat non-skill touch targets 2026-11-29 12:10:35 +08:00
wushenghua 62c0c19a98 Fix locale re-fetch on already-built shell pages
set_locale now propagates active locale to UiPageSkyport/UiPageWorld,
re-applies UiText to already-built Skyport/World/Side/Loadout/Growth,
bottom-nav and entrance controls via existing refs/refresh paths, and
re-updates the primary CTA dock. Bottom-nav build no longer drops locale.
No visual structure, values, routing, save, economy, CH mapping, or combat
rule changes.
2026-11-29 12:10:32 +08:00
wushenghua 77d9490f6a fix(a5): register H10-H54 overlay probe hits via authoritative disposition builder 2026-11-29 11:19:24 +08:00
wushenghua b241fd7441 feat(full-game): source-pinned H10-H54 world runtime adapter candidate
World-only rules/art overlay with frozen H01-H06 parity; provenance fields merged into training rows; 12-config real ScreenTouch probe with source SHA binding and replay manifest.
2026-11-29 11:16:22 +08:00
wushenghua 6085db7aa7 fix(a5): sync G5 disposition coverage to 87ea67c consumer scan
Reproduced check_ch_authority G5 FAIL (entries=99 vs scan=105, missing 6
disposition rows). Regenerated data/ch_consumer_disposition.json with the
canonical build_consumer_disposition.py: +6 reviewed rows (2 BLOCKED,
3 NOT_APPLICABLE, 1 LEGACY_SOURCE), refreshed 12 stale line/snippet
metadata rows, baseline 99/96/3 -> 105/102/3. SIDECAR_BOUND stays 3;
no gate, CH value or consumer semantic change; G3/G4 and 8 OPEN untouched.

Verified: G3/G4/G5 PASS, CH parity 7/7, strict import IMPORT_CLEAN,
CH systems domain PASS. Evidence: /private/tmp/opencode/debt-g5-87ea67c/
2026-11-29 10:33:43 +08:00
wushenghua 2e8a9d1d31 fix(locale): mirror runtime ui_text keys into authoritative data tables
Mirror the already-run p2_godot_sample/data ui_text.zh_CN/en_US tables into data/ so the runtime bundle gate and the UI text validator agree. Adds 39 keys per locale (ancient_*, do_transcend, guild_*, bounty_*, ch_*), removes nothing, invents no translations. 2 files, 78 insertions, 0 deletions. Gates: bundle PASS, UI_TEXT_PASS, strict import exit 0, representative UI/S3/S4/S5/S6/CH probes all exit 0. Evidence: /private/tmp/opencode/debt-locale-87ea67c/.
2026-11-29 10:33:42 +08:00
wushenghua 87ea67c91e feat(ui): visual-language candidate - quiet rows, framed surfaces, skill-bar material
Reduce the stacked-rectangle look without touching behaviour. Repeated roster,
route and side-ledger rows become translucent quiet bands with a single accent
rule; the few real surfaces reuse the existing pixel nine-slice as material;
the battle skill bar reuses the stage nine-slice. Touch areas, routes, text,
economy, save and CH data are unchanged. No new art dependency.

Evidence: 10 real before/after shots, 48-shot UI slice PASS, touch/scroll/
modal/battle-exit regressions PASS, strict Godot import clean.
2026-11-29 10:16:02 +08:00
wushenghua c8074948b6 S1/S2/S8 integration candidate: schema-agnostic probes and clean CH touch teardown
S1/S2/S8 product code is already present in 529cdeb (all three candidate
commits are ancestors). Align the S1/S2 domain probes with the integrated
schema 7 by comparing to ProfileStore.SCHEMA, and make the CH systems touch
probe free its shell synchronously so the representative run exits clean.
All systems in 529cdeb (S3/S4/S5/S6/buoy) are preserved unchanged.
2026-11-29 10:16:01 +08:00
wushenghua 3e8346da94 content: port full-game generator, QA and enemy/hero contracts
Source-bound generator/validator/QA plus WR328 enemy weak-tag and WR330 hero
unlock checkers. UI text is a 3-way merge: source event short keys and content
keys added, all HEAD S3/S4/S5/S6 keys retained. No runtime/shell code ported.
2026-11-29 10:10:38 +08:00
wushenghua 8ec93cc78f content: port full-game battle-rules adapter data and checker
Source-bound H07-H09 / H10-H54 role adapter table from 42d6ec7, with its
focused checker and runtime-bundle validation entry. No shell/runtime script
or save-schema code is ported.
2026-11-29 10:09:55 +08:00
wushenghua 529cdeb641 fix(s5-buoy): defer buoy row refresh on real-touch start/partial tap
_on_buoy() rebuilt the side rows synchronously inside Button.pressed for the
start and partial-tap branches, freeing the emitting row mid-emission and
crashing Godot with a SIGSEGV under real InputEventScreenTouch. Defer only
those two _refresh_side calls; start/tap/save/claim order and the completed
path through _on_lowfreq_result are unchanged.

Extend ch_systems_touch_test.gd lifecycle mode to cover buoy start, a partial
tap with save/live agreement, and completion via _on_lowfreq_result. Each tap
re-discovers the live row rect after the deferred rebuild so no freed
coordinate is reused. Full 72-step matrix is unchanged.
2026-11-29 09:50:32 +08:00
wushenghua dbbf68ac24 fix(s5-side-claims): defer refresh/modal pair on real-touch claims
Real InputEventScreenTouch on partner, record and LowFreq rows freed the
emitting Button inside Button.pressed via synchronous _refresh_side(), causing
SIGSEGV. Defer the exact refresh/modal pair, matching the existing market
handler. Add a probe-only side-row rect helper, extend the real-touch harness
to 360/390/430 x zh/en x normal/reduced with modal-back, save/live and
exactly-once assertions, and add focused lifecycle + matrix runners with
fake HOME, exclusive save, dev:inode binding and hard watchdog.
2026-11-29 09:32:20 +08:00
wushenghua 5426c636a6 test(world-next): allow expected S5/S6 live service field diffs
WN RUN1 at the integration HEAD produced WN_FAIL 72: the only differing keys
in diff_return/diff_saved were the new autoclick/clickable dicts. Analysis
proved the changes are autoclick.timer/service_ticks and clickable.phase
advancing per frame -- expected live service state, not reward/wallet/routing
side effects. The probe now explicitly allows only those two fields, records
'diff_allow_note: new S5/S6 service fields expected', and keeps exact equality
for every other gameplay field. Original FAIL evidence is preserved.
2026-11-29 08:50:15 +08:00
wushenghua f35835d224 fix(ch-systems): make guild actions reachable at 360px en_US
- wrap side summary/empty-hint labels so long en_US strings no longer widen the column and push Hire/Buy/Send outside the viewport
- use concise localized tab captions (Guild / Bounties)
- reject off-viewport targets in the real ScreenTouch probe
- re-verified: strict import, domain, 36-case touch matrix, save corruption, parity
2026-11-29 08:45:20 +08:00
wushenghua 348a36e168 test(evidence): bind UI 48-shot capture revision to integration HEAD 2026-11-29 08:25:48 +08:00
wushenghua 5ab024c4d2 S4: add candidate handoff report 2026-11-29 08:24:32 +08:00
wushenghua dff581fdd3 S4: source-bound CH relic/gild book with lifecycle-safe market touch
Defer _refresh_side/_side_result_modal out of the Button.pressed signal so
_clear_children no longer frees the emitting button mid-emission (SIGSEGV).
Additive v7 profile book, explicit CH->WR adapter, Python/GD parity, real
ScreenTouch and save-corruption gates.
2026-11-29 08:24:27 +08:00
wushenghua 34989d898d S3: port CH transcendence/outsider slice into WR new sky
Source-bound Ancient Soul wallet codec, outsider definitions/levels/bonuses,
TP and sacrifice math from clicker_heroes_rebuild @46cc8ad. Additive schema v7
fields with provenance; WR sky_marks/edicts left untouched. Save-first,
exactly-once claim, strict import, migration and real ScreenTouch probes.
2026-11-29 08:23:12 +08:00
wushenghua 4f4b7d918a fix(ui): polish skill bar, victory modal, 360px underlines and raw keys
- battle manual actions now share one skill bar backing with accent rules and
  dividers; button rects, mouse_filter and callbacks unchanged
- victory/dialog panel is opaque with a darker dim so battle chrome no longer
  shows through; action labels and 44px hit areas unchanged
- idle underline and tab baselines brightened/thickened for 360px readability
- UiText.node_name() falls back to localized chapter theme + node number, so
  full-game nodes no longer render [content.node.*] raw keys; locale keys intact

Evidence: 9ba98ef-polish before/after runtime captures, strict import and
focused touch/UI regressions all PASS. No merge, push or release.
2026-11-29 08:23:08 +08:00
wushenghua 9ba98ef060 fix(ui): sync bottom nav highlight on every show_page() route
Move the visual-only _refresh_nav_tabs() call into show_page() right after
current_page is updated, so World/settlement/battle-exit and other non-tab
routes cannot leave a stale tab highlight. Remove the now-redundant call
from _on_nav(); routing, hit areas, text, economy, save and other visuals
are untouched.

Add retaken zh/en key screenshots (360/390/430, world/victory/battle) under
ui_language_captures/c85337e-navfix and record fix + evidence in HANDOFF.
Local candidate only; no merge/push/package/sign/release.
2026-11-29 00:15:44 +08:00
wushenghua 0cf7c6117d feat(ui): give primary CTA nine-slice material and readable secondary states 2026-11-29 00:15:40 +08:00
wushenghua 2f71468719 feat(ui): visual-language candidate — quiet secondary actions, tab chrome, skill slots 2026-11-29 00:15:37 +08:00
wushenghua 1e11038a6a test(ui-motion): report actual _check count instead of hard-coded 14 2026-11-28 17:44:30 +08:00
wushenghua ec7af90d5b fix(ui-motion): central tween tracking, cancel on eviction, low-power breathing 2026-11-28 17:44:30 +08:00
wushenghua 2e2c25a6e5 docs(gate-cleanup): bind candidate evidence to locale-fix HEAD 2026-11-28 15:21:10 +08:00
wushenghua 1cf0c97dc5 fix(locale): mirror shell.prestige.soul_gain into authoritative ui_text tables
The S1 CH ascension port added this key only to p2_godot_sample/data, leaving
the authoritative data/ tables without it. That produced the two I6 gate
drifts: runtime data bundle mismatch and mvp_ui_text_validator missing-key
failure. Mirror the exact existing strings (no new copy) so all four locale
files stay byte-identical.
2026-11-28 15:20:52 +08:00
wushenghua 7f40545df6 S8: add candidate handoff report 2026-11-28 13:32:49 +08:00
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
wushenghua 4de5cdbd6e S2: port CH offline anchor/receipt book into profile store 2026-11-28 12:26:26 +08:00
wushenghua d69b903f33 Fix battle HUD label clipping at narrow English widths 2026-11-28 11:55:36 +08:00
wushenghua dadf368b16 S1: port CH ascension soul reward into Windroost prestige
Source-bound to clicker_heroes_rebuild_ancient_limit_build25 @ 46cc8ad:
level_reward=floor(levels/2000), primal guarantee 100..1000 + 110/120/130,
SoulWallet.ascended wallet semantics and Amenhotep required_level=150.
Adds schema v5 soul fields with additive v1-v4 migration, exactly-once
claim, a second reward line in the prestige preview, and focused domain
and real-ScreenTouch runners.
2026-11-28 11:55:36 +08:00
wushenghua 0da978ab9b fix(world): auto-select next node after world-victory settlement return 2026-11-28 11:55:36 +08:00
wushenghua a1a8668580 fix(locale): restore content.enemy.E-R1-F3-V2 in all four mirrors
N02 wave uses E-R1-F3-V2; missing locale key made the battle HUD show a raw key. Value restored from prior fl06 mirror: zh=风元素·精英, en=Wind Elemental · Elite (authored name + F3 variant rule). Locale data only; no game_root/battle_hud/numeric/CH/A4/A5/save/route/UI changes.
2026-11-28 02:56:59 +08:00
wushenghua 7861a2fcf0 A5b: adjudicate U2 test fixture gold write as NOT_APPLICABLE in G5 disposition 2026-11-28 02:56:59 +08:00
wushenghua 2c0406b6cd U2: wire accepted U1 visual layer into shipped GameRoot entries 2026-11-28 02:32:17 +08:00
wushenghua 49059fe15e A5: add authority-first CH consumer adapter and fail-fast disposition gate
- add ch_runtime_content.py/.gd: patched pointers require real level/zone;
  unmappable families (C004/C050/C053/C054) raise instead of guessing
- remove field_map.counts silent product-literal fallback in ch_authority.py
- label frozen launch fixture source; add disposition map and G5 gate
- keep UI, battle HUD, locale, OPEN items and gameplay literals untouched

G3 12/12, G4 9 families/160 pointers/open 8, G5 92 dispositions PASS
2026-11-28 02:05:28 +08:00
wushenghua 553d882441 test: add focused normal/reduced battle screenshots
Real-display 390x844 zh_CN captures of the adjudicated battle HUD with target indicator and layered enemy plates; normal + reduced_motion.
2026-11-28 01:44:09 +08:00