Skip to content

Consolidate the Install identity schema contract - #158

Merged
BrettKinny merged 5 commits into
mainfrom
agent/install-identity-schema
Aug 13, 2026
Merged

Consolidate the Install identity schema contract#158
BrettKinny merged 5 commits into
mainfrom
agent/install-identity-schema

Conversation

@BrettKinny

Copy link
Copy Markdown
Collaborator

Closes #106

What changed

  • defines the authoritative FORMAT=1 field order and semantic rules in a machine-readable schema
  • adds an ADR preserving standalone Bash and PowerShell bootstrap behavior
  • verifies all four readers and both writers against the schema in CI
  • drives 18 shared valid and adversarial fixtures through both Bash adapters and the native PowerShell test
  • rejects repeated path separators consistently across adapters

Why

The lifecycle adapters duplicated their Install identity contract. Existing CI checked PowerShell field lists but could not detect shared semantic drift; Bash accepted a non-normalized path form that PowerShell rejected.

Validation

  • complete executable repository shell suite
  • lifecycle install-state, ownership, release-identity, and static suites
  • Python compile and JSON parsing
  • git diff --check

Native PowerShell execution is intentionally left to the existing Windows CI job because pwsh is not installed on the development workstation.

@BrettKinny
BrettKinny marked this pull request as ready for review August 13, 2026 10:56
@BrettKinny
BrettKinny merged commit 2e09061 into main Aug 13, 2026
4 checks passed
@BrettKinny
BrettKinny deleted the agent/install-identity-schema branch August 13, 2026 16:40
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.

Consolidate the Install identity schema across lifecycle adapters

1 participant