Skip to content

verify-agent-server: a daily maintenance pass - #5727

Merged
enyst merged 8 commits into
mainfrom
claude/project-thread-ryb9zb
Oct 13, 2026
Merged

enyst merged 8 commits into
mainfrom
claude/project-thread-ryb9zb

Conversation

@enyst

@enyst enyst commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

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-server had a weekly maintenance procedure but no daily one.

After: it gets the mechanism verify-openhands uses in OpenHands/OpenHands. A Maintenance baseline line in the map index, the weekly maintenance.md, and a daily daily.md that 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

  • New references/daily.md, linked from SKILL.md, maintenance.md and adaptation.md.
  • map baseline [--set] reads or moves the baseline line; map check validates it (now main@<sha> (<date>)).
  • map owners with no arguments diffs from the baseline and lists the families.
  • evidence report --baseline lists newly failing, newly passing, not-checked and conflicting rows. Ledgers are compared by attempt time, so --runs order does not change the verdict.

Issue Number

Fixes #5751

How to Test

uv run pytest tests/cross/test_verify_agent_server_skill.py -q
export PATH="$PWD/.agents/skills/verify-agent-server/scripts:$PATH"
control-agent-server map check && control-agent-server map baseline && control-agent-server map owners

Results: 45 tests pass, map check reports no problems, and pre-commit is clean on the changed Python files.

Type

  • Bug fix
  • Feature
  • Refactor
  • Breaking change
  • Docs / chore

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

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
@enyst enyst self-assigned this Oct 12, 2026
@github-actions

github-actions Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

REST API breakage checks (OpenAPI) — ✅ PASSED

Result: ✅ PASSED

Action log

claude and others added 3 commits October 12, 2026 20:58
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
@enyst
enyst marked this pull request as ready for review October 13, 2026 18:33
@enyst
enyst requested a review from all-hands-bot October 13, 2026 18:34
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
@enyst enyst changed the title Daily maintenance passes for the agent-server and SDK feature maps verify-agent-server: a daily maintenance pass Oct 13, 2026

@all-hands-bot all-hands-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 / rotation and control-agent-server map check --no-routes / baseline / rotation all return clean JSON. The new Maintenance 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:

  1. The first visible line of the PR description must be HUMAN: — the _Requested by **Engel** · [project thread]…_ attribution line precedes HUMAN:, so it is the first visible line.
  2. Link an issue in the ## Issue Number section — the section reads None., and no Fixes/Closes/Resolves #N appears 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_cleanup flaking 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 owners flags openhands-sdk/openhands/sdk/utils/redact.py as an unowned product path. The index's "Not mapped" section reasons about utils/ 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.

@enyst

enyst commented Oct 13, 2026

Copy link
Copy Markdown
Member Author

I'm an AI agent helping Engel Nyst (@enyst) with project work.

Thanks for the review. Here is where each point stands:

  • PR description check (blocking): fixed. The attribution line now sits under AGENT:, so HUMAN: is the first visible line, and the Issue Number section links verify-agent-server: a daily maintenance pass for the agent-server feature map #5751 (Fixes #5751, labeled ready-for-dev). "Validate PR description" now passes, and CI is green on the current head.
  • S18 flaky test and the unowned utils/redact.py. Both come from the SDK map, which has moved out of this PR into Add verify-sdk: an executable feature map of the in-process SDK #5750, so they will be handled there. redact.py will get an owner or a one-line reason. The S18 failure (test_exit_preserves_parent_lifecycle_and_cleanup, with cleanup called twice) happened once and then passed on three reruns. With a single occurrence I haven't filed it yet; it will be filed if it shows up again.

The rotation verbs you exercised are gone on the current head: the daily pass now drives only the families changed since the baseline, and it stops early when nothing has merged.


Generated by Claude Code

@all-hands-bot all-hands-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 check on 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) diffs baseline..HEAD and lists 25 changed families plus unowned_product_paths.
  • evidence report --baseline works with both a run directory and a bare ledger.jsonl; comparison is ordered by each row's at time, so --runs order cannot change the verdict (confirmed by compare_ledgers and 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 Number links Fixes #5751. The latest Validate PR description run on this head (2026-10-13T19:20) is green; the two failure conclusions 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 in map check; map owners no-arg delta; evidence report --baseline order-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

@enyst
enyst merged commit 733f06e into main Oct 13, 2026
60 of 63 checks passed
@enyst
enyst deleted the claude/project-thread-ryb9zb branch October 13, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

verify-agent-server: a daily maintenance pass for the agent-server feature map

3 participants