Skip to content

release: better har recording!#6

Merged
kalil0321 merged 2 commits into
mainfrom
fix/har-recording-10ex
Dec 26, 2025
Merged

release: better har recording!#6
kalil0321 merged 2 commits into
mainfrom
fix/har-recording-10ex

Conversation

@kalil0321
Copy link
Copy Markdown
Owner

No description provided.

@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@kalil0321 kalil0321 merged commit 094d968 into main Dec 26, 2025
1 check passed
@kalil0321 kalil0321 deleted the fix/har-recording-10ex branch December 27, 2025 23:22
shaneholloman pushed a commit to shaneholloman/reverse-api-engineer that referenced this pull request May 6, 2026
Implements the first two items of the agent-friendliness backlog (kalil0321#62):

kalil0321#1 TTY-detect at REPL entry
  Without a TTY and no subcommand, the prompt_toolkit REPL would block on
  stdin forever. Now detects `not sys.stdin.isatty()`, prints `--help` to
  stderr, and exits 2 (misuse). Subcommands are unaffected.

kalil0321#2 engineer --json / --no-interactive
  Mirrors the agent-mode contract (PR kalil0321#61): --json redirects Rich output
  to stderr and emits a stable JSON payload on stdout. New helper
  `_build_engineer_payload` produces the schema {schema_version, status,
  run_id, prompt, fresh, script_path, usage, error}. KeyboardInterrupt
  surfaces as `error: "interrupted"`. Exit codes: 0 ok, 1 runtime error.
  --no-interactive is reserved for symmetry (engineer mode has no
  questionary prompts internally).

Also surfaces `--json` / `--no-interactive` in the root --help (item kalil0321#6
partial).

Adds tests/test_cli_followups.py (14 tests) covering TTY-detect end-to-
end via subprocess, _build_engineer_payload edge cases, and the click
wiring for engineer --json (success, not-found, KeyboardInterrupt,
exception, prompt-vs-fresh threading).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

1 participant