Repository navigation
Open
Labels
queue/claimedQueue worker lifecycle stateQueue worker lifecycle statesource/dispatchFiled by pm-dispatchFiled by pm-dispatchwork/assignedQueue worker lifecycle stateQueue worker lifecycle state
Description
You are a code-review agent running as a dispatched session in this
repository. Your job is a suggestions pass: survey the codebase for real,
actionable improvements and turn the verified ones into GitHub issues.
Dispatch context — read this first
- You are running in this repository's LAPTOP CHECKOUT (the repo's primary
checkout on the owner's laptop). Work there; do not clone the repo
elsewhere. - A tracking issue and a queue task were ALREADY created for this run by
the dispatcher, and this session is already claimed against them. Do
NOT create another tracking issue for this run, and do not dispatch
further tasks. - There is NO plan-approval step. Proceed directly; do not stop to ask
for approval of a plan.
What to review
Survey the codebase across these five areas:
- Cleanup — dead code, duplicated logic, obsolete files or config,
leftover scaffolding. - Performance — hot paths doing avoidable work, missing caching or
batching, inefficient data structures or queries. - Security — unsafe input handling, secrets or credentials in code or
config, over-broad permissions, missing validation at trust boundaries. - Code Health — confusing structure, missing or misleading error
handling, functions/modules that have grown hard to change safely. - Testing — important behaviour with no coverage, tests that assert
nothing, flaky or order-dependent tests.
Verify before you file — no speculative filings
Every candidate finding MUST be verified against the actual code before
it becomes an issue:
- Read the code at the location you cite. Confirm the problem is real in
the current tree, not an assumption from a filename, a comment, or a
pattern you expected to find. - Check the surrounding context (callers, tests, configuration) — a
candidate that turns out to be intentional, already handled elsewhere,
or not actually reachable is rejected, not filed. - Search the repo's OPEN issues before filing. If an existing open issue
already covers the finding, comment on that issue with your evidence
instead of opening a duplicate.
Filing
- Per real, verified finding, file ONE issue in this repo with
gh issue createfrom the laptop checkout. Each issue must include:- the canonical component label for its area; use
app/pm-stackfor
PM-stack / aggregator issues in this repo.app/aggregatoris a legacy
alias and must not be used for new filings. - a clear title naming the problem;
- file/line evidence (the exact paths and lines you verified);
- why it matters (impact, risk, or cost);
- the suggested fix shape — the direction of the fix, not a full
implementation.
- the canonical component label for its area; use
- CAP: at most 5 filings per pass (new issues plus evidence comments
on existing issues). If you verify more than 5 findings, file the 5
highest-impact ones and list the rest in your summary as
verified-but-deferred. - Do NOT dispatch further tasks for the findings, and do not fix them in
this pass. The issues are the record; the fleet's normal lanes pick
work up from them.
Finish
End with a short summary — as your session output, and as a comment on
this run's tracking issue if you can identify it — covering:
- Filed — each issue you opened or commented on, with its number and
one line on the finding. - Verified and rejected — candidates you checked against the code and
did not file, with the reason. - Needs a human decision — findings that are real but whose fix is a
judgement call (trade-offs, product direction, risk appetite), stated
plainly so a human can rule on them.
If the pass finds nothing worth filing, say so in the summary instead of
opening low-value issues to fill the pass.
Launched by pm-dispatch for developing-today/code. Queue task and OpenCode session ids follow in a comment below.
Metadata
Metadata
Assignees
Labels
queue/claimedQueue worker lifecycle stateQueue worker lifecycle statesource/dispatchFiled by pm-dispatchFiled by pm-dispatchwork/assignedQueue worker lifecycle stateQueue worker lifecycle state
Activity
developing-today commentedon Nov 22, 2026
Dispatch launch confirmed.
dezren39 commentedon Nov 22, 2026
Suggestions pass: summary (dispatch #21076)
Filed (4 of a cap of 5)
a,f,r,s,o, ...) runlib/auth-rebuild-*.sh, so typing one runs a full rebuild. Kind: chore.pkgs/identity/default-deploy.shpipes an unpinnedcurl default.computerinto bash, and nothing references it. Kind: security.pm-stack/dispatch/test/validate.test.ts:516-518"fixture cleanup" test deletes its fixture and assertsexpect(true). Kind: test..rs, sorender.ts(8,515 lines) andserver.ts(4,748) are unchecked. Kind: debt. Needs a human decision on the TS limit.Verified and rejected
chmod 777 -R .ininspiration/home/gtk.nix: runs inside a Nix build sandbox on its own unpacked source. Low impact.innerHTMLinpm-stack/aggregator/src/render.ts: sampled sites all escape their interpolations withesc()./api/prompt,/api/comments,/api/actions): intentional and documented.pm-stack/aggregator/README.md:243describes self-asserted authors on a loopback+tailnet-only surface, tracked by aggregator(dashboard): comment API accepts self-asserted author identities — anyone can post as Drew into the orchestrator/GitHub flow (PR #920) #941.sources/identity/deploy.shpath:sourcesis a symlink topkgs/, so the path is valid.analytics-store.ts: primed and cached (primeAttemptAggregates), not on the request path.AKIA...,ghp_...): test fixtures.permissions:(pm-scheduled.yml): a reusable workflow that inherits the caller's token scope.Verified but deferred
Needs a human decision