Repository navigation
Real cost telemetry, injection-safe agent handoff, external-verification handover - #10
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…d emit failures - M9: OpenCodeAdapter runs with --format json, keeps a bounded stdout tail per session and reports cost via a new session_cost hook; the supervisor refreshes agent.cost_usd each poll so cost_cap_usd can trigger. Real run captured \.0055/\.0056 per agent. - H1: task text is written to .acc/TASK.md and only a constant pointer prompt reaches the command line (cmd /C expands %VAR% even inside quotes). Spawn smoke test now uses a temp worktree. - L8: TauriEventSink logs emit failures instead of dropping them. - docs: EXTERNAL-VERIFICATION.md documents the remaining external proofs (real vercel deploy, real Supabase provisioning) with exact commands, acceptance criteria and the credential-handling policy. - tests: 188 lib (+3): parse_cost_from_json_lines, test_task_text_never_reaches_the_command_line, test_cost_cap_triggers_from_adapter_telemetry. Gates: Rust 188 + 42; Web 341; tsc/lint clean.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clears the remaining locally-verifiable gaps. External-infra proofs are documented, not faked.
Cost cap (M9) — genuinely closed
OpenCodeAdapternow runs the agent with--format json, keeps a bounded stdout tail per session, and reports the observed cost via a newsession_costadapter hook (largest*cost*value, an upper bound — conservative for a cap).agent.cost_usdfrom the adapter on every poll, socost_cap_usdcan finally trigger (it was inert because nothing populated cost).cost_usd=0.0055/0.0056captured from two concurrent agents.test_parse_cost_from_json_lines,test_cost_cap_triggers_from_adapter_telemetry.Injection residue (H1) — closed
.acc/TASK.md; only a constant pointer is ever passed as an argument. On Windows the agent goes throughcmd /C, which expands%VAR%even inside quotes, so user/spec text in an argument was a real injection vector.test_task_text_never_reaches_the_command_line(hostile text with&,|,%PATH%).L8 — emit failures are logged, not swallowed.
Docs
docs/2026-09-26-defect-closure/EXTERNAL-VERIFICATION.md: exact requirements, commands and acceptance criteria for the two proofs that need external access (realvercel --prod; real Supabase provisioning), plus the credential-handling policy. Vercel CLI is locally authenticated astrac41799, so that proof is one approval away.Gates
Rust 188 lib + 42 integration; Web 341;
tsc/lintclean. Real multi-agent run still green (succeeded, valid handoffs, 55 s).Remaining: L2 (unused IPC constants) — cosmetic, already tracked by the contract snapshot.