Skip to content

Scheduled Suggestions — developing-today/code #12664

Open

Description

@developing-today

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 create from the laptop checkout. Each issue must include:
    • the canonical component label for its area; use app/pm-stack for
      PM-stack / aggregator issues in this repo. app/aggregator is 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.
  • 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.

Activity

  1. developing-today commented on Nov 22, 2026

    @developing-today
    ContributorAuthor

    Dispatch launch confirmed.

    • Queue task: #21076 (repo-health-code-pilot, status: claimed, worker: dispatch-opencode)
    • OpenCode session: ses_e5dfb19093effeS18B7AJjztwH
    • Launched by: GitHub Actions OIDC (repo developing-today/code, actor dezren39, workflow developing-today/code/.github/workflows/agents.yml@refs/heads/main)
  2. dezren39 commented on Nov 22, 2026

    @dezren39
    Member

    Suggestions pass: summary (dispatch #21076)

    Filed (4 of a cap of 5)

    Verified and rejected

    • chmod 777 -R . in inspiration/home/gtk.nix: runs inside a Nix build sandbox on its own unpacked source. Low impact.
    • Unescaped innerHTML in pm-stack/aggregator/src/render.ts: sampled sites all escape their interpolations with esc().
    • Unauthenticated aggregator POST routes (/api/prompt, /api/comments, /api/actions): intentional and documented. pm-stack/aggregator/README.md:243 describes 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.sh path: sources is a symlink to pkgs/, so the path is valid.
    • Sync analytics I/O in analytics-store.ts: primed and cached (primeAttemptAggregates), not on the request path.
    • Hard-coded credential-shaped strings (AKIA..., ghp_...): test fixtures.
    • Workflow without permissions: (pm-scheduled.yml): a reusable workflow that inherits the caller's token scope.
    • Timed sleeps in tests: routine waits, not a flake I could confirm.

    Verified but deferred

    • None beyond the four filed. The cap was not reached.

    Needs a human decision

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions