Repository navigation
Description
Summary
Standard scans need to distinguish active worker/tool activity, completed review, and unavailable progress information. Live output and saved history should agree about the phase and completed work.
The original generic-heartbeat complaint has been partly addressed. The remaining problem is that activity can occur before durable review results are published, while counters or saved phase information still imply that nothing has happened.
Current status — 19 October 2026
- feat: show live security scan progress #261 added the live activity dashboard.
- fix(cli): show file scope until scan review progress begins #464 improved the display of unknown review counts.
- fix: advance scan progress when saving drafts #882 advances progress when drafts are saved.
- fix(sdk): report worker sessions without model progress markers #962 exposes observed worker sessions.
- fix(dashboard): keep dashboards responsive and show observed usage #1276 improved live usage display and dashboard responsiveness.
Completed-review receipts and reconciliation between live progress and saved history remain related open work in #829 and #1596. An observed worker or file read is not itself proof that review is complete.
Historical observations and correction
The original CLI 0.1.1 Standard scan printed a generic Running scan heartbeat for roughly 43 minutes. It then completed successfully at 44:13 and produced findings and saved artifacts. The initial concern was missing observability, not a confirmed hang.
A later 0.1.16 synthetic three-file run hit its $3 estimated-cost limit after 4 minutes 28 seconds. The terminal showed Files: 0/3, while saved state still said phase=preflight with zero completed review items.
The follow-up corrected the suspected cause: rollout evidence showed a coordinator, five workers, and 53 sandboxed commands reading source and guidance. There was no demonstrated sandbox or ARM64 execution stall in that controlled run. Review work was active behind the zero counters, and workers started at different times before the limiter stopped them.
Remaining expectations
- Distinguish an active request, worker/tool activity, and completed review using the evidence available for each.
- Display unknown counts as unknown rather than inventing zero completed work or a planned total.
- Persist phase/review progress consistently with the live display and completed-review receipts.
- Show when the last meaningful progress was observed without treating a quiet model request as proof of a hang.
- Preserve accurate progress when the scan stops before its first result is committed.
The historical proposal for a no-progress watchdog is separate from the requested truthful reporting. Any watchdog would need to account for actual worker/tool activity and normal long-running requests.
Related issues
#29 covers usage freshness and ChatGPT allowance, #956 covers dispatch timing for CI guards, and #187 covers a durable session-artifact index. These provide different evidence and should not be treated as interchangeable fixes.
Activity
hujm2023 commentedon Jul 29, 2026
Update: the scan completed successfully at
44:13.Final summary:
The manifest and turn are both marked
completed; exit code2was expected because coverage waspartial. All documented result artifacts (scan-manifest.json,findings.json,coverage.json,report.md, and SARIF) were generated.The observability concern remains: from
[01:00]until completion at[44:13], the only CLI output was the generic once-per-secondRunning scanheartbeat. There were no phase transitions, worker progress updates, cost updates, or other signals that distinguished this healthy 43-minute in-flight request from a stalled scan.mldangelo-oai commentedon Aug 3, 2026
Related observability/cost work has several separate scopes: #63 adds verbose scan diagnostics; #29 asks for ChatGPT allowance visibility; #187 requests rollout-session retention; and #31 / #198 address overlapping cost-polling work. None of those changes alone establishes that a long-running scan is making useful forward progress, so they should be linked without treating this request as a duplicate or already fixed.
mldangelo-oai commentedon Aug 15, 2026
The live activity dashboard landed in #261, but Standard scans can still display an unverified
0 / N reviewedcount. Keeping this open for accurate phase, activity, and completed-review reporting.[-]Standard full-repository scan shows only generic heartbeat for 40+ minutes — expected behavior?[/-][+]Show truthful Standard scan progress and completed review activity[/+]blodebole commentedon Aug 20, 2026
Additional reproduction: Standard scan remains in preflight until cost limit
We hit a stronger version of this failure with a very small path-scoped Standard scan: the scan never published a preflight check or review-item completion and stopped only when
--max-costaborted it.Environment
@openai/[email protected]0.1.220.148.0-alpha.8gpt-5.6-sol, reasoning effortxhigharm64under OrbStack's Docker engine on Apple SiliconObserved
Across Standard runs:
scans.phaseremainedpreflightfor the whole run;scan_progress.review_items_total = 0andreview_items_completed = 0;preflight_checks_total = 0andpreflight_issues_json = [];reviewing files (...) | Files: 0/2;CODEX_SECURITY_LOG_LEVEL=debug --verboseemitted onlycost.updatedevents, with no shell, helper, sandbox, or source-read activity;scans.failure_message.Sandbox controls
An earlier run had a real Docker seccomp failure preventing Bubblewrap user-namespace creation. That is separate and was eliminated before the reproduction above.
Using the exact post-seccomp container flags and runtime user, a quota-free probe through the bundled Codex sandbox wrapper:
_bundled_plugin/scripts/config_preflight.pysuccessfully;status: ready;The same sandbox behavior was reproduced on Linux
x86_64, weakening an ARM64-runtime explanation.--read-onlyandno-new-privilegesdid not affect the helper result.Interpretation
The evidence is consistent with a model/orchestration loop before the Standard-scan agent invokes or publishes capability preflight, rather than a long source-review turn or a Bubblewrap failure. Because the saved session rollout was deleted during credential cleanup, we cannot provide the raw event stream; the workbench counters and verbose-output summary above were captured before cleanup.
Expected behavior
If the agent has not invoked or published preflight after bounded turns/time, stop with a diagnostic before further model usage. At minimum, distinguish an active model request from repeated no-progress turns and avoid displaying
reviewing filesbefore preflight has completed.0.1.16was released after this reproduction; its release notes do not mention preflight or progress-loop changes. We plan one bounded seeded-control retry on that version and can report whether the behavior persists.blodebole commentedon Aug 20, 2026
Follow-up with the bounded
0.1.16seeded-control retry:0.1.16; bundled plugin remains0.1.22; Codex remains0.148.0-alpha.8;gpt-5.6-sol/ xhigh.worker.preflight delegation="available" configured_slots=8at 28s, then the terminal switched toreviewing filesat 55s.$3limiter after 4m28s: estimated$3.048526, 2,361,440 input tokens, 2,099,712 cached input tokens, and 23,001 output tokens.Files: 0/3.phase=preflight,review_items_total=0,review_items_completed=0,preflight_checks_total=0,finding_occurrences=0, and no registered artifacts.scoped-source-input.jsonl.Important correction to the initial interpretation: the Codex rollout logs prove that work was occurring behind the zero counters. The run created one coordinator plus five worker sessions and made 53 sandboxed
execcalls. Workers successfully read the three scoped source files, repository context, migrations, security guidance,security-scan/SKILL.md,scan-prologue.md,config-preflight.md, andcore-scan.md. No bubblewrap, namespace, permission, or read-only-filesystem failure occurred. One initial relative-path read used the output directory and failed with file-not-found; the coordinator immediately retried against$CODEX_SECURITY_REPOSITORYsuccessfully.Worker creation was also highly staggered: coordinator at 18:02:05, workers at 18:04:04, 18:04:27, 18:05:35, 18:05:58, and 18:06:22. The final file-specific worker had only seconds before the cost limiter canceled the run.
So this no longer looks like an ARM64/bubblewrap execution stall. It looks like an observability and cost-bounding problem: active pre-publication worker work is represented as zero review items (and SQLite stays in preflight even after the terminal claims reviewing), while the cost cap can cancel all workers before the first result is committed. A cheap no-progress watchdog still seems valuable, but progress should include worker/tool activity; exposing active/completed worker counts and persisting the actual phase would make the CLI truthful.
mldangelo-oai commentedon Oct 8, 2026
Merged #882 advances progress when drafts are saved, and #962 exposes observed worker sessions. Open #829 adds completed-file review receipts; #1276 improves usage display and dashboard responsiveness. These cover parts of this request.
[-]Show truthful Standard scan progress and completed review activity[/-][+]Keep Standard scan progress and saved review activity consistent[/+]mldangelo-oai commentedon Oct 25, 2026
#1757 already refreshes the terminal from saved progress. #1960 addresses the misleading initial
0/N.There are two different things we can save here: #1866 counts files seen in tool output, while #1686 and #1030 propose saving the files reported as reviewed. A file read isn’t a completion receipt. Keeping this open for the receipts and agreement between live and saved counts.