Stabilize extraction identity and keep long startups alive #417
No reviewers
Labels
No labels
code-review
correctness
dos
performance
security
severity/high
severity/low
severity/medium
tech-debt
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
h-dv/code-index!417
Loading…
Reference in a new issue
No description provided.
Delete branch "codex/stable-extraction-identity"
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?
Core/worker release labels currently invalidate unchanged extraction, and a long successful startup can consume the idle timeout before approval polling begins. This change gives extraction a conservative identity independent of release/Git labels and starts a fresh idle window after successful initial reconciliation and activation re-arm.
Local validation before the focused freshness correction: 5,039/5,039 normal tests and 37/37 serial timing tests; all-workspace/all-target strict Clippy (including first-party-tests), strict documentation and workspace doc-tests passed. The 61-second real-daemon startup regression passes; removing only the idle-clock reset makes it fail with the reported immediate-exit sequence. Fingerprint tests cover actual production emit(), real-tree version-only changes and semantic negative controls; live/approval grant projections and cross-binary activation/query tests pass.
The freshness follow-up passed the daemon library, snapshot, bounded-freshness and module-layout suites plus strict daemon Clippy. Both deliberate mutations (uncapped list and omitted deleted-path name) fail the deterministic tests; the production cap and budget remain unchanged. Final source-head CI passed: Linux 5,041/5,041 normal and 37/37 timing tests, native Windows 4,823/4,823 normal and 27/27 timing tests plus installer validation, daemon transport, OSS corpus, all 11 language-package suites/corpora and both pilot compatibility lanes.
One initial conservative rebuild is expected when entering the new identity contract. Source/dependency/compiler/configuration changes within the boundary can still rebuild. Schema 88, fact ABI 1.4, guest ABI 2, SDK versions and signed language-package bytes are unchanged. Bounded recovery across package upgrades (#410) and the cache backend/reuse problem (#408) remain separate work.
Closes #409. Closes #412. Closes #414. Closes #415. Closes #416. Closes #418.
buildagent referenced this pull request2026-10-23 05:29:28 +02:00