Skip to content

fix: scan-3 security/spec surfaces — hooks env, cora_search guard, uteke spec, mcp flags, chat scope - #129

Merged
ajianaz merged 1 commit into
developfrom
fix/scan3-security-specs
Sep 22, 2026
Merged

ajianaz merged 1 commit into
developfrom
fix/scan3-security-specs

Conversation

@ajianaz

@ajianaz ajianaz commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

What (description of the change)

Five scan-3 MAJOR fixes on security/spec surfaces:

Why (the problem you're solving)

Scan-3 follow-ups on today's feature burst: secret-leak surface (hooks), tool-argument injection surface (cora_search), tool-spec honesty (uteke_document), subcommand flag correctness (mcp), and REPL flag lifecycle (chat).

Testing (how you verified this works)

  • Full workspace suites green; both feature profiles build; clippy -D warnings clean; cora review: No issues found.
  • Hooks env scrub uses the same scrub_env_for_child helper covered by the run_command/memory suites; the cora_search guard mirrors the uteke_recall pattern; the mcp plan-mode path exercises the retain_read_only() logic unit-tested in feat: plan mode — read-only planning constraint (#109) #112.

@github-actions

Copy link
Copy Markdown

🔍 Cora AI Code Review

No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

… guard, uteke spec truth, mcp plan-mode, chat flag scope

- hooks: hook subprocesses scrub secret-shaped env like every other
  child spawn (scan-3 #23).
- cora_search: leading-dash query guard, mirroring uteke_recall
  (scan-3 #32).
- uteke_document spec no longer advertises title/tags that execute()
  silently drops (scan-3 #33).
- tole mcp honors --plan-mode (read-only served registry) and loudly
  rejects --on-pretool/--on-posttool (scan-3 #9).
- chat REPL dropped_message scoped per message (scan-3 #8).
@ajianaz
ajianaz force-pushed the fix/scan3-security-specs branch from cf79049 to 36b7758 Compare September 22, 2026 16:31
@ajianaz
ajianaz merged commit 3af9b00 into develop Sep 22, 2026
16 checks passed
@ajianaz
ajianaz deleted the fix/scan3-security-specs branch September 22, 2026 16:35
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