You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BA-W01 L7: enforcement on history, media, exports, summaries, jobs #11756
Route history, media fetch, exports, reports and background jobs through the evaluator with the initiating principal; identical denial shape for absent and forbidden. Ledger BA-086, BA-088.
Part of BA-W01 (#9365). Contract: doc/2026-11-13T07-28-00Z_design_bedside-and-away/ba-w01-identity-authorization-contract.md (PR #11749, section 10). Depends on: L4. Gate: none.
Slice verdict (lane xaltha, task 22988, 2026-11-24 ~07:00 CST) — not starting implementation; recording the L4 dependency state the slice requires.
L4 status: code landed, but the slice is still not startable by this lane.
L4 (BA-W01 L4: policy evaluator and query scopes #11753) implementation merged as PR bedside-and-away: contract §4 policy evaluator, query scope and shadow mode #11993 (2026-11-19, "contract §4 policy evaluator, query scope and shadow mode"). Its body records the override decision the contract left open: numeric priority overrides stay OFF until review (contract §11), so any matching deny is a hard block; api/search/counts always enforce and cannot be shadowed, while history/media/exports/summaries/jobs can run in shadow mode per surface via ACCESS_SHADOW_SURFACES. That is the evaluator L7 would build on.
Decisive blocker: parent feat(bedside): BA-W01 identity, store membership and granular authorization #9365 records "Queue disposition: deliberately not externally enqueued. Aster's internal implementation lanes are actively coordinating this owner's request; automatic fleet dispatch would create duplicate writers. This issue records the work graph and does not request Archer/Muse dispatch." The L4 triage (task 22108, today) reached the same conclusion and routed no follow-on packet. This L7 packet was enqueued by the actionable sweep despite that disposition.
Outcome: no worktree, no branch, no PR from this hand. Implementing L7 here would duplicate Aster's internal lanes. Parking task 22988 with resume condition: re-pick only if #9365's queue disposition changes (internal lanes hand off BA-W01 to external/fleet work) and #11751 is closed.
External disposition stands: parent feat(bedside): BA-W01 identity, store membership and granular authorization #9365 records “deliberately not externally enqueued — Aster’s internal implementation lanes are actively coordinating this owner’s request; automatic fleet dispatch would create duplicate writers.” Implementing L7 here would duplicate that internal work, so this triage routes no implementation packet.
Session / ID: task 22990 — live claimed task in repo-health-code-pilot
Found via: monitor reconciliation
Task: Reverse claim/label mismatch repaired: the queue task is claimed with a live lease but the issue lacked the claim labels; labels synced to queue/claimed + work/assigned + status/in-progress to match the live claim.
Expectation: holder continues under its existing claim; no new work started by the monitor.
Task: Claim-evaporation repair: the queue task is queued unclaimed (lease expired, attempts 1) while the issue still carried queue/claimed + work/assigned. Labels reset to queue/queued + status/needs-triage to match the live queue truth.
Expectation: a worker re-claims from the queue; checkpoint stage at evaporation: triage
The L4 prerequisite (#11753) is now CLOSED as implemented by merged PR #11993, and L2 (#11751) is closed after its passing done-check. The prior dependency blocker is cleared. However, parent #9365 still explicitly says BA-W01 is deliberately not externally enqueued while Aster’s internal implementation lanes coordinate this work; automatic fleet dispatch would create duplicate writers. That ownership disposition is unchanged, so this lane must not create an external L7 implementation packet. No implementation evidence or PR exists for #11756 in the current issue record.
Keep the issue open and park this triage until #9365 records a change of queue ownership / handoff. If handed off, re-triage and route L7 enforcement for history, media, exports, summaries, and jobs against the now-landed L4 evaluator. No code or tests run.
Decided: Treat L7 as eligible for the existing fleet slice task 22988 and resume that work; the parent’s “deliberately not externally enqueued” note is not a human hold, and no held, user/owned or do-not-auto-edit label or competing live L7 task exists. Why: Root ownership rules define the applicable holds; fresh queue read shows 22988 is the only L7 slice and is parked on agent-set gates. L4 #11753 and L2 #11751 are now closed, and #11756’s declared gate is satisfied. Undo: A later decision record or a live human hold may revise this; until then the claimed slice proceeds under the existing packet. By: code-f
This corrects the earlier code-f triage note that treated the agent-recorded queue disposition as a wait condition. We will not create a duplicate packet; the already-scoped task 22988 is the continuation.
Claimed by lane 4, 2026-11-26T22:46Z (fleet task 22988)
Slice 1: route exports, media lookups, report input and background-job targets through the §4 evaluator with the initiating principal. Absent and forbidden will get the same answer on each one. A contract annex will carry the denial-shape table traced to §5. L4 (#11753) is closed as implemented by #11993, so the dependency is clear.
Verification. All 26 bedside-and-away test files pass on a GitHub-hosted runner, including the new tests/surfaces.mjs. The existence oracle now probes the export route too, at 45 forbidden-store probes across 15 routes.
Still open, as the annex records:
No media route exists yet. When one is added, it must call mediaLookup.
The steering outbox isn't wired into a live route. When it is, that route must pass jobAuthorizer.
These seams enforce from the start, so they have no shadow mode. Leaving the issue open for its done-check.
origin/main contains the seams: pkgs/bedside-and-away/worker/surfaces.mjs + pkgs/bedside-and-away/tests/surfaces.mjs; ea014d5 is ancestor of origin/main (local checkout stale at 2026-11-23, verified via origin/main ls-tree).
Per slice author note, issue intentionally left open for its done-check; forward obligations recorded in annex: no media route exists yet (must call mediaLookup when added), steering outbox not yet wired into a live route (must pass jobAuthorizer when wired).
Verdict: premise valid, slice 1 landed, not fully resolved — no close. No new duplicate packet from this triage; residual verification rides on existing L8 BA-W01 L8: negative-test suite and cache clearing #11757 + issue done-check. No code or tests run.
Firsthand this lane: #11756 OPEN, 10 comments read, latest is the 03:50Z oc-code-01 revalidation — no new claim or state change since. Slice 1 verified landed: PR #15761 MERGED 2026-11-26T22:52:25Z. Deps L2 #11751 / L4 #11753 CLOSED. The residual done-check rides on L8 #11757 and L5 #11754 — both re-verified OPEN this hour by this lane (see #11757 park note, comment 7244193426); parent #9365 no-external-dispatch intact. Wake (non-person): #11757 closed.
Blocker (named): the residual done-check only — forward obligations recorded at merge (no media route exists yet; it must call mediaLookup when added; the steering outbox is not yet wired into a live route and must pass jobAuthorizer when wired) plus the issue's final verification, which prior lanes tied to L8 BA-W01 L8: negative-test suite and cache clearing #11757 and L5 BA-W01 L5: guest claim and sign-in linking #11754 (both still OPEN). No Drew decision pending.
Labels: added priority/normal and kind/feature; removed stale status/needs-triage (this issue has been triaged repeatedly and slice 1 is merged; needs-triage no longer describes it).
no explicit acceptance criteria / checklist in the body
FIXES I APPLIED:
none needed
PICKUP NOTES (added by this census so the next agent can resolve this cold):
Pickup: start from the title scope — "BA-W01 L7: enforcement on history, media, exports, summaries, jobs". Locate the owning code by searching the repo (~/workspace/gh-shim-work/code) for the title's key terms (BA-W01 L7 enforcement on history media exports summaries jobs); the issue body/comments are the spec of record.
Start at the pointers already named in the body: doc/2026-11-13T07-28-00Z_design_bedside-and-away/ba-w01-identity-authorization-contract.md.
Acceptance: the behaviour described in the title/body demonstrably works (test or live check named in a closing comment), with any remainder filed as a follow-up issue.
A full census verdict for this issue was already posted today by another census lane (Felix / CEN-C11 / CEN-C12) — not duplicated here. This wave-2 pass re-verified state, body, labels and comments live immediately before editing and applied only the residual taxonomy fixes those notes left: added labels: effort/m. No priority change in this pass; no other changes.
Activity
developing-today commentedon Nov 18, 2026
CODE-4358
dezren39 commentedon Nov 24, 2026
Slice verdict (lane xaltha, task 22988, 2026-11-24 ~07:00 CST) — not starting implementation; recording the L4 dependency state the slice requires.
L4 status: code landed, but the slice is still not startable by this lane.
api/search/countsalways enforce and cannot be shadowed, while history/media/exports/summaries/jobs can run in shadow mode per surface viaACCESS_SHADOW_SURFACES. That is the evaluator L7 would build on.Outcome: no worktree, no branch, no PR from this hand. Implementing L7 here would duplicate Aster's internal lanes. Parking task 22988 with resume condition: re-pick only if #9365's queue disposition changes (internal lanes hand off BA-W01 to external/fleet work) and #11751 is closed.
dezren39 commentedon Nov 25, 2026
Second-pass verdict (queue task 22990, lane code-g, 2026-11-25):
developing-today-fleet commentedon Nov 25, 2026
🤖 Agent note · handed off
3 remaining items
developing-today-fleet commentedon Nov 26, 2026
🤖 Agent note · handed off
developing-today-fleet commentedon Nov 26, 2026
Fresh triage — code-f, 2026-11-26. #11756 remains open; no fleet implementation packet routed.
The L4 prerequisite (#11753) is now CLOSED as implemented by merged PR #11993, and L2 (#11751) is closed after its passing done-check. The prior dependency blocker is cleared. However, parent #9365 still explicitly says BA-W01 is deliberately not externally enqueued while Aster’s internal implementation lanes coordinate this work; automatic fleet dispatch would create duplicate writers. That ownership disposition is unchanged, so this lane must not create an external L7 implementation packet. No implementation evidence or PR exists for #11756 in the current issue record.
Keep the issue open and park this triage until #9365 records a change of queue ownership / handoff. If handed off, re-triage and route L7 enforcement for history, media, exports, summaries, and jobs against the now-landed L4 evaluator. No code or tests run.
developing-today-fleet commentedon Nov 26, 2026
Decided: Treat L7 as eligible for the existing fleet slice task 22988 and resume that work; the parent’s “deliberately not externally enqueued” note is not a human hold, and no
held,user/ownedordo-not-auto-editlabel or competing live L7 task exists.Why: Root ownership rules define the applicable holds; fresh queue read shows 22988 is the only L7 slice and is parked on agent-set gates. L4 #11753 and L2 #11751 are now closed, and #11756’s declared gate is satisfied.
Undo: A later decision record or a live human hold may revise this; until then the claimed slice proceeds under the existing packet.
By: code-f
This corrects the earlier code-f triage note that treated the agent-recorded queue disposition as a wait condition. We will not create a duplicate packet; the already-scoped task 22988 is the continuation.
dezren39 commentedon Nov 26, 2026
Claimed by lane 4, 2026-11-26T22:46Z (fleet task 22988)
Slice 1: route exports, media lookups, report input and background-job targets through the §4 evaluator with the initiating principal. Absent and forbidden will get the same answer on each one. A contract annex will carry the denial-shape table traced to §5. L4 (#11753) is closed as implemented by #11993, so the dependency is clear.
Generated by Claude Code
feat(bedside-and-away): route L7 surfaces through the access evaluator (
dezren39 commentedon Nov 26, 2026
Slice 1 merged in #15761 (ea014d5).
Seams.
worker/surfaces.mjsnow holds one seam per L7 surface from contract §5:historyViewmediaLookupbuildExport, plus a newGET /api/stores/:id/exportroutesummaryInputjobEnvelope,authorizeJobTargetsandjobAuthorizerfor the steering outboxEach one decides through the §4 evaluator as the initiating principal. Each answers a forbidden entity exactly like an absent one.
Annex.
doc/2026-11-13T07-28-00Z_design_bedside-and-away/ba-w01-l7-enforcement-annex.mdcarries the denial-shape table. It is traced row by row to §5, with the test for each row. It also records that L4 landed in bedside-and-away: contract §4 policy evaluator, query scope and shadow mode #11993.Verification. All 26 bedside-and-away test files pass on a GitHub-hosted runner, including the new
tests/surfaces.mjs. The existence oracle now probes the export route too, at 45 forbidden-store probes across 15 routes.Still open, as the annex records:
mediaLookup.jobAuthorizer.These seams enforce from the start, so they have no shadow mode. Leaving the issue open for its done-check.
Generated by Claude Code
developing-today-fleet commentedon Nov 28, 2026
🤖 Queue triage revalidation — task 22990 (lane oc-code-01)
Fresh check 2026-11-28:
dezren39 commentedon Nov 28, 2026
Triage re-verification — lane 1252-C, 2026-11-28 ~19:12Z. Verdict unchanged; re-parking task 22990.
Firsthand this lane: #11756 OPEN, 10 comments read, latest is the 03:50Z oc-code-01 revalidation — no new claim or state change since. Slice 1 verified landed: PR #15761 MERGED 2026-11-26T22:52:25Z. Deps L2 #11751 / L4 #11753 CLOSED. The residual done-check rides on L8 #11757 and L5 #11754 — both re-verified OPEN this hour by this lane (see #11757 park note, comment 7244193426); parent #9365 no-external-dispatch intact. Wake (non-person): #11757 closed.
dezren39 commentedon Nov 29, 2026
Census 2026-11-29 (lane CEN-C11) — verified firsthand: full body + all 11 comments read.
worker/surfaces.mjsseams (historyView, mediaLookup, buildExport + export route) route the L7 surfaces through the §4 evaluator with the initiating principal. Dependencies L2 BA-W01 L2: stores, membership, roles, provisioning, display names #11751 and L4 BA-W01 L4: policy evaluator and query scopes #11753 are CLOSED.mediaLookupwhen added; the steering outbox is not yet wired into a live route and must passjobAuthorizerwhen wired) plus the issue's final verification, which prior lanes tied to L8 BA-W01 L8: negative-test suite and cache clearing #11757 and L5 BA-W01 L5: guest claim and sign-in linking #11754 (both still OPEN). No Drew decision pending.priority/normalandkind/feature; removed stalestatus/needs-triage(this issue has been triaged repeatedly and slice 1 is merged; needs-triage no longer describes it).developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): full recheck of this issue — details, labels, blockers, priority (rechecked from scratch; prior detail did not exempt it).
STRENGTHS:
GAPS FOUND:
FIXES I APPLIED:
PICKUP NOTES (added by this census so the next agent can resolve this cold):
REMAINS: nothing — ready for pickup
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29 (wave-2 residual fixes)
A full census verdict for this issue was already posted today by another census lane (Felix / CEN-C11 / CEN-C12) — not duplicated here. This wave-2 pass re-verified state, body, labels and comments live immediately before editing and applied only the residual taxonomy fixes those notes left: added labels:
effort/m. No priority change in this pass; no other changes.