Skip to content

Commit edc633b

Browse files
fix: bound agentic dogfood diagnostics (#119)
1 parent 6ac3432 commit edc633b

8 files changed

Lines changed: 426 additions & 133 deletions

File tree

src/codex_usage_tracker/cli/main.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,8 @@ def _run_dogfood_agentic(args: argparse.Namespace) -> int:
332332
evidence_limit=args.evidence_limit,
333333
privacy_mode=args.privacy_mode,
334334
refresh=args.refresh,
335+
run_hypotheses=args.hypotheses,
336+
run_deep_investigations=args.deep_investigations,
335337
write_markdown=args.markdown,
336338
)
337339
if args.as_json:
@@ -346,6 +348,8 @@ def _run_dogfood_agentic(args: argparse.Namespace) -> int:
346348
f"old={report['family_checks']['old_passed']} "
347349
f"new={report['family_checks']['new_passed']}"
348350
)
351+
print(f"Progress: {report['progress']['percent_complete']}%")
352+
print(f"Cache keys: {', '.join(report['cache']['cache_keys']) or 'none'}")
349353
print(f"Privacy checks: {report['privacy_checks']['passed']}")
350354
return 0
351355

src/codex_usage_tracker/cli/parser.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,16 @@ def _add_dogfood_agentic_parser(
240240
dogfood.add_argument("--thread")
241241
dogfood.add_argument("--include-archived", action="store_true")
242242
dogfood.add_argument("--evidence-limit", type=int, default=5)
243+
dogfood.add_argument(
244+
"--hypotheses",
245+
action="store_true",
246+
help="Run slower full hypothesis evidence scans instead of quick routing checks.",
247+
)
248+
dogfood.add_argument(
249+
"--deep-investigations",
250+
action="store_true",
251+
help="Also run the slower full usage_investigate dogfood paths instead of reusing action brief findings.",
252+
)
243253
dogfood.add_argument(
244254
"--refresh",
245255
action=argparse.BooleanOptionalAction,

0 commit comments

Comments
 (0)