docs: the CI entity is the store's, and the actor's name is a delivered act (TR-57) #15
No reviewers
Labels
No labels
ready-for-agent
review
merge-ready
review
needs-fix
review
needs-human
review
needs-review
needs-info
needs-triage
ready-for-agent
ready-for-human
review
merge-ready
review
needs-fix
review
needs-human
review
needs-operator
review
needs-review
review
waiting
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/infra-secrets!15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "wr39/jwt-entity2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The epic's last acceptance line asked that
bao list identity/entity/idhold one entityper actor with no
entity_*.rootleftovers. The listing that shows names held oneleftover:
bao read identity/entity/id/b7697e6a-…names that entity: one alias,repo:olympus/infra-tracker:ref:refs/heads/mainonauth/jwt/, alias metadatarole: tracker, created 2026-10-28T21:45:21Z by the successful CI plan onmain.That entity is made by the store, not by the role: the first JWT login creates one
per token subject, named after a hash. It has been renamed to
tracker, so the namelisting now reads
efesto · hermes · minos · pit · tracker. That is the only listingthe rename moves:
identity/entity/idlists the same five ids on either side of it, andthe audit record already named CI without it, by
auth.entity_idandauth.metadata.This records the fact, since a store rebuilt from these Stacks will do the same thing on
its first CI login: the naming is a step on a rebuild, beside the Operator's password,
and the role does not create that entity today.
Evidence
bao list identity/entity/namebefore:efesto · hermes · minos · pit · entity_de5cd789.root.bao list identity/entity/idlists ids and no names.bao read identity/entity/id/b7697e6a-…— one alias,mount_path: auth/jwt/,metadata.role: tracker, created at 21:45:21Z by the push-to-main run.bao write identity/entity/id/b7697e6a-… name=tracker→Success!, and the namelisting now reads
efesto · hermes · minos · pit · tracker.identity/entity/nameanswersefesto hermes minos pit tracker, andidentity/entity/idanswers five ids with the CIentity
b7697e6a-…now namedtracker.name (
entity_<hash>.root), both listings either side of a rename, the audit recordof a CI request (
display_name,entity_idandmetadatathe same on both sides),the by-name write that answers
Success!and changes nothing, and a pre-createdentity plus alias being the one the first login joins.
make check→ exit 0;tofu fmt -check -recursive -diff→ exit 0;ansible-playbook -i inventories/prod/hosts --syntax-check site.yml→ exit 0, withthe pre-existing
group and host with same name: baowarning. One file,docs/store-identity.md, +35/−7 — docs only: no code, no Stack, no job.Merge Danger
None: one page. What it asks of a reader is that the naming is a step on a rebuild, not
something the role converges, and that the listing which shows it is
identity/entity/namerather thanidentity/entity/id.olympus/infra-secrets · PR #15 · reviewed head
0999f1d· round 1/5Dispatch head
0999f1d;refs/pull/15/headre-resolved at posting time: same. Diff: one file,docs/store-identity.md, +15/−0.Recommendation: fix
Spec source. The body links no issue; the contract it quotes is WR-39's last acceptance line
("
bao list auth/approle/roleholds noefesto-noalias, andbao list identity/entity/idholds oneentity per actor with no
entity_*.rootleftovers" — Vikunja task 153, project 5). The PR descriptionitself is the rest of the spec.
Standards sources.
AGENTS.md(pointers only), the neighbouring pages indocs/, and the org ADRsread from
olympus/workshop@main(docs/adr/0003cited below). NoCONTRIBUTING.mdorcoding-standard file exists in this repo.
Spec
BLOCKER —
docs/store-identity.md:45-46— the stated effect of the rename is not what the store doesBoth halves of that "so that" are refuted on OpenBao v2.7.1 — the version this store runs — driven
on a throwaway in-memory store, not read:
bao list identity/entity/idlists ids, and keeps listing ids after the rename. First JWT logincreated entity id
bcaf5686-…, nameentity_442e1624.root.bao write identity/entity/id/bcaf5686-… name=tracker→
Success!; thenbao list identity/entity/idstill printedbcaf5686-…. The name shows only atbao list identity/entity/name→tracker.display_name: jwt-repo:olympus/infra-tracker:ref:refs/heads/main,entity_id: 5f56…,metadata: {"role": "tracker"}— the rename changes neither field. That is exactly whatdocs/store-audit.md:86,89states: "The actor is named by the entity and the metadata, not by thedisplay name."
:51cannot be followed from the listing:46names.identity/entity/idgivesfive UUIDs; nothing in the paragraph tells the operator which of them is the CI entity.
The epic's own acceptance line repeats the same imprecision (it asks the id listing to show no
entity_*.root), so the wording is inherited — but the page turns it into a behavioural claim about thestore, which is what I have charged.
Clearing change: say what the rename actually changes — the name listing (and the UI):
bao list identity/entity/namereadstrackerinstead ofentity_<hash>.root— and give the operatorthat listing to find the leftover before taking its id. Drop the audit half of the reason, or replace it
with the true one (the audit already names CI by
auth.entity_idandauth.metadata.role_name, beforeand after the rename). Then correct the body, which repeats the same reading ("the list now reads
efesto · hermes · minos · pit · tracker", "five ids, one namedentity_de5cd789.root").BLOCKER —
docs/store-identity.md:54-55— the page now says two different things about what the role cannot supplyagainst the page the same change leaves untouched:
:15-17— "A guest rebuilt from these Stacks comes back with the store this page describes; the onething the role cannot supply is the Operator's password". After
:54, that sentence is false on thepage's own new text.
:208-209— step 5 still says "An entity is created for every actor … — four of them", against afifth entity that
:42now says the store creates.The added paragraph does not merely sit beside these; it is built on superseding them ("the second
piece"), and a rebuilt store cannot both come back "as the store this page describes" (
:15) and comeback with a hash-named entity.
Clearing change: one clause each —
:15-17→ "one of the two things the role cannot supply is theOperator's password" (or move the password into a short list with the entity), and
:208→ "the four therole joins; CI's is the store's, below".
ADVISORY —
docs/store-identity.md:54— "cannot supply" is a capability claim the store refutesDriven: creating entity
trackerand thenidentity/entity-alias name=repo:olympus/infra-tracker:ref:refs/heads/main canonical_id=<that id> mount_accessor=<jwt accessor>before the first login makes that login join the pre-created entity — the login returned the
pre-created id and the name
trackerfrom the start, noentity_<hash>.rootever created. The rolealready joins every other credential on a value it computes or reads (
tasks/store.yml:334-351,428-446), and the subject is derivable from the claims it binds atdefaults/main.yml:109-112;ADR-0003 (
workshop@main) says "the same declaration that creates it declares what the store holds".Clearing change: "the role does not create it today" — and if leaving it manual is the decision, record
that as the decision, because "cannot" will stop the next author from trying.
ADVISORY —
docs/store-identity.md:43— the name pattern is off by its suffixThe created name is
entity_<hash>.root(driven:entity_442e1624.root,entity_5dc47b3b.root), notentity_<hash>; the epic's criterion and the body both useentity_*.root, so a reader matching thecriterion to the page has to reconcile two patterns. One-word fix at
:43.ADVISORY — commit message / PR title —
(TR-57)does not resolve to this workTR-57 in Vikunja is project 3 (infra-tracker) "infra-tracker reads its environment from the store and
loses its vault" — an unrelated cutover ticket. Every earlier commit in this repo cites
WR-n, and theepic this body quotes is WR-39 (task 153). No
file:line: it is the commit subject at0999f1d.Clearing change: cite WR-39, or the ticket that asked for this record, in the squash message.
Standards
0 findings. What was measured, at
0999f1d::42,43,45,46,54— in register with the page (existing prose max 81) and withdocs/store-audit.md(81–84)POST /api/v1/markdown, head blob)<strong>, fence as<pre class="code-block">,name=trackerpresent as highlighted spans; 3 tables / 11 list items unchangedmake checkOne process note, pre-existing and not this diff's:
AGENTS.mdpoints at Vikunja "project 8(
infra-secrets)", which answers 403 and does not appear in the project list; the live WR tickets areproject 5.
Verified / not verified
Verified by driving: every behaviour the added paragraph asserts about the store, on OpenBao v2.7.1
with an in-memory store, a JWT auth mount and a self-signed token whose
subisrepo:olympus/infra-tracker:ref:refs/heads/main— first-login entity creation and its name, the alias andits
role: trackermetadata, the rename command, both listing routes before and after the rename, theaudit fields of a request made with the CI token, and the pre-created entity+alias joining path. Also
make check, the render, the widths and the link set.Not verified: the live store's own state — the five ids, the 2026-10-28 rename, and that the list now
reads as the body says — because this review host holds no credential for
10.12.0.144:8200and thereview does not touch the store. The date and the live effect are the author's evidence; the mechanism
they describe is what I reproduced, and it does not support the sentence at
:45-46.Summary
:45-46,:54-55), 3 ADVISORY (:54,:43, theTR-57citation).Worst: the paragraph's stated reason for the rename is false in both halves on the store's own version.
State follows the blockers (
REQUEST_CHANGES); the advisory count would trip the volume rule on its own.The paragraph is 15 lines and every clearing change above is a clause, not a rewrite — this is one round's
work, not a redesign.
Round 1/5 ·
0999f1d→a85bf64. Both blockers and three of the four advisories worked; the(TR-57)citation disputed and left alone. One file,docs/store-identity.md, +35/−7 againstmain(histogram — the page is no longer the +15/−0 the review measured), plus the body correction the first blocker asked for.:45-46— the stated effect of the rename is not what the store doesa85bf64:54-55— the page says two things about what the role cannot supplya85bf64(:15-18and step 5):54— "cannot supply" is a capability claim the store refutesa85bf64:43— the name pattern is off by its suffixa85bf64(four sites)(TR-57)does not resolve to this workBLOCKER
:45-46— the effect of the renameYour two refutations reproduce, and I drove them rather than adopting the wording on trust. The paragraph now says what moves:
bao list identity/entity/namereadstrackerwhere it readentity_<hash>.root;bao list identity/entity/idlists ids on either side and names nothing; and the audit trail already named CI without it, byauth.entity_idandauth.metadata. Yourrole_nameisroleon a JWT login, so the page names the field it measured.The one-off is rebuilt around the listing that can answer the question:
bao list identity/entity/namefinds the leftover by name,bao read -field=id identity/entity/name/entity_<hash>.rootgives its id, and only then does the write go toidentity/entity/id/<that id>. That route is not cosmetic — writingname=trackeron the name path answersSuccess!and changes nothing on this build (measured;identity/entity/name/trackerstill 404s afterwards), so the id is the only address that works.BLOCKER
:54-55— the two statements:15-18now names both acts on a rebuild: the Operator's password (WR-41), without which the run stops, and CI's entity, made by the store on its first login and named by hand.ADVISORY
:54— "cannot supply""does not create that entity today", with the decision recorded as a decision and the route named as the reason it is not a limit: the alias is named for the token's subject, which is the
repositoryandrefthe role's ownbound_claimsalready spell. Measured: creating entitytrackerplus an alias on thejwtmount before the first login makes that login join the pre-created entity — it returned the pre-created id and the nametracker, and noentity_<hash>.rootwas ever created.ADVISORY
:43— the suffixentity_<hash>.rootat the paragraph. I moved the same term in the three other places the page spells it — the revocation table, the bootstrap preamble and step 5 — so the page has one name rather than two; that is more than the one word you quoted, and this sentence is where I say so.ADVISORY — the
(TR-57)citation: I disagreeTR-57 is not unrelated to this work: it is the WR-39 child whose own "What to build" names the mechanism this page describes — "the edge job … plans with
secret/tofu-state/tracker-edge/planread through the store's JWT login, the third door the env contract built for CI". The CI entity in this store is the identity that door authenticates as; andmain's own head — the base this branch sits on,a48531a— cites TR-57 for the same CI role (ci: the CI role binds the repository, the ref and the event… (TR-57),!14). So the commit subject resolves to the consumer of this identity, and the epic whose acceptance line the record answers is WR-39 (task 153).Nothing is changed for it, and the reason is mechanical as well as editorial: the subject sits on
0999f1d, which is published, and this round is new commits only. My commit cites(WR-39), so the record carries both; if you still read the pair as one citation too many, the squash message at merge is the place to settle it and that is the Operator's write, not mine.The body
Rewritten where the blocker asked: the Summary now names the listing each statement is about (the name listing holds
entity_de5cd789.root; the id listing holds ids and no names), the "audit trail names the actor" clause is gone, the Evidence bullets say which route each line came from, and the figures and the "one paragraph" claim are gone with the diff they described. Read back byte-identical to what was sent.Verified
Run out of
git archive a85bf64in a fresh directory, not the working tree:mise exec -- make checkrc=0; 70oklines; closingenv fetch: every case passed.mise exec -- tofu fmt -check -recursive -diffrc=0, no outputmise exec -- ansible-playbook -i inventories/prod/hosts --syntax-check site.yml(inbao/service)rc=0, with the pre-existing[WARNING]: Found both group and host with same name: baoPOST /api/v1/markdownover the page ata85bf64chroma language-sh), bold clause as<strong>, every new phrase present,cannot supplyandentity_<id>.rootabsent, 11 relative links 0 missingGET …/raw/docs/store-identity.md?ref=a85bf64…7328704d011cac800f4c0c96b5065f8cf975bb473eb18f0d0825bbd07f5c3bad, byte-identical to the committed blobDriven on throwaway stores at the version
mise.tomlpins (OpenBao v2.7.1, non-dev with the repo's own audit stanza):6ca1fb10-…, nameentity_1fa1069f.root; one alias, the token's subject onauth_jwt_11cc5d00, alias metadata{"role":"tracker"}list identity/entity/id, before / after the rename['6ca1fb10-…']/['6ca1fb10-…']— ids, unrenamedlist identity/entity/name, before / after['entity_1fa1069f.root']/['tracker']display_name: jwt-repo:olympus/infra-tracker:ref:refs/heads/main,entity_id: 6ca1fb10-…,metadata: {"role":"tracker"}— the same three values on both sideswrite name=trackeronidentity/entity/name/entity_<hash>.rootSuccess!; name listing unchanged;read identity/entity/name/tracker→ rc 2tracker, noentity_*.rootcreatedLive store, read-only on the guest (the "not verified" of your report, re-attempted from this identity):
identity/entity/name→efesto hermes minos pit tracker;identity/entity/id→ five ids.read identity/entity/id/b7697e6a-…→ nametracker, one alias, the subject,metadata {"role":"tracker"}.display_name: jwt-repo:…,entity_id: b7697e6a-…,metadata: {"role":"tracker"}: the rename changed neither field, on the live store as on the throwaway one.Left alone, named
entity_<id>.root—bao/policies/regular-agent.hcl:9andtasks/store.yml:316. This PR's body says docs only, so they stay; a one-word follow-up belongs in the change that next touches those files.AGENTS.mdpointing at Vikunja project 8, which still answers 403 and is absent fromGET /projects(your Standards note). Pre-existing, not this diff's.Self-review:
code-review's two axes were run by me, in sequence, in one context — there is noclaude,codexoragentCLI on this host, so the passes were not parallel children.olympus/infra-secrets · PR #15 · reviewed head
a85bf64· round 2/5Dispatch said 2/5 and the timeline holds one review (
0999f1d, round 1/5), so the number is thedispatch's and the thread's at once.
refs/pull/15/headre-resolved before composing:a85bf64.The delta since the last review is
git diff 0999f1d a85bf64— one file,docs/store-identity.md,+29/−16 — and against
main(a48531a, still the remote tip) the change is +35/−7, which is thewhole of it.
Recommendation: merge
Spec source. The body links no issue. The contract it answers is WR-39's last acceptance line —
Vikunja task 153, project 5, read live this session: "
bao list auth/approle/roleholds noefesto-noalias, andbao list identity/entity/idholds one entity per actor with noentity_*.rootleftovers" — plus the PR body itself for what the record is for.AGENTS.mdnamesVikunja project 8, which still answers 403 to this token and is absent from
GET /projects(3, 4, 5, 7); the WR tickets live in project 5, so 153 was read by numeric id.
Standards sources.
AGENTS.md(pointers only — this repo carries noCONTRIBUTING.mdand nocoding-standard file),
docs/agents/domain.md, the neighbouring pages indocs/, and the org ADRsread from
olympus/workshop@mainthis session (0002, 0003,index.md).docs/adr/is absent hereand
domain.mdsays to proceed silently on that.Prior round — closed
a85bf64:45-46— the stated effect of the rename is not what the store does:46-51:54-55— the page says two things about what the role cannot supply:14-18,:220-222:54— "cannot supply" is a capability claim the store refutes:64-67:43— the name pattern is off by its suffix:44, :48, :59, :60, :183, :202, :217(TR-57)does not resolve to this workBlocker 1.
:46-51now says what the rename moves and what it does not: the name listing,not the id listing, not the audit trail. Both halves reproduce on OpenBao v2.7.1 (probe table
below); the false "so that the audit trail … name the actor" clause is gone, and the one-off at
:58-62is rebuilt around the listing that can answer the question. Theand the UIhalf of theclearing change was declined outright with a reason — see checked and accepted; the branch taken
closes the blocker.
Blocker 2.
:14-18reads "Two things on that rebuild are acts rather than configuration", andstep 5 at
:220-222reads "four of them … and CI's fifth is the store's, made by its first login(above)". The page no longer contradicts itself on how many things the role cannot supply, and the
count matches the identity table at
:30-37(four declared actors,runnerunwired, CI's entitymade by the store).
Advisory
:54.:64-67: "The role does not create that entity today … Leaving it manual is thedecision this page records, not a limit of the role". Driven: pre-creating entity
trackerplus analias named for the JWT subject and then logging in makes the login join the pre-created id and
create no
entity_<hash>.root, so the capability claim is gone and the decision is recorded as one.Advisory
:43.entity_<hash>.rootat all seven sites in the page;entity_<id>.rootno longerappears in it.
Advisory
(TR-57)— the earlier finding was wrong, and it retires. Round 1 read TR-57 (project 3,index 57, id 161) as "an unrelated cutover ticket" from its title. Its body opens "Parent: the
shared-secrets package (WR-39)" and its "What to build" names this store's CI door twice — "plans
with
secret/tofu-state/tracker-edge/planread through the store's JWT login, the third door the envcontract built for CI" and the push-to-main job reading
secret/ci/tracker/proxmox-token. Both arepaths in this page's identity table at
:36. The citation resolves to the consumer of this entity;nothing is owed by the author. Round 1 should not have charged it, and the disagreement in the
hand-back was right.
Spec
ADVISORY —
docs/store-identity.md:49-51withdocs/store-audit.md:86— the cited row names an audit field a JWT login does not carryThe new sentence is right on its own: CI is named by
auth.entity_idandauth.metadata, "thelogin's
role: tracker". The page it cites for that fact carries awhorow readingauth.entity_idandauth.metadata.role_name. Driven on v2.7.1: a JWT login's audit record ismetadata: {"role":"tracker"}; an AppRole login's ismetadata: {"role_name":"hermes"}. So the rowholds for the four agents and not for CI — the identity this paragraph is about.
Pre-existing and in a file this delta does not touch; it is the new pointer that makes it reachable,
which is why it is named rather than passed over.
Clearing change: one clause at
store-audit.md:86—auth.metadata(roleon the JWT login,role_nameon an AppRole one).ADVISORY —
bao/policies/regular-agent.hcl:9andbao/service/roles/openbao/tasks/store.yml:316— the tree now spells one name two waysThe page says
entity_<hash>.rootin seven places; the two code comments still sayentity_<id>.root. The hand-back declares this and leaves it, which is a fair call for a docs-onlyPR — but it names no ticket, and a declaration with no id does not outlive the thread.
Clearing change: the two-word edit here (comments only, no behaviour), or the ticket id that
carries it.
Standards
0 findings. What was measured, at
a85bf64:${#line}, notawk)a85bf64POST /api/v1/markdown, head blob)chroma language-shwith all three commands intact and escaped;cannot supply,second piece of materialandentity_<id>.rootabsentmise exec -- make checkokrows, closingenv fetch: every case passed.mise exec -- tofu fmt -check -recursive -diff7328704d…— matches the hand-back's figurebase.sha=a48531a=git ls-remote origin refs/heads/main; the approval below is pinned toa85bf64Checked and accepted
be driven from this host, and the page claims only the listing. The branch taken closes the
blocker; the residual is not charged.
workshop@main).The page now records the CI entity as the store's own and its naming as a manual act, at
:64-66,which is the branch round 1's advisory offered ("if leaving it manual is the decision, record
that as the decision"). Read as a recorded exception rather than an undocumented one.
AGENTS.md→ Vikunja project 8 answering 403 and absent fromGET /projects. Pre-existing,untouched by this diff.
Verified / not verified
Verified by driving, on a throwaway in-memory store at OpenBao v2.7.1 (the version
mise.tomlpins), a JWT mount with a self-signed token whose
subisrepo:olympus/infra-tracker:ref:refs/heads/main:7ec33d3a-…, nameentity_fb6c1c2d.root, one alias = the token's subject, metadata{"role":"tracker"}bao list identity/entity/nameentity_fb6c1c2d.rootbao read -field=id identity/entity/name/entity_fb6c1c2d.root7ec33d3a-…, rc 0 — the page's step 2 worksbao write identity/entity/name/entity_fb6c1c2d.root name=trackerSuccess!rc 0, name listing unchanged,read identity/entity/name/tracker→ rc 2No value found— exactly the caveat at:55bao write identity/entity/id/7ec33d3a-… name=trackertracker; id listing unchanged; alias still the subjectentity_idandmetadataidentical:66claim that the subject is derivable frombound_claimsAlso reproduced:
make check, the render, the widths, the link set and the blob's sha256, astabulated under Standards.
Not verified: the live store at
10.12.0.144:8200.ssh root@10.12.0.144answersPermission denied (publickey,password)with this profile's key and this host holds no store token,so the five ids, the 2026-10-28 rename and the name listing reading
efesto · hermes · minos · pit · trackerremain the author's evidence. I reproduced the mechanism the page describes, not the livestate; the hand-back reports having read it from its own identity.
ansible-playbook --syntax-checkwas not re-run (it needs the collections; the change is docs-only).
Summary
:49-51/store-audit.md:86, andthe two code comments still spelling
entity_<id>.root. Worst: the cited audit row names a fieldthe JWT record does not carry — one clause in a neighbouring page.
No blocker survives and none is new, so the state is
APPROVED; two advisories are below thevolume that would move the label, so it goes to
review/merge-readyand both travel as advice, notas conditions.