Skip to content

AH subprocess Phase 2 DB: worker journal and AH command metadata#156

Open
MadMaxMangos wants to merge 2 commits into
masterfrom
feature/ah-sp2-worker-journal
Open

AH subprocess Phase 2 DB: worker journal and AH command metadata#156
MadMaxMangos wants to merge 2 commits into
masterfrom
feature/ah-sp2-worker-journal

Conversation

@MadMaxMangos

@MadMaxMangos MadMaxMangos commented Jul 8, 2026

Copy link
Copy Markdown
Member

Summary

Adds the database side required for AH subprocess Phase 2 write-authority.

This PR must land with the companion server PR, and its migrations must be applied before enabling AH.Service.WriteAuthority = 1.

Key Changes

  • Adds Character DB migration for ah_worker_journal.
  • Adds World DB command metadata cleanup for AH console/repair commands.
  • Ensures the core can require the DB version containing the AH command metadata update.

Deployment Notes

Apply these DB updates before enabling AH worker write-authority.

The server-side write-authority path force-disables itself when the required worker journal table is missing, because reconcile-on-reconnect depends on ah_worker_journal.

Validation

  • Applied migrations to the AH test databases.
  • Verified DB version gates match server expectations.
  • Verified AH command metadata rows are present and de-duplicated:
    • ah console show
    • ah console hide
    • ah repair
  • Live SP-2 smoke passed with the companion server branch.

This change is Reviewable

MadMaxMangos and others added 2 commits July 2, 2026 16:30
Adds the worker mutation journal (uuid PK, auction_id, kind, state, facts
BLOB, created/resolved times) chaining from 22/05/001 Add_Custody_Ledger_Table
via the standard transactional update_mangos proc.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add the 22/5/6 world migration to remove duplicate AH command rows and parent command metadata that the core command loader rejects. Reinsert only executable AH console and repair commands with locale rows.

Co-authored-by: OpenAI Codex <noreply@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant