Skip to content

Account and World: exact Draft recovery and authored start-selector proof - #3021

Closed
benhook1013 wants to merge 12 commits into
codex/unit1b-creator-reservation-deliveryfrom
codex/unit1b-authenticated-draft-handoff
Closed

benhook1013 wants to merge 12 commits into
codex/unit1b-creator-reservation-deliveryfrom
codex/unit1b-authenticated-draft-handoff

Conversation

@benhook1013

@benhook1013 benhook1013 commented Oct 6, 2026 •

Copy link
Copy Markdown
Owner

Boundary and dependency

Head 9f83e6dc24e23d99e8f9d20e6ea0dc87e505f5c7, 96 unique files, stacked normally on #3014 77fee51cafcc228101ee77403902dd6bf90cef9b. Earlier checkpoints remain ancestors; no preserved history was rewritten.

This is an authored-owner application, protected readback and Account recovery prerequisite, not an enabled authoring or Gameplay flow. All four Gameplay handoffs remain open: original Account-authorized World APPLIED, actual immutable Game Design release, canonical World materialization→ACTIVE and Game Session association, and fully composed two-owner Account settlement.

Implemented boundary

  • Game Design V48 retains the complete original Account operation before dispatch and immutable committed/final-abort outcomes with synchronized coordinator state. Historical coordination is not promoted into Account terminal evidence.
  • World V39 atomically retains fresh topology and original Account-bound APPLIED under its owner lock. V40 independently joins the exact immutable release and frozen graph before preparation or replay. V41 requires the original complete six-family declaration, explicit zeroes and typed authored RoomTemplateRef; actual same-Version rows must match. Graph, epochs, original selector receipt and APPLIED-v2 commit atomically. Genuine declaration-less APPLIED-v1 history remains byte-exact and selector-ineligible.
  • Separate Account-only Game Design/World terminal reads and Account recovery preserve original bytes, independently query missing owner outcomes outside Account transactions, and never infer abort from timeout, absence or UNKNOWN. Complete definitive outcomes, not one retained World result, determine settlement.
  • A distinct, unregistered ReadWorldPublishedStartLocation now joins independently committed frozen and application journals. It binds the complete selection, original Account operation, unchanged APPLIED result and selector receipt. The closed shared carrier verifies complete fields, byte digests and selected ROOM. Missing, substituted or receipt-less evidence denies without repair.
  • Game Design's opt-in client verifies the exact same-namespace World mTLS workload before releasing RPC metadata/body. World requires the exact same-namespace Game Design peer before decoding/querying, and rejects forwarded end-user context. This read is not commit permission or current Account authorization. The physical transport test proves wrong service/namespace denial and zero request release using a transport double, not a live owner database.
  • The graph/2 consumer preserves the original owner UTF-8 serialization and hashes exact bytes; it no longer invents an RFC 8785 ordering requirement on embedded historical graph bytes. Strict UTF-8, closed typed graph, unknown/duplicate/trailing-field rejection, original Account/APPLIED digests and selector checks remain.
  • Six previously executed CI failures are corrected: the graph-byte receiver defect, one safe-denial diagnostic assertion, required retained Account fixture columns, two binary-array snapshot comparisons and one pre-V48 fixture using the current journal writer. Existing guards and every historical row/byte comparison remain.

Exact proof and limits

The corrected source-read candidate passes combined Core, Account, Game Design and World check -PfullCheck, formatting, analyzers, coverage, World jOOQ generation, three service boot JARs, links and Markdown. Matching XML records 2,350 clean unit executions (Core 297, Account 1,088, Game Design 555, World 370); one separate Game Design object-store unit case skips. The physical mTLS rejection/read test executes cleanly. Final documentation-only validation also passes. Actionlint, gRPC transport guard, Flyway sanity (12 sets/215 versioned files) and diff hygiene pass.

