Skip to content

General daily gardener: checks as code, project checks on top, local model for the judgment step #1064

Open

Description

@scuttletoby

Problem: the only daily gardener is one project's own: a scheduled agent thread that runs a long hand-written prompt (about 150 lines, last rewritten 2026-11-12) on a paid model every day. Problems:

What: one general gardener in the fork kit, with project checks added on top.

  • Runner: a daily timer runs a list of checks. Each check is a small script that prints findings as JSON lines (id, severity, where, text, fix hint). A check reports by default and may change things only when its config says fix: true.
  • General checks (fork):
    • context and instruction-file budgets (today's context-budget-report);
    • stale or oversized facts tables (Facts: current state + why per topic, looked up instead of re-derived #1063);
    • merged or stale worktrees and branches;
    • install drift against the installed kit versions;
    • fork sync and adopt reports;
    • workflows that were switched off;
    • merged PRs that skipped the review the project's tier rules require (tiers come from project config, so it matches the review skill);
    • label and issue hygiene.
  • Project checks (adapter): listed in the project's config by path, for example a project's own doc checker, issue linter or fork gardener. The fork never names them in code.
  • Output: one rolled-up report issue per project per day. It is updated in place, not a new issue every day. A finding gets its own issue only when a rule says so. The run writes a done marker so it runs once a day.
  • Judgment step (optional, last): only for what code cannot decide, such as "does this doc still match the code" or turning findings into readable issue text. It runs on a local model when one is configured and reachable (gardener.model in machine config: endpoint + model). It falls back to a cheap paid model or skips with a note. It gets the findings plus the few files involved, never the whole repo. Use the harness and model picked in Local model lane: free GPU model for checkable backlog jobs #1062.
  • Where it runs: placement by rules, on a machine with the GPU and the repos, in quiet hours. A GPU shared with another service, such as a translation engine, is used only when that service is idle.

General vs project:

  • General: the runner, the check contract, the general checks, the report issue, the done marker, the model fallback.
  • Project: which checks run, project check paths, the report repo, review tiers, schedule, model endpoint.

Retires: the project's hand-written gardener prompt and its scheduled paid-model thread, once the project adapter runs green for 3 days.

Done when:

  • The fork gardener runs daily for this fork and one project.
  • Each check has tests, including empty, missing and old state, and a second run on the same day.
  • The judgment step has run once on a local model with its result compared against a paid model.
  • The old prompt is retired.

Related: #834 (G14), #870, #1062, #1063, #871.

🤖 Generated with Claude Code

Activity

  1. scuttletoby commented on Nov 23, 2026

    @scuttletoby
    OwnerAuthor

    Note from the Fable audit of the SkyRPG gardener settings (scuttletoby/skyrpg PR 2206): the old gardener should be switched off only when both of these are settled:

    • scuttletoby/skyrpg issue 2207 (a new home for the old gardener's four write jobs) is closed, and
    • the SkyRPG owner question on a tier-1 rule for test-only PRs is answered.

    Until then the old gardener keeps running.

    🤖 Generated with Claude Code

  2. scuttletoby commented on Nov 29, 2026

    @scuttletoby
    OwnerAuthor

    Status 11-29: the gardener runs on VM106. Kit ci/v37 is installed, and the hourly user timer runs each project once a day: t3-fork at 04:20Z, skyrpg at 04:40Z. It reports only. There is one report issue per project, updated in place: #1265 and scuttletoby/skyrpg#2218. The first run found 167 and 214 findings, and a forced rerun updated #1265 without making a second issue. A relay sends each report to its project's orchestrator at 05:00Z. The old prompt gardener is paused, not deleted. The open item is #1267 (pull: true: the gardener brings its root up to date before the checks).

  3. added
    area:process
    size:big
    type:feature
    on Nov 29, 2026
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

    area:processsize:bigtype:feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions