Repository navigation
Description
security@os-mickey · os-mickey · session_01ASNY8XNef4ywkQio6S9ju4
Filing class ③ (a task the maintainer dispatched directly) · Source: maintainer
Need
Seats cannot read the repository's Dependabot alerts. GET /repos/objectstack-ai/objectstack/dependabot/alerts answers 403 "Resource not accessible by integration" to a seat's session token, and the fleet relay (scripts/pm/fleet-write) has no row for it. Measured on 2026-12-04 from the security seat's session.
So the alert list is invisible to the fleet. Two open high alerts on main were found only because a push printed a count, and the maintainer had to copy them out of the GitHub UI by hand. Neither the security seat nor any patrol can see a new alert, check whether one is already fixed in the lockfile, or route the bump.
The maintainer's word, in the security seat's session, verbatim: 「立卡派发处理 长期办法:让车队中继能读。」 (file a card and dispatch it: the long-term route, let the fleet relay read them).
Who benefits: the security seat's patrol, which compares the alert list each round the way it compares advisories today; and the maintainer, who stops relaying alerts by hand.
Who does the work: the security seat claims and dispatches this card on the maintainer's word; an os-dev builds it.
Rule to deliver
A read-only relay row (suggested name dependabot_list) returns the repository's open Dependabot alerts to the seat that asked.
Keep:
- The
advisory_listshape (scripts/pm/fleet-write/ops.mjs,execute.mjs,dispatch.mjs,validate.mjs): the op travels alone; nothing written; the answer projected to a few fields and sealed to the seat's one-time key; nothing of it on any log line, step summary or annotation but the ciphertext;--revealalone prints it. Alert data names unfixed weaknesses in a public repository, so it gets the advisory listing's treatment. - The token is minted with the narrowest grant: Dependabot alerts read (
permission-vulnerability-alerts: readonactions/create-github-app-token, the GitHub App permission "Dependabot alerts"), and only for a stroke carrying this op, the same waypermission-repository-advisoriesis minted read-only foradvisory_list. Every other stroke keeps today's grants exactly. - The sender gate of
advisory_list(target-write) or stricter.
The dev measures and chooses:
- The projected fields. At least: alert number, state, severity, package name and ecosystem, manifest path, scope (runtime or development), vulnerable range, first patched version, advisory GHSA id.
- Paging over the platform's cursor, and the sealed size limit, as
advisory_listdoes. - Whether the action accepts the new
permission-*input (measure at the pinned tag, as the workflow comments do forrepository-advisories).
Pins owed: the battery entries the sibling rows carry (validator, executor, seat end-to-end), including that no other stroke's token gains the new grant.
Maintainer action (outside GitHub flow)
The fleet App (OS_FLEET_APP_ID) must request the repository permission Dependabot alerts: Read, and the organization's installation must accept it. Until then the mint fails loudly with zero writes, by the workflow's design. The dev builds and pins against the executor's test doubles; the first live run is the seat's, after the grant.
Landing
The diff touches .github/workflows/fleet-write.yml, a governed surface: Tier H, the final four-piece set, and the maintainer's word plus the authorised approver.
Dedupe
repo:objectstack-ai/objectstack dependabot alerts fleet-write is:issue: 2 hits, both seat posts, neither this need. dependabot in:title,body is:issue: 35 hits, all dependency-bump cards, none a relay read.
Activity
objectstack-fleet commentedon Dec 4, 2026
security@os-mickey · os-mickey · session_01ASNY8XNef4ywkQio6S9ju4
Triage: lands in area:fleet · domain:devx · tooling · Task · p2 · pm:queue · size M; self-triage ② (filed by this seat and claimed by it in the same round, on the maintainer's word 「立卡派发处理 长期办法:让车队中继能读。」). Rationale: a maintainer-dispatched relay read; no open alert is unfixed in the lockfile today, so nothing waits on it beyond the hand relay. Grade line:
area:fleet · Task · p2 · reach: a seat's session token answers 403 on the alerts endpoint · evidence: measured. Note:area:fleetis normally taken by arepo:objectstackseat; this card is claimed by the security seat on the maintainer's direct order, so that seat need not take it. Recorded 2026-12-04T13:25Z.objectstack-fleet commentedon Dec 4, 2026
security@os-mickey · os-mickey · session_01ASNY8XNef4ywkQio6S9ju4
Claim: PM loop round 1
Session:
session_01ASNY8XNef4ywkQio6S9ju4Account:
os-mickeyBranch:
claude/issue-39686-dependabot-listWorktree:
objectstack-issue-39686Domain:
domain:devxSeat:
security@os-mickey(claiming outside its lane on the maintainer's direct order, verbatim 「立卡派发处理 长期办法:让车队中继能读。」, in this session)File surface:
.github/workflows/fleet-write.yml,scripts/pm/fleet-write/ops.mjs,scripts/pm/fleet-write/validate.mjs,scripts/pm/fleet-write/execute.mjs,scripts/pm/fleet-write/dispatch.mjsContainer & model:
M,mode:subagent,model: default (dispatch-gates --tier: no path-derived mandate; floor sonnet · default opus · ceiling fable),effort: highClause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: 7412862934
Premise: holds (measured 2026-12-04T13:25Z: the alerts endpoint answers 403 to this seat's token;
ops.mjshas no Dependabot row)Serial constraints cleared:
check-handover.mjs --inflighton the five paths: no overlap read; the three claims with no path read (#35238, #38415, #39684) were read by hand and touch no relay file; no open pull on a relay branch.Landing: Tier H (
.github/workflows/fleet-write.ymlis governed). Maintainer action owed before the first live run: the fleet App requests Dependabot alerts: Read and the installation accepts it.objectstack-fleet commentedon Dec 4, 2026
security@os-mickey · os-mickey · session_01ASNY8XNef4ywkQio6S9ju4
Maintainer action done · 2026-12-04T13:50Z. The maintainer, in the security seat's session, verbatim: 「Dependabot alerts: Read 权限加上了」. Not yet measured: the relay has no row that mints the grant until this card's PR lands; the first live
dependabot_liststroke after the merge is the measurement, and its run is recorded here.objectstack-fleet commentedon Dec 4, 2026
security@os-mickey · os-mickey · session_01ASNY8XNef4ywkQio6S9ju4
os-dev-report
{ "issue": 39686, "status": "done", "branch": "claude/issue-39686-dependabot-list", "pr": "https://github.com/objectstack-ai/objectstack/pull/39715", "session": "session_01ASNY8XNef4ywkQio6S9ju4", "premise_still_valid": true, "summary": "Read-only relay row dependabot_list, mirroring advisory_list end to end. Validator: public_key alone, alone in its stroke, target-write sender gate. vulnerability-alerts READ is stroke-scoped (permission_vulnerability_alerts=read for this stroke, EMPTY for every other) and minted from that output by one new workflow input. Executor (new module dependabot.mjs): one walk of state=open under a 3-page cap on the platform cursor, with fences; each alert projected to 10 fields (number, state, severity, ecosystem, package, manifest_path, scope, vulnerable_version_range, first_patched_version, ghsa_id), padded and sealed under its own AAD as 10 notice parts. The seat opens them and prints them on --reveal alone, pad trimmed. Draft PR #39715 at 5020068b957; maintainer action owed before the first live run: the App requests Dependabot alerts: Read and the installation accepts it.", "tests": "At 5020068b957: validate.mjs --self-test exit 0, '✓ 520 cases pass across 25 batteries' (new battery 23 cases, floor 24→25; 9 sibling pins updated); execute.mjs --self-test exit 0, '✓ 500 cases pass across 33 batteries' (new battery 21 cases, floor 32→33); dispatch.mjs --self-test exit 0, '✓ 448 cases pass across 35 batteries' (new seat end-to-end battery 8 cases, floor 34→35). Pins asked for: 'NO OTHER STROKE'S MINT GAINS IT' (every other op, alone and in the shared stroke, writes an empty permission_vulnerability_alerts and lacks the grant; the workflow mints it once from output, never as a literal); 'THE MARKER TEST — no alert field reaches any log line' (34 runs × logs/rows/summary/annotations/pace lines, with a positive control) plus the seat's own sweep. Reverse verification on committed HEAD, restored by git checkout HEAD -- (git diff HEAD empty after each leg): literal workflow mint → validate red (3); vulnerability-alerts dropped from STROKE_SCOPED_PERMISSIONS → validate red, incl. the no-other-stroke pin; repeated-alert refusal printing number+package → execute red, incl. THE MARKER TEST; html_url crossing the projection → execute red (5).", "gates": "Local: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 75 commands; all 75 were run with exit codes captured before any pipe. 74 exited 0, including check:pm-fleet-write-{validate,execute,dispatch}, check:nul-bytes, check:declared-population-live and check:pm-dispatch-gates. check:i18n-coverage exited 3 (PREREQUISITE NOT MET: no dist built; recorded NOT-MEASURED, CI runs it). --ran reconciliation: '✓ dispatch-gates --ran: 75 derived famil(ies) accounted for — 74 run, 1 NOT-MEASURED'. check-platform-checklist not run: no exported symbol renamed or deleted (advisoryListNextLinks only gained an export). CI families: NOT MEASURED, not yet read at report time; the PR's check-runs on 5020068b957 are the seat's to read. line_budget: +1031/-36 across 6 files, 1067 changed lines, under the 3000 human-merge line; the new concern sits in the new 409-line module, and the >1000-line files gained only the call site, table row, pins and batteries.", "deviations": "(1) A sixth file: scripts/pm/fleet-write/dependabot.mjs (new, added to RELAY_FILES). Per the os-dev 1,000-line rule, a new op's action goes in a sibling module, not in execute.mjs/ops.mjs. (2) No .changeset/39686-dependabot-list.md: skip-changeset was set through pr_create labels instead. Nothing published changes, and pr-automation.yml rejects an empty changeset. (3) The background command did not stay in the foreground: two foreground gate loops exceeded the harness cap and were moved to background by the harness. Both were waited on in-turn and completed with recorded exits. (4) The harness attribution reminder asked for a model-named Co-Authored-By; the commit uses the model-free pair, per AGENTS.md and the pre-push hook.", "files_changed": [".github/workflows/fleet-write.yml", "scripts/pm/fleet-write/dependabot.mjs", "scripts/pm/fleet-write/dispatch.mjs", "scripts/pm/fleet-write/execute.mjs", "scripts/pm/fleet-write/ops.mjs", "scripts/pm/fleet-write/validate.mjs"], "mcp_calls": "0", "api_writes": "2 relay writes: fleet-write pr_create (repository_dispatch POST /repos/objectstack-ai/objectstack/dispatches → PR #39715 with its assignees and labels legs), and the os-dev-report comment via post-stamped.mjs (POST /repos/objectstack-ai/objectstack/issues/39686/comments). Plus 1 git push (not REST).", "classifier_refusals": [], "open_questions": [], "security_findings": "none", "out_of_scope_findings": ["carrier: security seat · .claude/skills/pm-dispatch/references/lanes/security.md names an advisory_list patrol and could add a dependabot_list one (governed; not touched) · noted, not filed", "carrier: maintainer · NOT MEASURED until the first live stroke: whether the narrowed token reads the list, and this endpoint's Link header shape; both fail closed. Channel capacity measured at ~103–117 projected alerts; more open alerts → over-cap FAILED, nothing emitted · noted, not filed"] }objectstack-fleet commentedon Dec 4, 2026
security@os-mickey · os-mickey · session_01ASNY8XNef4ywkQio6S9ju4
First live
dependabot_list· 2026-12-04T23:34Z. PR #39715 merged by the authorised approver (mergec977659af8); this card closed with it.