All 798 integration cases skip locally without Docker: Account 488, Game Design 154, World 156. The two new exact frozen/APPLIED selector cases compile/discover and are strict required CI cases, not local PostgreSQL execution. H2 jOOQ simulation is not PostgreSQL migration/trigger proof. Fresh images, live workload owner composition and runtime activation remain unproved.

Corrected exact-source CI37474590468, head 9f83e6dc24e23d99e8f9d20e6ea0dc87e505f5c7, supplies 119 verified scoped PostgreSQL executions: 119 passed, zero failed, zero skipped, with all three owned Account/Game Design/World jobs successful. Saved raw XML records Account Draft fence19, bootstrap operation3/service7, creation provenance1 and creator-party10; Game Design terminal7, selection/history9 and coordinator11; World terminal7, frozen14, association12 and graph19, including both new selector-join methods. Runner 5d9672bc6f1830028aca4473236a921c77b4b22f has exact base 77fee51cafcc228101ee77403902dd6bf90cef9b and source parents and the source-identical tree 348c57630579a64333b3841b821f0f50c7fb3e57. These results close the six causes seen on historical dadb CI37466228981, not live protected authority or owner composition. Metadata-only run37474790479 is excluded; its skipped jobs are not execution proof. Unlisted suites and aggregate CI remain separate claims.

Remaining carrier and activation gates

The complete immutable release/v2 attestation/World selector-materialization implementation and all its proof are published in the coherent 33-file draft child #3029 at ec3bff6f3b1361cf56ad6450bc8fca983652f9e0, because the complete cumulative patch exceeds this PR's 100-file ceiling. No fixture was dropped to fit. Source read alone is not a release, freeze ACK or publication authorization. Child V49/V42 execution and live owner composition remain separate proof gates.

Automatic authenticated publication freeze/recovery and terminal delivery, current publication authority, genuine mandatory five-owner artifacts, actual immutable release creation, live canonical materialization→ACTIVE, Game Session association and original Account two-owner settlement remain open. Original Draft COMMIT_ORDER is not later publication permission. Receipt-less historical rows cannot be promoted.

The agreed Gameplay cut remains generation-free authored room/start content with a genuinely owner-assigned PRESEEDED_ONLY actor. No synthetic ACK, inferred absent family, first-room/numeric selector, actor provisioning, creator/admin write exposure, membership RPC, credential release, key-ring mount or runtime activation is authorized. Broader Unit 1B/control UI remains parked. No provider review, corpus closure or merge readiness is claimed; controller records own findings and proof.

FireMUD LOC impact

Compared 77fee51cafcc → 9f83e6dc24e2 (PR merge-base → head).
PR scope: 96 changed files · 18,910 added textual lines / 116 deleted textual lines.

Section Base LOC Head LOC Δ LOC Change
Overall 966,253 983,659 +17,406 +1.8%
 Source 873,837 891,091 +17,254 +2.0%
  ↳ Code 363,911 370,846 +6,935 +1.9%
  ↳ Tests 509,926 520,245 +10,319 +2.0%
 Markdown 60,084 60,125 +41 +0.1%
 Design 62,772 62,813 +41 +0.1%
  ↳ Architecture 45,499 45,518 +19 +<0.1%
  ↳ Project management 5,996 6,018 +22 +0.4%
  ↳ Observability 2,147 2,147 0 0.0%
  ↳ Operator runbooks 579 579 0 0.0%
  ↳ gRPC API documentation 7,086 7,086 0 0.0%
  ↳ Product requirements and user journeys 926 926 0 0.0%
  ↳ Developer workflows 460 460 0 0.0%
  ↳ Other design 79 79 0 0.0%

Rows are hierarchical and overlapping views; do not add them together.
LOC means cloc code lines; blank and comment-only lines are excluded.

@coderabbitai

coderabbitai Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository YAML (base), Organization UI (inherited)
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 5588dc45-de2f-4cb8-a1e5-72425db6eae8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

