test: record hermetic predecessor Ding behavior - #118
Merged
myobie merged 1 commit intoJul 31, 2026
Conversation
myobie
marked this pull request as draft
July 31, 2026 01:46
myobie
force-pushed
the
schickling-assistant/2026-07-31-predecessor-ding-migration
branch
from
July 31, 2026 02:02
bede64d to
fd111bc
Compare
myobie
changed the base branch from
schickling-assistant/2026-07-31-task-inventory
to
agent/no-cas-strict-exec
July 31, 2026 02:02
myobie
force-pushed
the
agent/no-cas-strict-exec
branch
from
July 31, 2026 02:21
4205b44 to
3afefa0
Compare
myobie
force-pushed
the
schickling-assistant/2026-07-31-predecessor-ding-migration
branch
from
July 31, 2026 02:31
fd111bc to
c837b76
Compare
myobie
marked this pull request as ready for review
July 31, 2026 02:40
myobie
force-pushed
the
schickling-assistant/2026-07-31-predecessor-ding-migration
branch
from
July 31, 2026 03:40
c837b76 to
0c11fc0
Compare
myobie
force-pushed
the
agent/no-cas-strict-exec
branch
from
July 31, 2026 11:14
3a03ed0 to
d0666e8
Compare
agent-session-id: dev3.dotfiles-cos-misc-agent-runtime-simplification agent-tool: Codex agent-tool-version: 0.145.0 agent-model: gpt-5.6-sol agent-runtime-profile: /home/schickling/.config/coding-agents/profile.json agent-skills-manifest: /nix/store/nk9iml2841l1yjjg0f6f0d3y60zkg1nn-agent-skills-corpus/share/agent-skills/manifest.json tooling-profile: dotfiles@4a0515f
myobie
force-pushed
the
schickling-assistant/2026-07-31-predecessor-ding-migration
branch
from
July 31, 2026 11:26
0c11fc0 to
b88cda0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope
Stacks one opt-in Linux-only hermetic predecessor-behavior gate on merged #119. Relative to exact merged-main dependency
7151d8562fff891a7d2bef6dc02b4980bf115041, this PR adds onlytests/predecessor_ding_migration.rs; it imports no CAS, catalog-authoring lock, authoring, or lifecycle implementation.The fixture demonstrates that one exact public predecessor drains one test-owned Ding sidecar recorded as a legacy numeric PID under isolated, no-concurrency conditions. The current candidate then preserves the provider and adversarial sentinel PTY generations, GCs the dead numeric record, launches one strict versioned Ding generation, and reports a complete typed inventory. Migration declarations are read-only and provider-bearing migration catalogs fail closed.
Production retirement boundary
This test is hermetic predecessor-behavior evidence. It does not exercise concurrent PID/PGID reuse or generation-record replacement. The predecessor still signals a numeric process group, and candidate GC still removes the legacy record by pathname. The test therefore does not authorize production migration or cutover. Issue #121 gates production legacy exec retirement.
Public predecessor receipt
c6846f6239329f0803142afc06c15a07b93937c1src/exec_backend.rswriteschild.id().to_string()to the.pidrecord after spawningdownroutes through that backend. This identifies the exercised code and does not make the signal race-free.docker.io/library/rust@sha256:8fa55b2f3ddf97471ab6a767bfa3f37e6bad0986ba823e75fea57e2a2a5c3073Cargo.lockSHA-25656d7956f328d7525eea04c70f5767acb3bc207c9509e7e2cc332444a4ede2f3eCLI_BUILD_STAMPforc6846f6, thencargo build --locked --release --bin st26493b0284462a5cc8c7eba8d81c0995f6ea4f738ecfb2c848991847b0c0d9624The selected gate validates the complete pin, verifies the binary digest and clean source version before execution, and fails before execution when the artifact is absent or mismatched. It makes no claim about the previously cited unavailable private-store artifact.
Verification
At exact restacked head
b88cda07438f2112884d6e1b572e020e63b7fa8a:cargo test --workspace --all-targets -- --test-threads=1: greencargo clippy --workspace --all-targets -- -D warnings(with the two existing base allowances): greengit diff --check: green30627020420, job91144536356: success at exact restacked heada0937ef3226ac1dfdc158269bddb114a391916f9and binary delta SHA-256caea894054bb7dccdfe78f930ebdda0cc930166e06d95a091115f5bb9a9d2220are identical before/afterReview order
Review and merge the dependency stack base-to-tip: PR #117 → PR #119 → PR #118. Do not merge a child before its base. If a base merge rewrites ancestry, restack the child without semantic change and require a fresh exact-head hosted check before later merge handoff.
All required hermetic local and hosted acceptance gates are green at the restacked head. No live catalog or runtime mutation.