Skip to content

Stage identity-brokering-plane + pki-trust-anchor-plane topics - #226

Merged
brettheap merged 1 commit into
mainfrom
change/identity-pki-staging
Aug 21, 2026
Merged

brettheap merged 1 commit into
mainfrom
change/identity-pki-staging

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Executes the keycloak-identity-brokering brainstorm's exit clause with Brett's 2026-08-21 rulings (session decisions):

  • Realm topology ruled: single realm per environment + Keycloak Organizations for tenant AND served companies; Keycloak never mirrors the tenancy graph; isolation escalates by dedicated broker instance via per-client install, never realm-splitting.
  • Merge safety ruled: explicit account linking + admin-approved merge queue; never silent email-match auto-link.
  • Ownership split ruled (github-administration precedent): neutral identity-brokering + trust-anchor contracts in openxFactory; keycloak-administration + pki-administration workflows in OpsxFactory (sibling topic OpsxFactory:staging:identity-pki-administration); runtime in new xFactory-Keycloak-Install / xFactory-OpenXPKI-Install repos via repo-boundary-governance.
  • OpenXPKI seam ruled: image custody stays in Opensoft-Tenant; QA deployment topology moves to xFactory-OpenXPKI-Install; the active OpsxFactory add-openxpki-qa-image-pipeline Impact must be amended before ratification.

INDEX.md updated same-commit per the maintenance rule (33 rows / 33 sections, parity verified); brainstorm annotated staged + Organized header + Exit-executed section; all relative links verified.

🤖 Generated with Claude Code

Executes the keycloak-identity-brokering brainstorm's exit with Brett's
2026-08-21 rulings: single realm + Organizations (isolation escalates by
broker instance, never realm split), explicit linking + admin merge,
github-administration ownership split (neutral contracts here,
administration workflows in OpsxFactory, runtime in new
xFactory-Keycloak-Install / xFactory-OpenXPKI-Install repos), and the
OpenXPKI image-custody/deployment-topology seam with the active
OpsxFactory add-openxpki-qa-image-pipeline change.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings August 21, 2026 13:59

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR stages two new architecture topics—identity-brokering-plane and pki-trust-anchor-plane—capturing the 2026-08-21 session rulings as product-agnostic contracts plus ownership/runtime splits, and updates staging navigation so the topics are discoverable and traceable from their originating brainstorm.

Changes:

  • Added staged topic documents for identity brokering (Keycloak as realization, neutral persona/claims contract) and PKI trust anchors (neutral trust-anchor contract spanning Intune Cloud PKI + OpenXPKI).
  • Updated ideation/staging/INDEX.md to register the new staged topics (rows + detail sections).
  • Annotated the originating brainstorm (keycloak-identity-brokering) with “Organized” pointers and an “Exit executed” record linking to the staged successors.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
ideation/staging/pki-trust-anchor-plane/pki-trust-anchor-plane.md Introduces the staged “PKI Trust-Anchor Plane” topic with rulings, composition points, open questions, and planned exits.
ideation/staging/INDEX.md Registers the two new staged topics in the staging index table and adds their detail sections for navigation/provenance.
ideation/staging/identity-brokering-plane/identity-brokering-plane.md Introduces the staged “Identity Brokering Plane” topic with ruled realm topology, merge-safety constraints, and exit plan.
ideation/brainstorm/keycloak-identity-brokering.md Marks the brainstorm as organized into the staged topics and records the executed exit/rulings for historical traceability.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@brettheap
brettheap merged commit a1c694b into main Aug 21, 2026
1 check passed
@brettheap
brettheap deleted the change/identity-pki-staging branch August 21, 2026 14:11
brettheap pushed a commit that referenced this pull request Aug 21, 2026
…r it

