[K4] Evidence-based verification, acceptance, remediation, and outcomes #7
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.
Dependencies
No dependencies set.
Reference
Creatidy/creatidy-kernel#7
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
Implement CandidateResult, exact-subject Evidence and Finding records, independent verification, AcceptedResult, bounded remediation, HumanGate distinction, minimal ContextPackage manifests, and local outcome observations.
Why
Worker output is not an engineering result; fresh trusted evidence is required while ordinary defects remain autonomous within finite budgets.
Scope
In scope
Untrusted candidate validation and bindings; evidence producer/version/subject binding; deterministic checks and independent reviewer seam; policy pinning; finding progress/oscillation; remediation Attempts; acceptance decisions; pause versus HumanGate; finite budgets; bounded context manifests; local outcome export with requested/resolved/observed identities and unknown consumption; synthetic two-node lifecycle tests.
Out of scope
M5-B, full Context Compiler, vector database, analytics/telemetry, learned routing, automatic merge/deployment, live Forgejo/Codex, custom policy DSL, and universal correctness claims.
Acceptance Criteria
Constraints
docs/architecture/contracts.md; tests run without private/live/cloud services.Links
docs/adr/0005-authority-and-acceptance.md,docs/adr/0006-context-and-outcomes.md,docs/architecture/successor.mdDelivery ledger for #7 / PR #21
develop, branchissue-7-evidence-verification)06f14f217d0975ff0a5bfc3d5d8c14ae84f331d1max_remediation_cycles = 10;remediation_used = 0 / 10uv run --locked pytest -q tests/test_verification.py10 passed;make check179 passed,make package-checkpassed. Changed files:core/verification.py,core/context.py,core/outcomes.py, and their two focused test modules. Strict candidate/evidence binding, two-node acceptance, finite remediation, and unknown outcome consumption tested with synthetic fixtures. No live service checks claimed.Delivery ledger continuation: review cycle 1, PR #21
06f14f217d0975ff0a5bfc3d5d8c14ae84f331d1->developate41f6928ba77975b1b663250dd91b0b9f819ec53; current PR HEAD reconfirmed unchanged.repository_review; monotone capability floor: taskL4, minimareasoning=5,coding=5,tool_use=5,requires_tool_use=true,requires_reasoning_mode=true; author capability floor unknown (not guessed). Authority/security, lifecycle, exact-subject verification and remediation justify L4.router_selected = zai/glm-5.3/max;dispatched = zai-coding-plan/glm-5.3/max(documented provider-ID adapterzai->zai-coding-plan);routing_result = SELECTED, no harness fallback. Router catalog v4 (updated 2026-09-24), profile policy v8, resource policy v1, degraded=false.ses_f22bb41d3ffeb9dFMiy01xINQ1, requestam-1790418664863-j1ntgr; dispatchREQUESTEDandDISPATCH_VERIFIED: explicit resolutionGLM-5.3 (zai-coding-plan) · maxmatched routed eligible identity. Reviewer completed a fresh full read-only review of this HEAD.substantive_verdict = APPROVEunder### Overall Recommendation;forgejo_review_state = COMMENT;platform_approval_recorded = false. Blocking finding count: 0; blocker IDs: none.platform_identity_limitation: PR author and review account are bothkilo; reviewer records the platform rejectionapprove your own pull is not allowedfor formal APPROVED submission. The persisted COMMENT is not represented as formal approval.remediation_used = 0 / 10.make check(179 passed) andmake package-checkpassed; reviewer independently reran both and focused 15 tests; Forgejo pull_request workflow run #1954 succeeded for exact commit: https://forgejo.creatidy.com/Creatidy/creatidy-kernel/actions/runs/38. Issue criteria covered in review evidence table. Branch-protection rules were inaccessible to this token (admin-write required), so no unobserved formal-approval policy is asserted. PR remains open and unmerged; issue remains open.READY_FOR_OWNER_MERGEunder delivery contract, subject to any owner-visible branch policy.