Repository navigation
verify-agent-server: a daily maintenance pass - #5727
Conversation
The weekly maintenance pass proves every family live, which does not fit in a day. Following verify-openhands' daily pass, references/daily.md drives the families changed since the recorded baseline, one smoke recipe per family, and a date-derived rotation that covers every family's full recipes once a week. The CLI gains what keeps that stateless between runs: - map baseline [--set SHA]: read or move the index's baseline line - map rotation [--date]: today's families for the full-recipe slice - map owners with no arguments diffs from the baseline, and lists families - evidence report --baseline: what changed against an earlier ledger - map check validates the baseline line Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0156LdhCQX5Un8928QWjHcST
…ly pass The SDK map (21 families, 458 sub-features) records what a Python program sees when it uses the SDK directly, with each row linking its unit test, example and integration task. It gets the same upkeep as the agent-server map: a Maintenance baseline line, maintenance.md for the weekly pass and daily.md for the delta pass (changed families, a smoke bullet per family, a weekly rotation). sdk-map (standard library only) checks structure, counts and every cited path, routes changed files to families, reads and moves the baseline, names the day's rotation, replays a family's sh blocks into a ledger (skipping model-backed blocks without a key), and compares ledgers. The first check found four sub-features no Driving bullet named; they now have one. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0156LdhCQX5Un8928QWjHcST
REST API breakage checks (OpenAPI) — ✅ PASSEDResult: ✅ PASSED |
A sub-feature named by a unit bullet and a model-backed bullet was recorded as blocked when the model bullet ran last. Rows are now written once per feature at the end of the run: fail if any bullet failed, pass if one passed, blocked only when nothing that ran could prove it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0156LdhCQX5Un8928QWjHcST
Updated the description of the daily maintenance procedure to clarify its relation to the weekly pass and the use of `map baseline` and `map rotation`.
Clarify the wording regarding the daily pass and its purpose.
- sdk-map run judges tests/integration/run_infer.py by its results.json (fresh --output-dir, every requested test present and successful), because the runner exits 0 when tests fail. - Each block runs in its own process group, killed on exit, timeout or interruption, so nothing a recipe starts outlives it. - evidence report --baseline (both CLIs) and sdk-map report take the newest attempt per feature by recorded time, not by --runs order, and list conflicting attempts. - Only example scripts, tests/examples/ and run_infer.py need a model: deterministic pytest under tests/integration/ runs without a key, and mixed blocks run their deterministic statements. Ledger rows record which kinds of proof passed (deterministic, example, integration). - The weekly rotation uses a continuous day count, so it no longer restarts on January 1. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0156LdhCQX5Un8928QWjHcST
Drop the smoke and rotation tiers and the map rotation / sdk-map rotation verbs. A daily pass drives the families changed since the baseline (plus closed-issue and new-bug rows) and stops early when BASE equals TARGET. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0156LdhCQX5Un8928QWjHcST
This PR keeps only the verify-agent-server daily pass. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0156LdhCQX5Un8928QWjHcST
all-hands-bot
left a comment
There was a problem hiding this comment.
Review: COMMENT — deferring approval to a maintainer (the repo review guide forbids REQUEST_CHANGES, so this is the correct signal for a material finding).
Reviewed head cd5ab84 against .agents/skills/custom-codereview-guide.md.
Verified on the current head
uv run pytest tests/cross/test_verify_sdk_skill.py tests/cross/test_verify_agent_server_skill.py -q→ 67 passed.sdk-map check/owners/baseline/rotationandcontrol-agent-server map check --no-routes/baseline/rotationall return clean JSON. The newMaintenance baseline: main@<sha> (<date>)line parses, and the rotation covers all 21 SDK families (and all 34 agent-server families) with no duplicates across a week. The skills are non-product tooling, so the compatibility/security checkpoints don't apply.
Material finding — current-head CI is red
Validate PR description (PR Description Check) fails on this head (runs 38447873636 / 38447763020 / 38447654541). check_pr_description.py reports two errors:
- The first visible line of the PR description must be
HUMAN:— the_Requested by **Engel** · [project thread]…_attribution line precedesHUMAN:, so it is the first visible line. - Link an issue in the
## Issue Numbersection — the section readsNone., and noFixes/Closes/Resolves #Nappears elsewhere in the body.
Both are author fixes (move/remove the attribution line so HUMAN: is first; link the issue or add the required reference). Until they land the head cannot pass its own gate, so I'm not approving.
Notes (non-blocking)
- The pass reports 11 failing rows (the S18 backends bullet:
test_agent_sandbox_workspace.py::test_exit_preserves_parent_lifecycle_and_cleanupflaking once) as "a product finding to file". Filing that issue with the transcript is part of the pass's own rules — has it been filed? sdk-map ownersflagsopenhands-sdk/openhands/sdk/utils/redact.pyas an unowned product path. The index's "Not mapped" section reasons aboututils/in general; a one-line reason on that path would close the gap the pass itself reports.
This review was generated by an AI agent (OpenHands) on behalf of the user.
|
I'm an AI agent helping Engel Nyst (@enyst) with project work. Thanks for the review. Here is where each point stands:
The Generated by Claude Code |
all-hands-bot
left a comment
There was a problem hiding this comment.
This review was posted by an AI agent (OpenHands).
Reviewed head 6d1c160 against .agents/skills/custom-codereview-guide.md. enyst replied after the earlier bot review, so this is a fresh pass.
Verified on the current head
uv run --frozen pytest tests/cross/test_verify_agent_server_skill.py -q→ 45 passed.ruff checkon the two changed Python files → clean.control-agent-server map check→ok: true, 34 files, 935 ids.map baseline→main@8ba966d1…, 43 commits since.map owners(no args) diffsbaseline..HEADand lists 25 changed families plusunowned_product_paths.evidence report --baselineworks with both a run directory and a bareledger.jsonl; comparison is ordered by each row'sattime, so--runsorder cannot change the verdict (confirmed bycompare_ledgersand by direct CLI runs against a synthetic ledger).- The prior blocking item — PR description — is resolved:
HUMAN:is now the first visible line and## Issue NumberlinksFixes #5751. The latestValidate PR descriptionrun on this head (2026-10-13T19:20) is green; the twofailureconclusions belong to superseded runs from 18:54. All current-head checks pass. - Linked issue #5751 is open with
ready-for-dev; the acceptance criteria (daily.md present and linked;map baseline [--set]read/move; baseline validation inmap check;map ownersno-arg delta;evidence report --baselineorder-independent) are delivered on this head.
Scope
The change is confined to the repo-owned verify-agent-server skill and its cross test; non-product tooling, so the compatibility/security checkpoints do not apply. The SDK map this PR used to carry is correctly moved out to #5750.
No material correctness, security, compatibility, or acceptance-criterion defect found.
✅ APPROVED
HUMAN:
This PR adds a daily pass and updates the map
AGENT:
I'm an AI agent (Claude Code) helping Engel Nyst (@enyst) with project work.
Requested by Engel · project thread
Why
Before:
verify-agent-serverhad a weekly maintenance procedure but no daily one.After: it gets the mechanism
verify-openhandsuses in OpenHands/OpenHands. AMaintenance baselineline in the map index, the weeklymaintenance.md, and a dailydaily.mdthat drives only the families changed since the baseline (plus rows whose linked issue closed and new bug issues that name a mapped feature), and stops early when nothing merged. A pass files product bugs and never fixes them.The in-process SDK map (
verify-sdk) that this PR used to carry now has its own PR: #5750.Summary
references/daily.md, linked fromSKILL.md,maintenance.mdandadaptation.md.map baseline [--set]reads or moves the baseline line;map checkvalidates it (nowmain@<sha> (<date>)).map ownerswith no arguments diffs from the baseline and lists the families.evidence report --baselinelists newly failing, newly passing, not-checked and conflicting rows. Ledgers are compared by attempt time, so--runsorder does not change the verdict.Issue Number
Fixes #5751
How to Test
Results: 45 tests pass,
map checkreports no problems, and pre-commit is clean on the changed Python files.Type
Notes
A daily routine for the map should be set up after this merges. #5728 also edits
control_agent_server.py(known-bug markers); the two touch different functions.🤖 Generated with Claude Code
https://claude.ai/code/session_0156LdhCQX5Un8928QWjHcST