Skip to content

P5 seam: readOrMintMachineRef's delegation prefix (O2, shared with O6) - #229

Merged
SSFSKIM merged 1 commit into
masterfrom
p5-o2-identity-prefix
Oct 27, 2026
Merged

SSFSKIM merged 1 commit into
masterfrom
p5-o2-identity-prefix

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 27, 2026

Copy link
Copy Markdown
Owner

A devcloud VM enrolled through a delegation mints its machine ref as <delegation id>_<22 base64url> (remote layer Decision Log 25; P5 Decision Logs 30 and 31). This adds an optional prefix to readOrMintMachineRef in src/shared/machine/identity-file.ts: a prefix not matching ^[0-9a-f]{32}$ is refused, and an existing file is never rewritten. The change is additive and lands alone so that P5 children O2 and O6 share one copy of the module (P5 Decision Logs 27, 30, 44).

Validation Evidence

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)

…32 lower-case hex digits, minting <prefix>_<22 base64url>; refused in any other form; ignored when the file exists)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
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