Skip to content

P0 hardening - #16

Merged
camilesing merged 2 commits into
mainfrom
p0-hardening
Sep 13, 2026
Merged

camilesing merged 2 commits into
mainfrom
p0-hardening

Conversation

@camilesing

@camilesing camilesing commented Sep 13, 2026

Copy link
Copy Markdown
Owner

Summary

Testing

  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets --all-features
  • cargo test --workspace --all-features

Checklist

  • Updated docs or comments as needed
  • Added or updated tests where relevant
  • Verified TUI behavior manually if UI changes

- stream idle watchdog: per-event deadline aborts silent stalls into
  the transparent-retry path (stream_idle_timeout_secs, default 120s)
- add byte-stable invocation examples to 9 high-frequency tool
  descriptions
- wire PrefixStabilityManager into the per-step loop (shadow mode),
  emitting PrefixCacheChange on prefix drift
- wrap network-sourced tool results in <external_content source="…">
  at the transcript-push chokepoint; Constitution Tier 6 gains the
  delimiter clause
- absent [network] now resolves to a prompt-default decider; Prompt
  hosts gate through the inline per-input approval (fetch_url /
  web_search / web.run); Network tools excluded from speculative
  early-tool-start
- exec_shell: capture a foreground child's final cwd via a stderr
  sentinel (Unix), validate against the workspace boundary, and fold
  it into Session.cwd post-turn — cd persists across calls, env vars
  don't; foreground now also honors an explicit cwd param (was
  silently dropped)
- edit_file: anchor mode (search_start + search_end) replaces a long
  span by quoting only its first and last lines; unique-start,
  first-end-after-start semantics with the existing diff output
@camilesing
camilesing merged commit c988b35 into main Sep 13, 2026
4 of 8 checks passed
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