GeezerVison is showing github.com — BA-W01 L7: enforcement on history, media, exports, summaries, jobs · Issue #11756 · developing-today/code
BA-W01 L7: enforcement on history, media, exports, summaries, jobs #11756DescriptionRoute 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. Activitydeveloping-today commented on Nov 18, 2026 dezren39 commented on 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.
- 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.
- L2 (BA-W01 L2: stores, membership, roles, provisioning, display names #11751), which L4 builds on, is still OPEN: PR bedside-and-away: store roles, default provisioning and display name (BA-W01 L2) #11832 merged, but the done check against main (task 22107, 2026-11-24) is incomplete and the issue is not closed yet. The L2 foundation is therefore still unverified.
- 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. dezren39 commented on Nov 25, 2026 Second-pass verdict (queue task 22990, lane code-g, 2026-11-25):
- Fresh issue state: BA-W01 L7: enforcement on history, media, exports, summaries, jobs #11756 OPEN, no hard-stop labels.
- Prior blocker resolved: L4 (BA-W01 L4: policy evaluator and query scopes #11753) is CLOSED as implemented — PR bedside-and-away: contract §4 policy evaluator, query scope and shadow mode #11993 merged 2026-11-19, ordered policy evaluator (default deny, query scopes, shadow mode), on origin/main. L2 (BA-W01 L2: stores, membership, roles, provisioning, display names #11751) closed 2026-11-24 with its done check passing (npm test, 23 files, exit 0).
- 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.
- Resume condition: if Aster’s internal lanes hand BA-W01 off to external/fleet work (a change to feat(bedside): BA-W01 identity, store membership and granular authorization #9365’s queue disposition), re-pick this item for an L7 enforcement packet targeting history/media/exports/summaries/jobs.
- No worktree, no branch, no PR from this hand.
developing-today-fleet commented on Nov 25, 2026 🤖 Agent note · handed off
- Agent: fleet monitor (repo-fleet-monitor)
- 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.
- Links: queue task above
developing-today-fleet commented on Nov 26, 2026 🤖 Agent note · handed off
- Agent: fleet monitor
- Session / ID: repo-fleet-monitor cron run 2026-11-26 06:14 CST; task 22990
- Found via: monitor reconciliation
- 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
- Links: queue repo-health-code-pilot
developing-today-fleet commented on 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 commented on 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/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. dezren39 commented on 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 dezren39 commented on Nov 26, 2026 Slice 1 merged in #15761 (ea014d5).
-
Seams. worker/surfaces.mjs now holds one seam per L7 surface from contract §5:
historyView
mediaLookup
buildExport, plus a new GET /api/stores/:id/export route
summaryInput
jobEnvelope, authorizeJobTargets and jobAuthorizer for the steering outbox
Each 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.md carries 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:
- 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.
Generated by Claude Code developing-today-fleet commented on Nov 28, 2026
🤖 Queue triage revalidation — task 22990 (lane oc-code-01)
Fresh check 2026-11-28:
- BA-W01 L7: enforcement on history, media, exports, summaries, jobs #11756 OPEN (updated 2026-11-26T22:52:32Z, slice-merge note current). Labels: status/needs-triage, queue/queued, app/bedside-and-away, epic/bedside-and-away.
- Slice task 22988 DONE 2026-11-26T22:52:37Z; PR feat(bedside-and-away): route L7 surfaces through the access evaluator #15761 MERGED (ea014d5, mergedAt 2026-11-26T22:52:25Z).
- 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).
- Dependencies clear: L2 BA-W01 L2: stores, membership, roles, provisioning, display names #11751 CLOSED, L4 BA-W01 L4: policy evaluator and query scopes #11753 CLOSED. Siblings still open: BA-W01 L5: guest claim and sign-in linking #11754 (guest claim), BA-W01 L8: negative-test suite and cache clearing #11757 (L8 negative tests/cache). Parent feat(bedside): BA-W01 identity, store membership and granular authorization #9365 OPEN.
- 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.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|