Skip to content

fix: scan-3 follow-ups — mcp flags, chat flag scope, hook env, cora_search guard, uteke spec - #128

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

ajianaz merged 1 commit into
developfrom
fix/scan3-integrity

Conversation

@ajianaz

@ajianaz ajianaz commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

What (description of the change)

Fixes the five scan-3 MAJORs that are regressions from today's merged features (or adjacent surfaces they exposed):

Why (the problem you're solving)

Full-scan hygiene on the same day's feature burst: the scan sees cross-cutting behavior (subcommand flag handling, flag lifecycle, child-process env) that per-PR diff reviews miss. Each item is a real regression or an exposed gap, verified against source before fixing.

Testing (how you verified this works)

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

… scrub, cora_search flag guard, uteke spec truth

- tole mcp: --plan-mode now filters the SERVED registry to read-only
  tools and --on-pretool/--on-posttool error out loudly instead of
  being silently ignored (scan-3 #9 — global args parsed but
  unhandled by the mcp subcommand).
- chat REPL: dropped_message is scoped per message; previously one
  drop warned on every later message forever (scan-3 #8).
- 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) — the spec now matches reality.
@github-actions

Copy link
Copy Markdown

🔍 Cora AI Code Review

No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

@ajianaz
ajianaz merged commit f5a6bba into develop Sep 22, 2026
16 checks passed
@ajianaz
ajianaz deleted the fix/scan3-integrity branch September 22, 2026 16:31
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