Repository navigation
Description
Context
Part of #838. Follow the epic's shared discovery/evaluation protocol and binding constraints. Source inspected on 2026-10-01 at main 0a6389c.
Phase 3 still asks the agent to perform date normalization and single-column index-lag repairs (## Phase 3, packages/core/skills/content-hygiene/SKILL.md:71-99). Detection/log identity is already CLI-owned; generated registries already have a renderer (renderRegistry, packages/core/src/lib/index-registry.ts:117-148).
Question
Can CLI code perform the mechanical hygiene repairs that the content-hygiene skill currently asks the agent to make, at equal or better correctness?
Follow #838's lean protocol: quality and reliability against the current path, with cost not measured.
Arms
- Current path: the shipped
content-hygieneskill Phase 3 instructions, run by the real agent on the fixture brains. - Candidate: a bounded CLI planner and applier for
updated < createdand eligible single-column Status/Updated index drift, built on the existing registry renderer and detection.
Measure
Exact expected file bytes per case, untouched-file preservation and repeat no-op. Vetoes: a wrong file edited, content or frontmatter loss, an edit outside the eligible set. Reliability: at least 3 repetitions per arm, reporting agreement, invalid answers and abstentions.
Cases
At main 0fff240b6167390276e141ff9aaf06e927289ea2, evals/cases/ is not yet present; its preservation in the cleanup is an expected handoff, not delivered input. Authored inputs currently remain in scripts/evals/mechanical-hygiene/fixture.ts (verified nonempty at the inspected SHA). Extract their case data into the lean JSON input; do not retain their retired harness/receipt plumbing. If the cleanup lands first, use its actual preserved evals/cases/842-*.json instead. Case creation/extraction is part of this spike and does not require the cleanup to finish first. Check the labels once with a model from a different family, and add discriminating held-out cases where the counts above are thin.
Acceptance criteria
- A small harness under
evals/842-<slug>/runs every arm on identical inputs against the real providers, with keys from the environment. There is no freeze, receipt, grant, admission or packet-review layer. - Results file with held-out quality, the vetoes and reliability per arm.
- Decision record
docs/decisions/<slug>.md: go/no-go, evidence, limits and the smallest integration. A documented no is valid. - Reviewed by a model from a different family from the author; merged with the release milestone.
Out of scope
Judgment repairs (staleness, facts), and review UI or dispositions, which #597 owns. Cost measurement.
2026-10-10 rewrite: brief replaced under #838's lean protocol (maintainer ruling). The earlier freeze, receipt, admission and accounting requirements and their dependencies no longer apply; prior comments remain as history.
Scope
Implement this candidate's small standalone experiment, reviewed inputs, all specified arms and repetitions, non-trivial scoring, results and decision record under #838's current lean protocol. Prototype candidate changes in the experiment; production adoption belongs to scoped follow-up work after the result. Preparing/checking labels is part of this investigation, not a prerequisite design drop.
Verification
Before live measurement, check labels once with a model from a different family, record disagreements and fix/drop disputed cases. Use identical tuning/held-out inputs for all arms, at least three repetitions, calibration only on tuning and the held-out value unchanged. Execute the real shipped path for the current arm, retain raw per-case outcomes needed for scoring, and report invalid answers/abstentions/fallbacks and every specified destructive-error veto without hiding them behind a majority vote. Keep the issue's metrics and unmeasured limits explicit; historical keyless/fixture numbers are not fresh live quality results.
Use the named models and existing standing authorization linked from #838, within $15 per issue/$150 combined, with a simple accumulated-usage stop; cost is not an evaluation metric. Do not restore the retired freeze, admission, receipt, paid-policy or packet-review machinery. Unit-test non-trivial scoring offline; ordinary CI stays keyless/network-free. Include the harness/results/decision in one PR, obtain the specified cross-family PR review and complete required contribution/proof gates and release-milestone readbacks. A documented no completes the investigation; no production rollout follows automatically.
Contract impact
No production machine-surface/default migration is selected by this experiment. Any accepted integration receives a separate scoped task; assess actual public API/CLI/MCP/protocol/frontmatter changes under the contract index and relevant authoritative component before shipping them.
2026-10-10 readiness reconciliation at 0fff240b6167390276e141ff9aaf06e927289ea2: consumed the latest #838 maintainer ruling and replaced the anticipated case-location claim with inspected inputs. Completed scope/verification/contract boundaries; preserved type: spike, existing areas, priority p2, native #838 parent and all candidate-specific metrics/vetoes. No obsolete preparation dependency or unresolved design/access ruling is reinstated; agent-ready now describes a scoped investigation, not completed measurement, paid dispatch by triage or an adoption result.
Activity
schlessera commentedon Oct 1, 2026
Claiming #842 under
work-issue; claim token01a0f278-842-20261002, intended branchspike/842-mechanical-hygiene-01a0f278. I will first reconcile the existing detect/reconcile and #597 review handlers, then prepare a bounded keyless runtime evaluation. Paid inference is outside the current authorization.test(core): prepare mechanical hygiene repair evaluation
test(core): validate hygiene logs before prototype repair
docs(core): verify mechanical hygiene source anchors
test(core): prepare mechanical hygiene repair evaluation (#861)
29 remaining items
schlessera commentedon Oct 8, 2026
Final current-head CI verification (2026-10-08)
Draft PR #1267 head
ebbfde3842126b063847f2323ffbce1f33d1f6ddpasses all thirteen automatic CI jobs and the current-head contract check. Actual combined checkout1d994c8541e45c704ada0b3a4ddc065b9c62e314has parents8c9f6d0c366ab380bd4becb0a49efec30396b997and this head, tree27a43addd2853f3080394d1c41169277f2ce464a. Rung5d3jfzp59, CI workflowpw4wg16h6t; the successful current contract check is the separate automatic workflow0tw3q9dtk0. Eight retained finite logs cover all three test shards, runtime, both browser and both layout jobs with the exact combined checkout. Earlier canceled contract attempts are not substituted for success. No retry or merge was performed.This completes the previously pending CI verification, not complementary semantic review or the original empirical comparison. Keep draft/Refs and all prior availability, physical-write UTC-day and original measurement requirements. October9 preparation must rebind the actual write day and obtain fresh exact packet approvals before live dispatch.
schlessera commentedon Oct 9, 2026
2026-10-09 correction: #1296/#1334 and #756 are delivered; their former blocker statements are folded into the current body. The scoped #1298 keyless correction is active. Supplemental actual SDK/native292 Skill lookup returned Unknown skill: content-hygiene despite fixture materialization; #1394 records the separate baseline source-loading decision before a scored comparison. Original fixture settings/hooks, inputs and empirical criteria remain unchanged/open. Existing CLI/transport/closure controls establish their named behavior, not Skill lookup or model quality. No inference ran.
schlessera commentedon Oct 10, 2026
Paid-admission preparation for #842 is delivered by #1451, squash
793a9ffe, with complete14-job ready and exact-squash automatic main proof. Original source/PR history is retained. This closes the #1298 preparation dependency; this empirical issue remains open with every original dataset, matrix, runtime/model pin, bound and qualification. Independent review, calibration, actual comparisons/charges and recommendations remain required. Any changed future paid-use tree requires fresh preparation and approval; no inference, semantic approval or adoption result follows.chore(evals): keep the open #838 candidates' authored cases as data
chore: remove the #838 spike evaluation machinery (#1542)