…it1b-authenticated-draft-handoff

# Conflicts:
#	.github/workflows/ci.yml
#	design/project-management/implementation-tracking/player-access-and-session.md
…it1b-authenticated-draft-handoff

# Conflicts:
#	design/project-management/implementation-tracking/world-runtime-and-movement.md
#	services/world-management-service/src/test/java/integration/net/firedevops/firemud/worldmanagement/tenant/WorldDraftTerminalOutcomePostgresIntegrationTest.java
@benhook1013 benhook1013 changed the title Account and World: exact authored-Draft terminal recovery Account and World: exact Draft recovery and creator-control sources Oct 6, 2026
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Validation Summary

❌ One or more validation checks failed

  • ❌ Validation gate: failure
  • ✅ Buf generation: success
  • ✅ Dockerfile lint: success
  • ✅ ShellCheck: success
  • ✅ Python script validation: success
  • ✅ Dev tool contract checks: success
  • ⏭️ Dev Tools README contract: skipped
  • ✅ YAML lint: success
  • ✅ Metrics cardinality policy check: success
  • ✅ Flyway migration sanity checks: success
  • ✅ gRPC transport configuration sanity checks: success
  • ✅ GitHub workflow lint: success
  • ✅ Helm chart lint: success
  • ✅ Helm render validation: success
  • ✅ Helm transaction proof: success
  • ✅ Validate Documentation: success
  • ✅ Frontend checks: success
  • ❌ Service build/test matrix: failure

Coverage reports and failure logs are available in the workflow artifacts.

@benhook1013 benhook1013 changed the title Account and World: exact Draft recovery and creator-control sources Account and World: exact Draft recovery and authored start-selector proof Oct 6, 2026
@benhook1013

Copy link
Copy Markdown
Owner Author

Consolidated the 96-path donor comparison 9f83e6dc24e23d99e8f9d20e6ea0dc87e505f5c7 over 77fee51cafcc228101ee77403902dd6bf90cef9b into the existing Creator and World drafts. The exact source remains in GitHub’s pull ref. No unresolved review threads or active Hosted operation were found in the retirement preflight.

  • Creator Consolidate standalone Creator source-delivery groundwork #3441 head f0b0feb2e0bf81bcec259331453cf2ac08cb39c9 over acece6523585b6c9dbee7951f56d8bf078d1bfaf carries exact creator party association, Account capture of the original committed creator role and pair, and the exact Draft operation recheck after contention. The current terminal read and callers preserve separate immutable Game Design and World outcomes. The final Common test adds same-CA foreign workload and foreign namespace refusals before application metadata or body, on both real client transports.
  • World Consolidate ordinary Entity digest and World foundation groundwork #3442 head 9de8c6441823ddd2358ce3e5cbbc7586a9620207 over f0b0feb2e0bf81bcec259331453cf2ac08cb39c9 carries six-family graph APPLIED/rollback and exact replay, cross-Version exclusion of competing APPLY and ABORT for the original Account operation, and native raw pre-allocation refusal for release-commit and content-digest substitutions. Existing source-qualified selectors and immutable receipts are preserved. The current protected owner APIs supersede the old numeric or weaker source paths.
  • Actual receiving receipts include ten native PostgreSQL Game Design cases on the competing operation path, one native Account creator capture case with exact original receipt denial and recovery, two prior native creator-party cases, two native World rollback/exclusion cases, and eight native World release cases. Integrated scoped static and format checks passed for those tested slices. The supplemental Common mTLS cases are committed in the receiver and waiting for local execution. Scoped diff checks passed. The previously executed owner proofs retain their controlled upstream Account/peer limitations. Required receiving CI remains separate.

No deployment or merge was made. Open-PR base references will be checked again before any remote branch deletion.

@benhook1013
benhook1013 deleted the codex/unit1b-authenticated-draft-handoff branch November 28, 2026 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant