Skip to content

fix(identity): enforce exact human migration requests and workload separation - #301

Merged
adrianwebb merged 1 commit into
stagingfrom
codex/identity-mapping-boundaries
Sep 9, 2026
Merged

adrianwebb merged 1 commit into
stagingfrom
codex/identity-mapping-boundaries

Conversation

@adrianwebb

@adrianwebb adrianwebb commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Outcome

Prevent stale or substituted human identity migration plans and cross-kind principal collisions.

Work authority

Contributor mode:

  • Human-authored
  • Agent-assisted under human authority
  • Agent-authored under human authority

Plan

Make human mapping symmetric with accepted workload registration before any live migration. Lock both identity kinds; bind inventory and request digests; reject workload ID/subject collisions, including revoked records. Preserve exact issuer strings and valid opaque subjects.

Changes and commits

2dd4988 updates planner/transaction and focused tests. No network work occurs inside the migration lock. No public account-linking endpoint or fallback authentication path.

Verification

  • Eight focused local tests and independent build pass; real PostgreSQL test is selected in required Actions (no local database).
  • Actions pending: stale status, changed request, revoked workload collision, noop, rollback.

Risk and rollback

Maintenance-only API changes; no live call site. Disposable and downstream migration callers must supply the new request digest and workload inventory. Revert before adoption; after live migration use coordinated database/application recovery, never an old writer on incompatible state.

Completion summary

Implementation ready for automated checks; live migration remains separately gated.

AGPL committer authorization

Base-owned workflow validates authenticated PR author; no credential sharing or spoofed attribution.

Submission checklist

  • The change is bounded to the stated work item and target repository.
  • Exact base and head refs are recorded and the branch is ready for review.
  • Verification and compatibility evidence are recorded above.
  • No plaintext secrets, credentials, machine state, or unrelated residue are included.
  • Plan, status, commits, and completion summary form a complete durable record.
  • Rollback or recovery steps are documented and executable.

@adrianwebb
adrianwebb merged commit 431c2a2 into staging Sep 9, 2026
4 of 5 checks passed
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