Skip to content

fix: improve dogfood diagnostics and task-aware Light selection - #56

Merged
moruku36 merged 1 commit into
mainfrom
fix/dogfood-diagnostics-task-context
Nov 13, 2026
Merged

moruku36 merged 1 commit into
mainfrom
fix/dogfood-diagnostics-task-context

Conversation

@moruku36

Copy link
Copy Markdown
Owner

Summary

  • Add opt-in bounded rejected-reply quarantine within the existing managed public-document lifecycle; rejected bytes remain untrusted diagnostics, never proposals or receipts.
  • Distinguish Deep authority claims, source mismatches, quotation bounds, non-exact quotations and duplicates with fixed content-free categories; validate the whole reply before returning any proposals.
  • Add optional bounded downstream task/rubric context for Light selection, canonical request binding and optional exact prompt-hash permission. Deep omits context but binds the Light request hash.
  • Preserve independent review/adoption/consumer boundaries and durable no-retry tombstones.
  • Retain PR and main-push static CI checks; install dependencies and execute only four named synthetic cases on PR events.
  • Correct bilingual status: PR55 baseline merged; these new fixes unmerged, not live-accepted.

Verification

Before acceptance corrections, four explicitly selected offline synthetic regression cases passed in one invocation (4 case executions, 0.045 seconds). The later category assertions and workflow/status corrections have not been test-executed. The shared trial has 6 case executions remaining; one PR regression run consumes 4, and retries count again.

Independent source review covered request/prompt binding, immutable quarantine writes, current-control guarded reads and managed purge. Parent reviewed the corrected final implementation and committed/pushed head 1773113e996cf9fec5cc47df1dfe6b8e7ffe044c (11 files). Final corrected diff whitespace check passed. Prior documentation check resolved 744 relative file links across 102 Markdown files; it predates the final wording changes. Exact-head PR CI remains pending; its single authorized run executes four synthetic cases plus static syntax/documentation checks. No live-model calls or performance claims.

Review boundaries

Quarantine raw/metadata writes share one transaction and immutable per-stage slots. Saved valid replies cannot enter quarantine; a saved rejection blocks corrected submission under the same request. Original request/control/source/parent checks apply on diagnostic reads. Raw bytes and context enter the existing managed content inventory, not the separate no-retry sidecar. Parent reviewed the exact final implementation before this approved review-PR publication. This feature is committed and pushed; merge and live acceptance remain outside this PR publication.

Limits

Quarantine is disabled by default, bounded, immutable and current-control guarded. It covers only eligible returned protocol failures, not transport errors, pre-return oversized output or crashes. A standalone offline quarantine API verifies invalid saved bytes, not provider origin or execution. Opt-in retention does not itself redact hostile/private output; diagnostic access and exports require the host's existing privacy discipline.

Managed purge cannot erase remote/provider copies, caller buffers, exports, backups or stopped-process deadlines. Prompt/context hashes identify bytes, not permission from source text or semantic correctness. No automatic adoption, new retry credit or historical replay is introduced. These offline development checks do not establish live usefulness, general quality or full-cost acceptance. No merge requested.

@moruku36
moruku36 merged commit c3cba95 into main Nov 13, 2026
1 check 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