Follow-ups from the #522 review: --record text, repro state dir, per-rep cleanup

Open
#711 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

  • #712 by @simin-yuan — closed without merging

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
54/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python, typescript

Research direction

Read the #522 review and inspect repro-request-id-replay.py and dogfood-claude-code.py, along with the Claude Code dogfooding report at line 209. Check how the runner handles --record and ACS_GUARDIAN_STATE_DIR, then run the repro and dogfood scripts to observe their output and process cleanup. Done when the report matches runner behavior, repro data stays in a temporary directory, and each rep's results are saved while its processes are stopped even after failure.

Written by the indexing model from the issue text.

Description

Three items Rock listed on #522 for a later PR:

  • Line 209 of the Claude Code dogfooding report says --record writes an empty file on a tree
    without the recorder; the runner writes no file and returns an empty list. The report should
    also say where the recorder commit lives.
  • repro-request-id-replay.py starts the Guardian without ACS_GUARDIAN_STATE_DIR, so each run
    writes to ~/.cache/acs-guardian-state.
  • In dogfood-claude-code.py, a failure in one rep stops the run, loses finished reps, and leaves
    the stub and Guardian running.

Done when: the report text matches the runner, the repro script writes only to a temporary
directory, and each rep is wrapped so results are written per rep and the processes are always
stopped.

Dominant language
TypeScript
Stars
183
Forks
56
Avg merge
3d 1h
Merged PRs (30d)
67

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GenAI-Security-Project/agent-control-standard

All issues in GenAI-Security-Project/agent-control-standard

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.