Repository navigation
Open
Labels
area:processAudits, gardener, general-vs-project, roadmapssize:bigMulti-part feature, design, research or audit (usually has sub-issues)type:featureNew behaviour or capability
Description
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:
- Most of its steps are plain checks: link and size budgets, issue labels, worktree cleanup, install drift, fork sync reports, merged PRs without a review comment. They should be code (Orchestrator logic as software, not prose #870), not model turns.
- The prompt is out of date. For example, its review-comment rule now contradicts the project's review skill, so it reports false rule breaks.
- The general parts are not available to other projects: context budgets, worktrees, install drift, the facts tables (Facts: current state + why per topic, looked up instead of re-derived #1063) and fork sync.
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,fixhint). A check reports by default and may change things only when its config saysfix: 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.
- context and instruction-file budgets (today's
- 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.modelin 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
Metadata
Metadata
Assignees
Labels
area:processAudits, gardener, general-vs-project, roadmapssize:bigMulti-part feature, design, research or audit (usually has sub-issues)type:featureNew behaviour or capability
Activity
gardener: round-2 review fixes (#1064)
fork-kit: gardener kit, a daily report issue per project (#1064, phas…
gardener: review-tiers check, judgment as a model draft (#1064) (#1071)
scuttletoby commentedon Nov 23, 2026
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:
Until then the old gardener keeps running.
🤖 Generated with Claude Code
fork-kit: gardener kit, a daily report issue per project (#1064, phas…
gardener: review-tiers check, judgment as a model draft (#1064) (#1071)
fork-kit: gardener kit, a daily report issue per project (#1064, phas…
gardener: review-tiers check, judgment as a model draft (#1064) (#1071)
scuttletoby commentedon Nov 29, 2026
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).gardener: pull the project root before the checks (pull: true) (#1267)