DGR-028: Implement numbered patch-stack apply and verification #12
Closed
opened 2026-07-16 20:36:02 +00:00 by popov
·
6 comments
No Branch/Tag Specified
Labels
Clear labels
area:admission
area:artifacts
area:attention
area:backpressure
area:batching
area:boundary
area:build
area:certification
area:cleanup
area:compression
area:concurrency
area:deepseek-v4
area:engine
area:failure
area:gitea
area:grpc
area:hardware
area:identity
area:integration
area:kv-cache
area:lifecycle
area:llama
area:long-context
area:maintenance
area:meshnet
area:mhc
area:moe
area:mtp
area:node
area:packaging
area:parity
area:patches
area:performance
area:planning
area:protocol
area:provenance
area:recovery
area:relay
area:release
area:reliability
area:routing
area:routing-state
area:scale
area:scheduler
area:supervision
area:testing
area:tracker
area:upstream
area:weights
area:worker
gate:hitl
milestone:alpha
milestone:beta
priority:p0
priority:p1
priority:p2
ready-for-agent
ready-for-human
status:blocked
status:completed
status:in-progress
status:ready
type:architecture
type:audit
type:benchmark
type:certification
type:collaboration
type:contract
type:delivery
type:domain
type:fixture
type:hardening
type:infrastructure
type:integration
type:operations
type:optimization
type:performance
type:protocol
type:provenance
type:research-spike
type:runtime
type:simulation
type:toolchain
type:tooling
type:vertical-slice
Blocked by incomplete dependencies or human gate
Completed and verified in prd.json
Currently selected by Ralph
Ready for Ralph execution
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: popov/neuron-tai#12
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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?
DGR-028: Implement numbered patch-stack apply and verification
passes: trueAFKM1DGR-027DGR-029,DGR-034,DGR-069area:upstream,area:patches,type:tooling,priority:p0,ready-for-agentmodel-freenonegenericyesObjective / description
Fresh Ralph session: read
.scratch/distributed-gguf-runtime/RALPH-CONTEXT.md, source issue.scratch/distributed-gguf-runtime/issues/028-implement-numbered-patch-stack-apply-and-verification.md, and evidence READMEs for dependencies (DGR-027) before changing code. Inspect live source/tests rather than trusting legacy pass states. Objective: Maintain a minimal auditable llama.cpp delta with one numbered patch per concern.Acceptance criteria
prd.jsonpass, and the evidence handoff records exact commands/results, changed files, limitations, and dependency handoff.Shared quality gates
python -m compileall packages tests.git diff --checkpasses.Evidence handoff
Verified evidence:
.scratch/distributed-gguf-runtime/evidence/DGR-028/README.md. Legacy evidence remains provenance only and grants no implementation completion credit.Dependency DGR-027 / #11 is now completed at
f83cf33. Controller verification against the exact pinned llama.cpp checkout found the pre-existingpackages/node/native/llama/patches/0002-dense-llama-owned-range-loader.patchmalformed:git apply --checkreportscorrupt patch ... line 26. DGR-028 should repair/re-materialize the numbered patch against commite920c523e3b8a0163fe498af5bf90df35ff51d25, then prove clean apply, patched-tree identity, reverse-check, and applicable native gates. This is the story’s concrete first task, not an external blocker.Restart reconciliation: issue remains claimed as
status:in-progressfor the fixed Kimi K3 lane at integration HEAD902ecde. Kimi Ralph preflight is healthy. Scope is DGR-028 only; dependencies and file-scope disjointness were rechecked before launch.Provider interruption after restart reconciliation: Kimi K3 returned an authoritative HTTP 403 billing-cycle usage limit before the continuation session initialized. The fixed Kimi worktree preserves the uncommitted DGR-028 partial patch-stack repair; nothing was reset or discarded. Claim released to
status:readybecause no worker is active. No reset timestamp was provided by Kimi, so none is inferred.Policy audit: Kimi hit an authoritative billing-cycle usage-limit 403 before continuation, and the dirty upstream patch-stack repair remains independently unreviewed. Released to status:ready while preserving the detached worktree; no completion or integration credit is granted.
Policy audit: Kimi hit an authoritative billing-cycle usage-limit 403 before continuation, and the dirty upstream patch-stack repair remains independently unreviewed. Status remains ready; the detached worktree is preserved and no completion or integration credit is granted.
REAL-IMPLEMENTATION CONTINUATION (2026-07-19): the durable workers are now executing repair/verify passes under the hard no-fake/stub/synthetic policy. Fake/in-memory artifacts are being removed and replaced with real generated-gRPC / upstream-patch / runtime-identity behavior. No completion credit is granted until independent review and integrated-branch gates pass.