main advanced to a1c694b (#226) while the gate was running, staging two topics
the family had never seen. Re-running the same enumeration there gives 31
findings over 326 documents instead of 29 over 324 -- both new topics are staged
after ratification and carry neither an idea-notes nor a conflicts heading, so
each is a REQUIRED nudge, which is task 2.2 working rather than a regression
here. Recorded with both shas so a later reader comparing counts is not left
guessing which corpus each number describes.

Co-Authored-By: Claude Fable 5 <[email protected]>
brettheap pushed a commit that referenced this pull request Aug 21, 2026
…r it

main advanced to a1c694b (#226) while the gate was running, staging two topics
the family had never seen. Re-running the same enumeration there gives 31
findings over 326 documents instead of 29 over 324 -- both new topics are staged
after ratification and carry neither an idea-notes nor a conflicts heading, so
each is a REQUIRED nudge, which is task 2.2 working rather than a regression
here. Recorded with both shas so a later reader comparing counts is not left
guessing which corpus each number describes.

Co-Authored-By: Claude Fable 5 <[email protected]>
brettheap added a commit that referenced this pull request Sep 5, 2026
…or joins the floor (67 -> 68), the first advance that lands with no red before it (#702)

* Re-pin the decision core at codexFactory #226: review-lane-floor-mirror joins the floor (67 -> 68), the first advance that lands with no red before it

STEP (2) of the two-repository act. codexFactory issue #203, ruled option
(c) by Brett Heap ("rule c, this lane authors it"). Brett Heap's word in
session 2026-09-05 ~20:0xZ, verbatim "land the companion archive when green,
then do the regeneration". The companion archive landed as openxFactory PR
#699 (merge b5eddaa) — the openxFactory half of archiving
`mirror-floor-addition-grace` itself, promoting
`openspec/specs/review-lane-floor-mirror/spec.md` under a floor that is an
exact enumeration. PR #699 landed GREEN under the grace: the required lane
held the surface `covered-pending` (`created_by_candidate`, tolerance 3) and
the advisory lane printed `pending_floor_extension` naming the path — the
first promotion in this programme's history that did not block the pull
request that caused it.

codexFactory PR #226 (MERGE COMMIT `ad15a8988490bf19c659254a92354987ec3a4028`,
merged 2026-09-05T21:52:00Z) then ran `generate_specs_floor_block.py --write`
at openxFactory `b5eddaa3` — PR #699's own merge commit, a commit reachable
from openxFactory `main` (`git merge-base --is-ancestor` holds) — closing the
deferral: `generated_at` / `--ref` move `f6724f04` -> `b5eddaa3`;
`entry_count` moves 59 -> 60; the floor total moves 67 -> 68. This commit is
the five-site advance that regeneration makes owed.

## Five sites, before -> after

| Site | Before (`67a6ffc9`) | After (`ad15a898`) |
|---|---|---|
| `contracts/review-lane-pin.yaml` `core_commit` | `67a6ffc932da44ebe1529d8cc25ab222b60a4ca1` | `ad15a8988490bf19c659254a92354987ec3a4028` |
| `.github/workflows/merge-master-approval.yml` `PINNED_CORE_COMMIT` | `67a6ffc9…` | `ad15a898…` |
| `.github/workflows/merge-master-approval.yml` core checkout `ref:` | `67a6ffc9…` | `ad15a898…` |
| `.github/workflows/pytest-suite.yml` core checkout `ref:` | `67a6ffc9…` | `ad15a898…` |
| `contracts/review-lane-floor-snapshot.yaml` (byte copy) | sha256 `18389a3d…3521a8`, 15402 bytes, blob `fdcd9f7e834a487d96cb87b8cc0c3ef5d6a4d771`, entry_count 67 | sha256 `b4dcf676…45bf241`, 15456 bytes, blob `3912c660649f0258f85fccbf14a1c1c4ce465296`, entry_count 68 |

Exactly ONE 40-hex commit-shaped token remains in `review-lane-pin.yaml`
(`core_commit`), verified with `\b[0-9a-f]{40}\b` — the sha256 digest is 64
hex characters and matches no 40-char word-bounded substring of itself.

## Witnesses

At codexFactory `ad15a898`,
`scripts/merge_master/openxfactory-review-authority-floor.yaml`:
sha256 `b4dcf676e388e7984da90a8e71b135cc06f2d740b34a41a86de663bc145bf241`,
15456 bytes, blob `3912c660649f0258f85fccbf14a1c1c4ce465296` — three-way
identity confirmed: `git show ad15a898:…floor.yaml | sha256sum` == the
vendored copy's `sha256` == `cmp` byte-for-byte against the vendored file on
disk == `git hash-object` on the vendored file matches the blob `git
rev-parse ad15a898:…floor.yaml` names.

**THE FLOOR GREW BY ONE AND IT IS THE SPEC promoted by #699.** `git diff
67a6ffc9 ad15a898 -- scripts/merge_master/openxfactory-review-authority-floor.yaml`
in the pinned core, read in full rather than summarized: the block's
`generated_at` / `--ref` header lines move `f6724f04` -> `b5eddaa3`,
`entry_count` moves 59 -> 60, and ONE entry line is added —
`openspec/specs/review-lane-floor-mirror/spec.md` — inserted in sorted order
among the other `openspec/specs/**` paths. The EIGHT hand-reasoned
chokepoints are untouched and nothing is removed, so no dead entry arrives
with it.

## No collision measured

openxFactory PR #687 (`change/repoint-pytest-suite-at-pin`), the lane noted as
a collision risk in the prior re-pin, is **MERGED** (`gh pr view 687
--json state` -> `MERGED`) and already part of `origin/main` before this
branch was cut, so its edits to `.github/workflows/pytest-suite.yml` are
already in this tree; this commit's only change to that file is the
codexFactory core checkout's `ref:`, a separate line from anything #687
touched. No other open pull request was found editing any of the four
touched files.

## Lockstep re-measured on xFactory main

xFactory's own two merge-master surfaces still pin codexFactory
`f4702f647c285012c15717043332f68f1edefc29` (the 2026-08-28 ceremony), read
from the local aggregation checkout without fetching or writing to it (never
touch `~/projects/xFactory`). At that commit,
`scripts/merge_master/openxfactory-review-authority-floor.yaml` still carries
exactly FOUR never-clearable paths, not the sixty-eight this pin now names —
the divergence this file's own comment history already records stands
unchanged by this advance, and is re-stated (SIXTY-SEVEN -> SIXTY-EIGHT) where
it is a live claim; the dated historical paragraphs describing each prior
advance are left untouched.

## Validated

- `pytest tests/review_lane_pin -q` (no core on disk): **73 passed, 2
  skipped, 22 subtests passed.**
- `PINNED_CORE_CHECKOUT=<codexFactory clone at ad15a898> pytest
  tests/review_lane_pin -q`: **75 passed, 43 subtests passed, no skips** —
  the freshness verifier and the vector replay both ran.
- `OPENSPEC_TELEMETRY=0 openspec validate --all --strict`: **95 passed, 0
  failed.**
- `python3 scripts/validate-sequenced-after.py . --ledger-diff`: **consistent
  with the corpus (174 rows), no row moves** — this re-pin is not an OpenSpec
  change and touches no ledger row.
- All four touched YAML files (`review-lane-pin.yaml`,
  `review-lane-floor-snapshot.yaml`, and the two workflow YAMLs) re-parse
  clean under `yaml.safe_load`.
- `git diff --stat` against `origin/main` is exactly the five sites, four
  files, no more.

## Frozen records untouched

Both governing packets are ARCHIVED: openxFactory
`openspec/changes/archive/2026-09-05-mirror-floor-addition-grace/` and
codexFactory `2026-09-05-add-floor-addition-grace/`. Neither `tasks.md` is
edited — they are frozen records, and this advance's own obligation is not a
box either packet declares (the second post-grace regeneration is the grace
mechanism operating as designed, not a packet task). Only the five pin sites
move.

Lane: openxfactory-2 (openXfactory-2)
Refs #675
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* Copilot round 1: the live counts read 68 and 60 everywhere the pin speaks in the present tense

Copilot thread PRRT_kwDOTAvnrs6fnUaW on `contracts/review-lane-pin.yaml:521`
(PR #702) found a genuine miss: the pinned_members `why:` for
`openxfactory-review-authority-floor.yaml` says "SIXTY-EIGHT never-clearable
paths as of this advance" two lines above, then still read "8 + 1 rather
than 67 equally-reasoned chokepoints" a few lines later — the SAME live
sentence describing the document's own self-description, left at the old
count. Fixed: 67 -> 68.

Swept the whole file for every other live-tense count claim
(`SIXTY-SEVEN|67-entry|\b67\b|FIFTY-NINE|\b59\b`) and classified each hit:

- Every `59`/`67` inside the dated "ADVANCED ... TIME" / "UNCHANGED IN KIND
  BY THE Nth ADVANCE" paragraphs (declared_from's comment history and the
  pinned_members `why:` narrative) is HISTORICAL — each paragraph is a frozen
  record of what was true at ITS OWN advance, and later paragraphs already
  supersede them without editing them in place, exactly as the eighth's
  paragraph was left alone when the ninth's was added. Left untouched.
- The `FIFTY-NINE` at "the same FIFTY-NINE the `67a6ffc9` advance carried,
  plus ONE" is a correct backward reference to the PRIOR pin's count, not a
  stale current-count claim. Left as written.
- `lockstep.reason`'s last paragraph, "UNCHANGED IN KIND BY THE NINTH
  ADVANCE ... this file now names `67a6ffc9`, carrying the SAME 67-entry
  floor as `e57643a7`", was the field's live endpoint before this advance and
  is now itself historical — same treatment as every earlier "now names"
  paragraph in that field once superseded. Left it exactly as it reads (it
  was true when the ninth advance made it true) and APPENDED a new paragraph,
  "THE GAP WIDENS AGAIN, THE TENTH ADVANCE, 2026-09-05", which is now the
  field's live endpoint: names `ad15a898`, a SIXTY-EIGHT-entry floor, ONE
  MORE than `67a6ffc9`'s sixty-seven (the added entry being
  `openspec/specs/review-lane-floor-mirror/spec.md`), and records that this
  advance — unlike the eighth and ninth — actually grows the floor, so the
  gap against xFactory's still-unmoved `f4702f64` (re-read from the local
  aggregation checkout without fetching or writing to it; both its surfaces
  still name `f4702f64` verbatim) widens again rather than holding.

Validated on this head: `\b[0-9a-f]{40}\b` still matches exactly ONE token
(`core_commit`); `pytest tests/review_lane_pin -q` (no core) 73 passed / 2
skipped / 22 subtests; the same with `PINNED_CORE_CHECKOUT` at codexFactory
`ad15a898`, 75 passed / 43 subtests, no skips; all four pin-site files
re-parse clean under `yaml.safe_load`; `git diff --stat` against the prior
commit on this branch touches only `contracts/review-lane-pin.yaml`.

Refs #675
Lane: openxfactory-2 (openXfactory-2)
Co-Authored-By: Claude Fable 5.1 <[email protected]>

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
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.

2 participants