feat(autoheal): Slice E — model real Iskra runtime-repair evidence (now unblocked) #102
Labels
No labels
agent/claude-code
agent/codex
agent/gemini
agent/hermes
agent/iskra
agent/ollama
agent/patchwarden
area:business-model
area:competitive
area:discovery
area:forgejo
area:metrics
area:product-strategy
area:v0-core
cagan-grade-approved
client:platform
dependency/blocked
dependency/blocks-others
dependency/cross-repo
dependency/needs-confirmation
domain:agents
domain:ci
domain:docs
domain:forgejo
domain:infra
domain:memory
domain:runtime
domain:signal
domain:ux
flow/architecture
flow/blocked
flow/deployed
flow/done
flow/implementation
flow/intake
flow/maintained
flow/observed
flow/ready
flow/refining
flow/retired
flow/review
judge/codex-candidate
judge/hermes-candidate
judge/low-confidence
judge/needs-refinement
judge/operator-needed
judge/p0
judge/p1
judge/p2
judge/p3
judge/park
judge/patchwarden-candidate
judge/stale-priority
kind/adr
kind/bug
kind/chore
kind/feature
kind/infra
kind/ops
kind/refactor
kind/research
kind:artifact
kind:decision
kind:dogfood
kind:epic
kind:implementation
kind:research
merge/auto
merge/manual
merge/manual-dependency-conflict
merge/manual-failing-tests
merge/manual-merge-conflict
merge/manual-missing-review
merge/manual-operator-preference
merge/manual-red-zone
merge/manual-security-sensitive
merge/manual-unclear-scope
merge/manual-unknown
mode:operator-only
mode:patchwarden-iskra-approved
mode:safe-auto
observed/erroring
observed/needs-followup
observed/pending
observed/retire-candidate
observed/unused
observed/used
priority:p0
priority:p1
priority:p2
priority:p3
ready-for-agent
review:claude-reviewed
review:codex-reviewed
review:dziadek-reviewed
review:needs-human
safety:external-write
safety:no-prod-mutation
safety:prod-impact
safety:secret-touch
size/large
size/medium
size/small
size/tiny
size/unknown
source/adr
source/agent-generated
source/manual
source/operator-chat
source/voice-note
status:blocked
status:blocked-on-discovery
status:cagan-grade-review-pending
status:codex-ready
status:merged:pending-evidence
status:needs-evidence
status:needs-operator-decision
status:operator-needed
status:parked
tier:0-anchor
tier:0-platform-substrate
tier:1-core
tier:1-iskra-value-layer
tier:2-supporting
tier:2-tools-products-modules
type:bug
type:chore
type:docs
type:feat
type:policy
type:research
wave:1-foundation
wave:2-positioning
wave:3-validation
wave:4-economics
wave:5-operating
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pdurlej/patchwarden#102
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
Extend the runtime-repair evaluator to validate real Iskra evidence shapes — beyond the simplified
{name, status, sha}list it consumes today — against fixtures captured from the now-live auto-heal gate. This is roadmap Slice E (docs/operations/autoheal-roadmap.md).Why now (the blocker is gone)
Slice E was "blocked on real Iskra evidence samples." That condition is resolved: Slice C is live in production since 2026-06-10 (
iskra-openclaw#452—iskra-runtime-repair-gate.service+ hourly timer, e2e-verified, exit 0 /eligible_repair_dry_run). Real evidence bundles + verdicts now exist (produced hourly), so we can fixture against actual shapes.Scope
tests/fixtures/iskra-evidence/. (codex can export these from the iskra-openclaw runner; seeiskra-openclaw-evidence-bundle-spec.md§9.)runtime_repair.pyvalidates against the real fixtures; missing/stale sub-fields fail closed (same discipline as the current sha/status check).Hard boundaries (unchanged)
needs_human(D20).schema_versionbumps only if the verdict shape changes (then update the #76 contract test + examples).Acceptance
blocked.{name,status,sha}bundles still evaluate identically (backward-compatible).M2 / D21
Permitted — evidence model of an existing, shipped capability (not a new product feature).
Refs
docs/operations/autoheal-roadmap.md(Slice E) ·docs/operations/iskra-openclaw-evidence-bundle-spec.md§9src/patchwarden/runtime_repair.py·policies/iskra-openclaw.v0.toml[repair_classes]iskra-openclaw#452(Slice C — live; source of fixtures) · parent#68Created from the 2026-06-16 docs-maturity wave (item #10). Executor: claude (evaluator/schema) + codex (fixture export).
Iskra judgment
pdurlej/patchwarden#issue#102judge/p1,judge/codex-candidateiskraviaopenclawRationale: This unblocked Slice E would make Patchwarden evaluate real runtime-repair evidence shapes instead of simplified placeholders, improving confidence in auto-heal decisions.
Caveat: The issue depends on sanitized real evidence fixtures, so implementation should avoid committing private runtime details.
Structured openclaw.judge.v0 payload
Codex-side fixture export is addressed in #111.
Close basis for the codex half:
iskra-runtime-repair-gate.servicefixture pair undertests/fixtures/iskra-evidence/(supervised_repair_plan__eligible_repair_dry_run__20260622T230042Z.*), with source-run/capture metadata and redaction notes;tests/test_runtime_repair.pythat evaluates the live bundle throughpolicies/iskra-openclaw.v0.tomland compares stable verdict fields;autoheal-dashboardevidence and assertingblocked/runtime_repair_preflight_missing;docs/STATUS.md,docs/operations/autoheal-roadmap.md,docs/status.html, andoperator_status.pyto show Slice E as fixture-export-landed, not merely unblocked.This does not fully close #102 yet: the rich sub-field evidence model/evaluator-schema work remains. #111 references #102 but intentionally does not
Closes #102.Follow-up progress in #111: first rich evidence model is now implemented.
What landed:
runtime_repair.pyrecognizes optionalartifact/payloadenvelopes on evidence items;runtime-truth-report:schema_version,target_sha,generated_at,checks;autoheal-dashboard:schema_version,target_sha,generated_at,summary;openclaw-upgrade-simulator:schema_version,target_sha,generated_at,simulation;target_sha, or red rich status no longer counts and emitsruntime_repair_evidence_shape_invalid;{name,status,sha}bundles still evaluate identically;Verification:
PYTHONPATH=src:. python3 -m unittest discover -s tests-> 509 tests OK.I am still leaving #102 open: the remaining work is to capture or replace the contract-test rich fixture with additional live rich artifact shapes as Iskra starts exporting them, rather than pretending the synthetic rich envelope is a second live production sample.