diff --git a/plugins/clone-app/skills/clone-app/references/re-digest-contract.md b/plugins/clone-app/skills/clone-app/references/re-digest-contract.md index 22548a3..3030340 100644 --- a/plugins/clone-app/skills/clone-app/references/re-digest-contract.md +++ b/plugins/clone-app/skills/clone-app/references/re-digest-contract.md @@ -102,3 +102,20 @@ plus these paths — never raw resources, sources, or assets. | Value | Meaning | |---|---| | `limited: unity-no-tools` | Unity build but Il2CppInspectorRedux/AssetRipper absent — partial digest, assets/types may be empty. | + +## Fidelity pass artifacts (Phase 8 — proceed-to-build only) + +When the user proceeds to build at the Phase 7 gate, the Phase 8 fidelity +subagent reuses `$WORK/output` (no re-decompile) and ALSO writes: + +- `$WORK/logic-digest.md` — in-app logic & workflows, distilled from + `extract-logic.py`'s signals per `logic-capture-guide.md`. +- `$WORK/nav-graph.json` — navigation graph from `extract-nav-graph.py` + (keys: `root`, `framework`, `nodes[]`, `edges[]`). +- `$WORK/backend-recon.md` — inferred backend design per `backend-recon-guide.md` + (confidence-stamped; a rebuild target, not recovered server code). + +It also **deepens `$WORK/payloads.json`**: in the fidelity pass, Tier-2 +request/response/headers are populated for **every first-party endpoint**, not +just auth/payment/core. This overrides the "Tier-2 on every endpoint is a +non-goal" rule above, which governs ONLY the Phase 2 feasibility pass. diff --git a/plugins/clone-app/tests/test-references-content.sh b/plugins/clone-app/tests/test-references-content.sh index 9d3c44f..96989cf 100755 --- a/plugins/clone-app/tests/test-references-content.sh +++ b/plugins/clone-app/tests/test-references-content.sh @@ -29,5 +29,8 @@ has "$R/logic-capture-guide.md" "extract-logic.py" has "$R/logic-capture-guide.md" "confidence" has "$R/backend-recon-guide.md" "rebuild" has "$R/backend-recon-guide.md" "confidence" +has "$R/re-digest-contract.md" "logic-digest.md" +has "$R/re-digest-contract.md" "nav-graph.json" +has "$R/re-digest-contract.md" "backend-recon.md" exit $fail