Skip to content

fix(#1500): treat fullsend's withheld notice as a final V2 result - #2013

Merged
waynesun09 merged 2 commits into
fullsend-ai:mainfrom
dhshah13:feat/1500-v2-withheld-notice
Nov 14, 2026
Merged

waynesun09 merged 2 commits into
fullsend-ai:mainfrom
dhshah13:feat/1500-v2-withheld-notice

Conversation

@dhshah13

@dhshah13 dhshah13 commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Review and retro treat fullsend's withheld notice as a final Codex V2 result. fullsend-ai/fullsend#9444 has the runtime send RESULT WITHHELD BY FULLSEND (fullsend's codexWithheldNotice) in place of a child's result its security chain blocked, possibly with whitespace around it; a parent now reads that payload as final without a result, so review applies the sub-agent's failure fallback and retro records the gap, instead of taking it for the persona's result.

The V2 rules stay dormant until fullsend emits Dispatch follows collaboration V2., so this can merge before fullsend-ai/fullsend#9444 and both sides match when that one merges.

Part of #1500, fullsend-ai/fullsend#6970 and fullsend-ai/fullsend#9085.

Changes

  • agents/review.md, agents/retro.md: a payload that is RESULT WITHHELD BY FULLSEND, ignoring whitespace around it, joins the V2 final-without-result payloads.
  • scripts/codex-v2-dispatch-contract-test.sh: pins the notice once in each prompt and in each V2 rule body, the way it pins the gate sentence, so a wording change in these prompts fails make script-test. It sees only this repository's copies: feat(codex)!: delegate from collaboration V2 parents fullsend#9444 keeps the same literal, and its codexWithheldNotice comment says a change there needs the same change here.

Testing

  • make lint
  • pre-commit run --all-files
  • bash scripts/codex-v2-dispatch-contract-test.sh (fails when either prompt drops, rewords or repeats the notice)

… result

fullsend-ai/fullsend#9444 has the Codex runtime send exactly
`RESULT WITHHELD BY FULLSEND` in place of a V2 child's result when its
security chain blocks that result. Review and retro now list a payload
that is exactly that notice as final without a result, so review applies
the sub-agent's failure fallback and retro records the gap in `summary`,
instead of reading it as the persona's result.

- agents/review.md, agents/retro.md: the notice joins the V2
  final-without-result payloads.
- scripts/codex-v2-dispatch-contract-test.sh: pins the notice once in
  each prompt and in each V2 rule body, the way it pins the gate
  sentence.

The V2 rules stay dormant until fullsend emits the gate sentence.

Part of fullsend-ai#1500, fullsend-ai/fullsend#6970 and fullsend-ai/fullsend#9085.

Signed-off-by: Dharit Shah <dhshah@redhat.com>
@dhshah13
dhshah13 requested a review from a team as a code owner November 13, 2026 22:22
@qodo-code-review

Copy link
Copy Markdown

PR Summary by Qodo

Treat fullsend's withheld notice as a final Codex V2 result

🐞 Bug fix 🧪 Tests 🕐 10-20 Minutes

Grey Divider

AI Description

• Treat fullsend's exact withheld notice as a final result without content under Codex V2.
• Apply review failure fallbacks and record retro gaps instead of accepting the notice as a child
 result.
• Pin the notice in both agent prompts and V2 rules with contract checks.
Diagram

graph TD
  G{"V2 gate?"} -->|enabled| P{"Withheld notice?"} -->|yes| F["Final no result"] --> R["Review fallback"]
  G -->|disabled| V["V1 rules"]
  P -->|no| N["Child result"]
  F --> T["Retro gap"]
  C["Contract test"] -.-> G
  C -.-> P
Loading
High-Level Assessment

Extending the existing V2 final-without-result lists is appropriate: it preserves each agent's established failure behavior and leaves V1 untouched until the runtime supplies the gate sentence. A separate notice-handling path would duplicate those rules without changing the outcome.

Files changed (3) +13 / -6

Bug fix (2) +6 / -5
retro.mdRecord withheld V2 child results as retro gaps +1/-1

Record withheld V2 child results as retro gaps

• Adds the exact fullsend notice to V2 payloads that end a task without a result. Retro records the gap in its summary rather than treating the notice as the task's findings.

agents/retro.md

review.mdApply review failure fallback to withheld V2 results +5/-4

Apply review failure fallback to withheld V2 results

• Classifies the exact notice as final without a result under the gated V2 rules. The affected sub-agent follows its existing failure fallback instead of contributing the notice as a review result.

agents/review.md

Tests (1) +7 / -1
codex-v2-dispatch-contract-test.shPin the withheld notice in both V2 prompt contracts +7/-1

Pin the withheld notice in both V2 prompt contracts

• Checks that the notice occurs exactly once in each agent prompt and once in each extracted V2 rule body. Documents its relationship to fullsend's runtime notice.

scripts/codex-v2-dispatch-contract-test.sh

@qodo-code-review

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can start a comment with 'qodo' or '@qodo' to chat about any finding

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@fullsend-ai-review

fullsend-ai-review Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 10:24 PM UTC · Completed 10:35 PM UTC

Commit: c8d8ce3 · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $1.32

@fullsend-ai-review fullsend-ai-review Bot added the risk/moderate PR risk: moderate label Nov 13, 2026
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Risk Assessment: moderate (2/5)

Details

Small diff size and dormant gated execution keep baseline risk low, but moderate risk is warranted due to edits across protected paths and high recent churn on core agent instruction files.

Previous run

Risk Assessment: moderate (2/5)

Details

Small diff size and dormant gated execution keep baseline risk low, but moderate risk is warranted due to edits across protected paths and high recent churn on core agent instruction files.

@fullsend-ai-review

fullsend-ai-review Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Review

Findings

Medium


Labels: PR touches the review and retro agent prompts tracked by issue #1500.

Previous run

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJjb21tZW50IiwiZmluZGluZ3MiOltdfQ== -->

Review

Findings

Medium

  • [protected-path] agents/retro.md — This PR modifies protected governance/infrastructure files: agents/retro.md, agents/review.md, scripts/codex-v2-dispatch-contract-test.sh. The PR links issue feat(review,retro): support Codex native sub-agent dispatch alongside fullsend #6970 #1500 and explains the rationale (treating fullsend's withheld notice as a final Codex V2 result), so context is sufficient, but human approval is always required for protected-path changes regardless of context.

@fullsend-ai-review fullsend-ai-review Bot added the requires-manual-review Review requires human judgment label Nov 13, 2026

@waynesun09 waynesun09 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two MEDIUM findings, posted inline.

Comment thread agents/review.md Resolved
…nd it

fullsend's gate passes the withheld notice with ASCII whitespace around
it, so a parent can receive it padded. Both V2 rules now read a payload
that is `RESULT WITHHELD BY FULLSEND`, ignoring whitespace around it, as
final without a result; "exactly" would have taken a padded notice for
the persona's result.

The contract test's header now says it sees only this repository's
copies of the gate sentence and the notice.

Part of fullsend-ai#1500, fullsend-ai/fullsend#6970 and fullsend-ai/fullsend#9085.

Signed-off-by: Dharit Shah <dhshah@redhat.com>
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 11:34 PM UTC · Completed 11:40 PM UTC

Commit: baf9a1c · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.78

@waynesun09 waynesun09 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both findings fixed in baf9a1c: the test and PR body now say it checks only this repo's copies (#9444 keeps the literal and merges after this), and both prompts treat the notice with surrounding whitespace as final, pinned by the contract test.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants