[Kernel][G03] Implement durable candidate-bound product review and remediation #54
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#56 [Kernel][G12] Account for and enforce whole-task budgets across calls, tools and review
Creatidy/creatidy-kernel
#58 [Kernel][G07] Deliver versioned private outcome and full-cost evidence export
Creatidy/creatidy-kernel
#106 Deliver ordinary Program execution with shared pull and managed push handoffs
Creatidy/creatidy-kernel
Reference
Creatidy/creatidy-kernel#54
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Owner: Kernel. Implement the product loop implementation -> verification -> independent review -> remediation -> fresh candidate acceptance with durable operations and finite approved budgets, without manual result copying. Source: shared architecture v1.0, sections 1-8, 9.2-9.4, 10-18 via #46 brief.
Why
Current deterministic task acceptance is not independent semantic review. Repository /deliver-issue is a development workflow and its ten-cycle budget must not be presented as product implementation or copied as user policy.
Current Evidence
At
eb4f4a2956, core/verification.py provides exact EvidenceSubject, optional independent-review evidence and remediation_action. task_execution.py POLICY:91-95 has reviewer_required=False; ports/application.py records rejection and returns rejected, no reviewer/remediation dispatch. #7 proved the domain seam; #32 excluded automatic review dispatch; #15/#19 are development-only. This is source/test inspection, not product loop execution.Scope
Compose existing immutable Attempt/Operation/evidence/finding mechanisms and the proved harness's native cold review/delegation where useful. Persist review intent/claim/semantic receipt, independent input/session identity, verdict/candidate/policy/spec/base/head, findings and remediation lineage. New candidate receives entirely fresh required checks/review. Reconcile platform review separately from substantive verdict; correlate all resources to the task budget.
Acceptance Criteria
Reuse
Retain core verification/remediation/effect journal and bounded local reference scenarios. Evaluate selected harness native review/delegation and Symphony/standard patterns against cold-context, authority, lost-response and persistence guarantees. Exact source/revision/license/service terms, security, dependency maintenance and adversarial tests before adoption. Do not wrap Markdown development commands into product controller.
Dependencies And Priority
Product acceptance prerequisite after approved spec #49, proved harness/control evidence #47, verification/test-child profile #50 and lifecycle #48. Synthetic fixture-first review/remediation remains independently eligible after these existing synthetic prerequisites; it does not wait for #90, #53 or #60. Only a live trusted-development review/remediation path that may create native effects must use an explicit trusted-development profile and consume #90 STOP/uncertainty/settlement facts, with separately authorized Router route and effect scope. An independent verdict is not proof that native effects stopped at expiry or that the reviewer was hostile-worker isolated. Router owns the separately authorized review route; whole-task budget/cost and exports must consume review/remediation facts. No manual owner handoff as integration plan.
Constraints And Permissions
Product attempt/time/cost thresholds require approved user policy, not this session's budget. Synthetic acceptance first; live implementation/review/remediation requires separately authorized inference/service/workspace/effect scopes. Preserve adapters -> ports -> core, no private M5-B dependency, unknown effects before retry and no auto merge/deploy.
Links
Non-Goals
No new review framework, automatic merge, repository-workflow model pin as product architecture or live inference granted by registration.
Implemented the synthetic-first candidate-bound product review/remediation loop in PR #92: #92. It persists independent review receipts and uncertainty, binds fresh evidence to exact candidate subjects, links bounded remediation Attempts, and keeps owner decisions separate from code findings.
make check(1,452 passed, 85 skipped, 106 subtests) andmake package-checkpass. No live inference or external effects were used. Refs #54Completion Evidence
develop: #92b561b106a1bdf2115ef7c836d597aa3e9b2f3176; approved base:66e4ed206fc94d1917bf8e860bc22546e767c8fc; merge commit:40eea02cee517f7b31da01173739b23c510779b0.developis now40eea02cee517f7b31da01173739b23c510779b0; the merge commit is present and the approved head is an ancestor.make check: 1,452 passed, 85 skipped, 106 subtests passed.make package-check: reproducible sdist/wheel, isolated installation and smoke checks passed. PR Actions run #2908 succeeded.