108 lines
4.7 KiB
Markdown
108 lines
4.7 KiB
Markdown
# FG-4 Midgame RG-03 And RG-04 Contract
|
|
|
|
> Revision: `fg4-midgame-r1`
|
|
> Goal: `docs/goals/FG4_MIDGAME_RG03_RG04_GOAL.md`
|
|
> Predecessor candidate: `370f2a5`
|
|
> Accepted closure: `fe90d6f`
|
|
|
|
## Inherited Authority
|
|
|
|
- FG-3 owns the exact closed RG-02 Company, two Records, Save v10, permanent
|
|
casualty rules and the accepted world-first presentation.
|
|
- Product economy, battle, save and content authorities remain normative.
|
|
FG-4 consumes their IDs and formulas instead of copying or renaming them.
|
|
- The integrated product rule of two Contracts per Region outranks the content
|
|
catalog's older alternate-boss revisit wording.
|
|
- Existing profession, trait, equipment, Artifact and enemy identities remain
|
|
immutable. FG-4 may add executable mappings only for its assigned IDs.
|
|
|
|
## Content Boundary
|
|
|
|
FG-4 adds exactly:
|
|
|
|
- `EQ-081..120`, `AR-016..022`, `EN-R3-01..12`,
|
|
`BO-R3-01..02` and 72 RG-03 route rows;
|
|
- `EQ-121..160`, `AR-023..030`, `EN-R4-01..12`,
|
|
`BO-R4-01..02` and 72 RG-04 route rows;
|
|
- 48 deterministic Markets, four fixed Boss Musters, bilingual display
|
|
authority and one shared FG-4 schema/generator;
|
|
- production environment, actor, Boss, VFX, music, ambience and semantic SFX
|
|
bindings for both Regions.
|
|
|
|
Every Market contains three Recruit slots, four equipment offers and three
|
|
risk `0/1/2` route offers. Refresh may change Recruit/equipment rows only;
|
|
route, Region object, clause, Boss and reward facts never reroll.
|
|
|
|
## Region And Contract Structure
|
|
|
|
### RG-03 Emberloom Works
|
|
|
|
- `CTR-R3-01` ends at `BO-R3-01` Furnace That Walks.
|
|
- `CTR-R3-02` ends at `BO-R3-02` Foreman Nine-Sparks.
|
|
- Every ordinary encounter declares one pressure-valve position and countdown.
|
|
Occupying, vacating or crossing that index changes the disclosed resolution.
|
|
- Construct, delayed burst, item cooldown and action-tag repetition are
|
|
separate mechanics with separate event and counter tags.
|
|
|
|
Furnace That Walks supports vent-and-brace or strong-side burst plans.
|
|
Foreman Nine-Sparks supports varied action tags or one deliberately safe
|
|
promotion followed by focused spark removal. Failure names the exact Pressure
|
|
or repetition boundary.
|
|
|
|
### RG-04 Quillroot Archive
|
|
|
|
- `CTR-R4-01` ends at `BO-R4-01` The Walking Index.
|
|
- `CTR-R4-02` ends at `BO-R4-02` Redaction Hart.
|
|
- Every ordinary encounter declares one `repeat`, `alternate` or
|
|
`preserve` clause, the affected action field and the obey/break result.
|
|
- Copy, target redirection, cleanse trap and clause evaluation remain separate
|
|
event families.
|
|
|
|
The Walking Index supports action-count steering or a timed pointer interrupt.
|
|
Redaction Hart supports safe seeded rules or reorder-and-interrupt before
|
|
replay. Failure names the exact label or redacted clause that changed outcome.
|
|
|
|
## Economy And Progression
|
|
|
|
- Line capacity remains at the core cap of ten; FG-4 adds interaction breadth,
|
|
not another capacity increase.
|
|
- Ordinary Coin, XP, offer level and price bands use the existing product
|
|
formulas with Region and Round inputs. A new scalar-growth formula is
|
|
forbidden.
|
|
- Bosses grant no spendable Coin.
|
|
- First-clear Renown is `18/22` for RG-03 Contracts and `20/24` for RG-04
|
|
Contracts, using the accepted `8 + 2*G + 4*K` formula.
|
|
- Each Contract writes one Company Record exactly once. RG-03 close unlocks
|
|
RG-04; RG-04 close unlocks RG-05.
|
|
|
|
## Save And Failure
|
|
|
|
- Save v11 migrates exact Save-v10 `region_closed` with RG-03 unlocked.
|
|
- One schema owns every RG-03/RG-04 Market, prepared, recovery, Boss, result,
|
|
handoff and Region-close phase.
|
|
- Prepare, battle settlement, recovery, Contract close and Region close are
|
|
revision-bound and idempotent.
|
|
- Defeat permanently removes Fallen Recruits, returns equipment, grants
|
|
bounded Credit, pays no battle Coin and never substitutes Reserve.
|
|
- Recovery restores the exact Market or Boss Muster without reroll or
|
|
resurrection.
|
|
- Active/backup corruption, rollback, duplicate input, interrupted candidate
|
|
writes and clock change cannot create Coin, XP, Renown, healing, battle
|
|
ticks, Records or unlocks.
|
|
|
|
## Presentation And Delivery
|
|
|
|
The canonical FG-2/FG-3 world-first controller is extended through compatible
|
|
data-driven adapters. A Region-specific card wall, milestone-only simulator or
|
|
second event authority is forbidden.
|
|
|
|
The midpoint candidate must show both Region entries, representative ordinary
|
|
pressure, all four Bosses, loss/recovery, four Records and RG-05 in normal
|
|
rendering. Paid generation remains inside the current four-call/USD-5 ceiling;
|
|
raw generated sheets require deterministic processing, import, runtime binding
|
|
and source-bound review.
|
|
|
|
Checkpoint 2 includes one runtime-only cached H5 after the immutable local
|
|
candidate passes. Native packaging, devices, signing, stores and release remain
|
|
outside this contract.
|