Skip to content

fix: cora full-scan 2026-10-01 triage — 4 minors (ACP empty-prompt turn, permission-reply hang, 2 doc notes) #155

Closed

Description

@ajianaz

What (description of the change)

Triage backlog for the 2026-10-01 full cora scan on develop (1e4dc9b, post-0.5-train). The scan found 4 issues — all MINOR, no MAJOR/CRITICAL (the 0.5-train's 5 merged PRs each went through per-PR cora review + CI Cora Review, which is why the full-scan majors count stayed at zero this round; scan variance caveat applies — one run is one sample).

# Sev Location Finding Proposed fix
1 MINOR docs (threat-model/architecture) FR-A1 note misstates the layout: AllowlistApprover lives in tole-core; InteractiveApprover lives in the host and is injected via the Approver trait docs-only amendment
2 MINOR (same doc area, truncated in capture) related enforcement-layer doc wording fix together with #1
3 MINOR crates/tole-cli/src/acp.rs:371 session/prompt with a text-less prompt array (empty, or image-only blocks) produces an empty string that passes the missing-prompt guard and launches a full agent turn on empty input after the array case, reject prompt_text.trim().is_empty() the same way as a missing prompt
4 MINOR crates/tole-cli/src/acp.rs:108 a permission reply carrying the matching id but neither result nor error falls through route_reply; the waiting thread blocks for the full 600s PERMISSION_TIMEOUT before failing closed unrecognized reply shapes should fail closed immediately, same as explicit error replies

Also noting for the record: the FIRST scan run this day returned a false clean — all 17 batches skipped on empty LLM responses (provider rate-limit). "No issues found" from a run whose batches were skipped is not a scan; the valid result above is from the retry after a cooldown.

Why (the problem you're solving)

Standing post-merge discipline: every full scan's findings get triaged on the merits. All four are minor and none blocks a release, but #3 and #4 are real ACP-protocol robustness gaps worth one small PR.

Testing (how you verified this works)

n/a — triage issue; fixes land as separate PRs referencing this one.

Activity

  1. added
    chore
    on Oct 1, 2026
  2. ajianaz commented on Oct 1, 2026

    @ajianaz
    ContributorAuthor

    All four minors fixed in #156 (merged f549cad): empty-prompt guard + permission fail-closed in acp.rs, FR-A1 doc note corrected in docs/prd.md. Findings #1/#2 were the same doc-area wording; fixed together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    chore

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions