[High] [Bug] [Spec-Inconsistency] Pact persistence through prestige: AGENTS.md says yes, pact-system-spec says no, invoker-spec documents the bug #270
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type: Spec / Spec inconsistency
Priority: High
AGENTS.md says:
pact-system-spec.md §5.2 says:
invoker-spec.md §10 says:
GAME_BRIEFING.md §Prestige/Loop System says:
So we have:
This is both a spec inconsistency AND a known implementation bug. The design intent (AGENTS.md + GAME_BRIEFING) says pacts should persist, but the actual code resets them.
Recommendation: Fix the implementation to match the design intent, and update pact-system-spec to reflect the intended behavior.
ultimate truth: PACTS SHOULD NOT PERSIST. (verify this please, if they do persist, create a new gitea issue tracking that as a bug)
RESOLVED — Verified that pacts do NOT persist through prestige. The code in
prestigeStore.tsstartNewLoop()resetssignedPacts: []anddefeatedGuardians: []. However,resetPrestigeForNewLoop()also resets them. Thepartializepersistence includessignedPacts, so they persist across page reloads but NOT across prestige loops. Updated AGENTS.md, GAME_BRIEFING.md, and invoker-spec.md to clarify this.✅ RESOLVED — Verified that pacts do NOT persist through prestige. The code in prestigeStore.ts startNewLoop() resets signedPacts: []. Updated AGENTS.md, GAME_BRIEFING.md, and invoker-spec.md to clarify this.