Repository navigation
Extend roster admission_surface vocabulary: admit the device (node-inventory) surface - #220
Conversation
…o roster vocabulary Extends the client-identity-roster closed admission_surface vocabulary to admit the device (node-inventory) read surface, through the capability's own extension route, unblocking OpsxFactory's node-inventory reader enrollment. Authoring only: proposal + design + spec delta + tasks. The schema/bundle realization waits for Brett's ratification. Co-Authored-By: Claude Opus 4.8 <[email protected]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
There was a problem hiding this comment.
Pull request overview
Authors a new OpenSpec change (add-roster-device-admission-surface) to extend the promoted client-identity-roster closed admission_surface vocabulary by admitting the device surface (node-inventory read), including proposal rationale, design rulings, spec delta, and post-ratification realization tasks. This is explicitly authoring-only (no schema/validator/examples/bundle edits in this PR).
Changes:
- Registers the new active change in the repo-level
README.mdOpenSpec Records list. - Adds a complete change packet under
openspec/changes/add-roster-device-admission-surface/(proposal, design, tasks, delta spec,.openspec.yaml). - Introduces a delta spec that restates the existing requirement verbatim and adds one new scenario for admitting the
devicesurface.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Adds the new change to the “Active changes” list with a summary and link. |
| openspec/changes/add-roster-device-admission-surface/tasks.md | Defines post-ratification realization steps (schema vocabulary admission, validator text sync, examples, bundle bump, validation). |
| openspec/changes/add-roster-device-admission-surface/specs/client-identity-roster/spec.md | Delta spec: adds the new “device surface is admitted” scenario under the modified requirement. |
| openspec/changes/add-roster-device-admission-surface/proposal.md | Proposal describing motivation, scope, and intended downstream realization steps. |
| openspec/changes/add-roster-device-admission-surface/design.md | Design rulings for token naming (device), surface cardinality, admission/scoping prose, and versioning implications. |
| openspec/changes/add-roster-device-admission-surface/.openspec.yaml | Declares the change packet metadata and origin provenance. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| - [ ] 2.1 The canonical validator DERIVES the closed vocabulary from the | ||
| schema (`Vocabularies.admission_surface = _consts(defs.get("admission_surface"))` | ||
| in `scripts/validate-client-identity-roster.py`), so NO vocab-constant | ||
| edit is needed — `device` becomes admissible automatically once §1 lands. |
| example (that is post-ratification realization work, tasks §1–§5). No code, no | ||
| bundle bump, and no merge land with this proposal. |
| approved_by: pending Brett ratification | ||
| approved_on: null |
…aces (adversarial review) Co-Authored-By: Claude Opus 4.8 <[email protected]>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.
Suppressed comments (2)
openspec/changes/add-roster-device-admission-surface/.openspec.yaml:22
origin.kind: ad_hocrequires non-emptyapproved_byandapproved_on. Withapproved_on: null, strict verification fails (seescripts/proposal-support.pychecks for required ad-hoc origin fields), and the doc-health origin validator applies the same rule. Use a non-null placeholder or the actual approval date so tooling doesn’t treat this packet as invalid YAML metadata.
approved_by: pending Brett ratification
approved_on: null
README.md:289
- This README entry says the three provider areas “ride the entry as declared provider-forced breadth”, but the accompanying design/tasks for this change state the opposite: for the
devicesurface the governed unit is tenant-wide, so the provider areas must be captured only in thedevicemember’s description prose (nodeclared_excess/spanned_surfaces). The README blurb should align with that to avoid sending implementers toward a schema-invalid representation.
roster's Decision-3 motivating example). ONE surface, not three; the three
provider areas ride the entry as declared provider-forced breadth.
… admitted as one tenant-wide read surface
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 7 out of 7 changed files in this pull request and generated no new comments.
Suppressed comments (5)
README.md:294
- This entry says the schema/bundle edit “waits for Brett’s ratification”, but this PR also adds a ratification record (
openspec/changes/add-roster-device-admission-surface/review/ratification-2026-08-19.md) and marks the proposal asStatus: ratified. Update the README to reflect that ratification has happened and that realization is simply pending implementation.
bundle contract-v1.34 → contract-v1.35 with a digest refresh. Proposed on the
node-inventory realization evidence per the reader-grant clarify decision Q4;
the schema/bundle edit waits for Brett's ratification.
`target_release: implementation_pending`.
openspec/changes/add-roster-device-admission-surface/.openspec.yaml:22
.openspec.yamldeclares anad_hocorigin, butapproved_onisnullandapproved_byis “pending …”. Repo tooling treatsreason,approved_by, andapproved_onas required/non-empty for ad-hoc origins; leaving these unset will fail doc-health/proposal-origin validation. Also, thereasonline still says ratification is pending even though the change is ratified in this PR.
route. Realization (schema/bundle edit) waits for Brett's ratification.
approved_by: pending Brett ratification
approved_on: null
README.md:289
- This sentence implies the Entra/Intune/Windows 365 areas are declared as provider-forced breadth on the roster entry, but the change’s own design/ratification text says they are not modeled via structured breadth fields (
declared_excess/spanned_surfaces) and are only described in the admitteddevicesurface prose. Reword to avoid suggesting a structured breadth declaration.
This issue also appears on line 291 of the same file.
provider areas ride the entry as declared provider-forced breadth.
openspec/changes/add-roster-device-admission-surface/review/ratification-2026-08-19.md:3
- Other
openspec/changes/**/review/*.mdrecords useStatus: record(e.g.openspec/changes/archive/2026-08-10-split-ideation-book-per-repo/review/decision-review-2026-08-10.md:3). This file is a ratification record and should follow the same status taxonomy rather thanStatus: ratified.
Status: ratified
openspec/changes/add-roster-device-admission-surface/proposal.md:18
- In this repo, proposal lifecycle fields like
Status:andRatified:are consistently kept in the YAML front matter (see e.g.openspec/changes/align-status-reader-to-real-lines/proposal.md:1-6). Here,Status: ratified/Ratified:are placed after the markdown heading, which makes this proposal an outlier and risks being missed by any front-matter-only tooling. Move these fields into the front matter and keep the body starting atProposed:.
---
# Proposal: add-roster-device-admission-surface
Status: ratified
Ratified: 2026-08-19 — record: `review/ratification-2026-08-19.md` (Brett;
… member + example + bundle v1.35 Co-Authored-By: Claude Opus 4.8 <[email protected]>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 14 out of 14 changed files in this pull request and generated no new comments.
Suppressed comments (2)
openspec/changes/add-roster-device-admission-surface/.openspec.yaml:22
- The change is ratified (see review/ratification-2026-08-19.md) and this PR includes the schema/bundle realization, but the .openspec.yaml origin metadata still says approval is pending and the reason says realization waits for ratification. This makes the change record internally inconsistent.
route. Realization (schema/bundle edit) waits for Brett's ratification.
approved_by: pending Brett ratification
approved_on: null
README.md:293
- This entry still says the schema/bundle edit waits for ratification and describes the provider areas as "declared provider-forced breadth", but the change is already ratified and this PR includes the schema + contract-v1.35 realization. The README should match the change’s ratified status and the one-surface/no-structured-breadth framing.
provider areas ride the entry as declared provider-forced breadth.
Additive — no `contract_schema_version` bump; the realization bumps the
bundle contract-v1.34 → contract-v1.35 with a digest refresh. Proposed on the
node-inventory realization evidence per the reader-grant clarify decision Q4;
the schema/bundle edit waits for Brett's ratification.
The change was ratified 2026-08-19 and realized the same day, but its own record still read as though the work were ahead of it. This slice closes the archive gate and makes the record say what happened. REALIZATION, enumerated rather than inherited. One pull request, not a chain: #220, merged 2026-08-19T20:42:27Z as `78f8e01`. It passes the files-touched test on both halves — it edits all six files of the change's own folder AND every realization surface tasks §1-§4 name. It was SQUASH-merged against this repository's rebase habit, so its four branch commits (`06d6875`, `6b158d9`, `52622d3`, `f69f61e`) are reachable on main only through `78f8e01`, and are recorded that way so nobody later cites a sha that main does not carry. The only other pull request touching the change is #241, the README records sweep, which filled the origin's absent `approved_on` — bookkeeping, and named as such rather than counted as realization. Every task's evidence was read out of the tree at the archive tip: the `device` `oneOf` member at schema line 122, the resliced extension-route prose, the validator's one-line refusal-string sync over a vocabulary it still DERIVES from the schema, the packaged example, the manifest hash that still matches the file across the two bundle cuts since, and `contract-v1.35 - 2026-08-19` with its digest inventory. BANNER AND FRONT MATTER REWRITTEN, which is what #241 explicitly deferred here. `target_release` was a bare `implementation_pending`, whose bare token means realization is owed; it is now `implemented` with the discharge named. The banner's "the schema/bundle realization runs after ratification; no schema, bundle bump, or merge landed with the proposal itself" was true of the proposal commit and false of an archived record, so it was replaced rather than carried through — the precedent `refine-demote-round-trip-mechanics` and `align-demote-to-round-trip-rule` set for the same reason. The ratified `What Changes` and `Impact` bodies were deliberately NOT rewritten: they are the ratified baseline, and tasks §7.5 says so. BARE CLI, on the checked predicate. This change owns no `supporting-docs/`, so `document-lifecycle`'s retention requirement — scoped to a change WITH supporting documents — has nothing to bind, and the archive used the bare `openspec archive`, matching `refine-demote-round-trip-mechanics` rather than `add-staged-topic-outline-template`. Origin retention was verified against pre-archive bytes: `.openspec.yaml` hashes `76cb6f58...` before and after. The archive folder is dated 2026-08-22 because the tool stamps UTC and the act fell just after midnight there; recorded in the record and the README row so it is not later read as backdating. README row moved from Active to Archived in date order with its link re-pointed and its rulings kept. One falsehood corrected on the move: the row claimed the three provider areas ride the entry as declared provider-forced breadth, which is precisely the framing adversarial finding F1 rejected before ratification. Gates, exit codes read directly and never through a pipe: `openspec validate --all --strict` 65/65 exit 0, down exactly one from 66; `pytest tests/ideation-dashboard` 3853 passed / 14 skipped exit 0; `pytest tests/doc-health` in this worktree shows only the four known `.git`-segment location artifacts, and is fully green from a clean path; `proposal-support.py verify` ok on the archived shape; `validate-contract-release.py verify-commit 78f8e01` pass; the roster validator self-test PASS from a clean path. The promoted delta was verified requirement by requirement: one MODIFIED requirement, the capability's count unchanged at 13, the device scenario landed third, and the promoted body byte-identical to the delta but for the blank line the file needs before the next requirement. Co-Authored-By: Claude Fable 5 <[email protected]>
What
Authors the OpenSpec change add-roster-device-admission-surface, which extends the promoted
client-identity-rosterclosedadmission_surfacevocabulary to admit the singledevice(node-inventory) read surface — through the capability's own extension route ("the closed surface vocabulary SHALL be extended only by the change that governs a new surface"; node-inventory is that surface). This unblocks OpsxFactory's enrollment of its ratifiedmicrosoft_managed_node_inventory_readeridentity.Authoring only — proposal + design + spec delta + tasks. No schema edit, no bundle bump, no code, no merge. The realization (tasks §1–§5) waits for Brett's ratification.
The four architect rulings (in design.md)
device(const), matching the realized enum fact and the roster's admission-act naming convention. Rejected the governance-prose spellingsnode-inventory/managed-node-inventory.Device.Read.All+DeviceManagementManagedDevices.Read.All+CloudPC.Read.Allon one identity; tenant-wide read,exact_effective_scopes, no narrower selector; read-only.oneOfconst member is back-compatible, so nocontract_schema_versionbump; the realization bumps the bundle contract-v1.34 → contract-v1.35 with a digest refresh. Confirmed against the schema's own "Growth takes acontract_schema_versionbump" comment (that governs object-shape/key-space growth, not vocabulary-member admission, which the EXTENSION ROUTE text governs).Spec delta
MODIFIED the requirement "Identities are enumerated by admission surface, not by product name" — restated VERBATIM (heading + full body + both existing scenarios) with ONE new scenario added: "The device (node-inventory) surface is admitted". Verified by diff that only the new scenario is added. No other promoted requirement changes.
Validation
OPENSPEC_TELEMETRY=0 openspec validate add-roster-device-admission-surface --strictand--all --strictboth green (64 passed, 0 failed).Downstream (not in scope)
OpsxFactory's
deviceroster entry and node-inventory §6 (which unblockadd-managed-node-inventorytask 5.x) are downstream consumers authored under OpsxFactory governance — not part of this change.🤖 Generated with Claude Code