Repository navigation
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
|
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.
Managed Claude/Codex hooks retain observed turn intervals in private SQLite and upload immutable session revisions under explicit repository consent. Captures remain nonbillable pending authorized review. Prompts, replies, transcripts, code, credentials and raw paths stay out of outbound evidence. Usage consent, host trust, outcomes and charging remain separate decisions. Opt-in version
0.2.0-rc.1; stable channels remain unchanged.SQLite contention now has bounded, optional same-process release feedback. A known successful writer commit followed by original authority-lock release may wake one already-waiting connection to the same database. It grants no admission or ACK authority. Errors, rollbacks, unknown releases, queue contention, poison and capacity fall back to the existing timer behavior. No notice is banked for future calls.
An unsuccessful hinted retry disables further hints for that locking operation and restores its unelapsed delay within the original remaining deadline. The 500ms elapsed budget, 14-callback ceiling, no-hint backoff, fresh clock checks, SQLite lock decisions and all durability/authorization/refusal assertions remain. No outer retry or reduced concurrency was added. Independent review caught premature retry-slot exhaustion in the first draft; the coordinator repaired it with a deterministic RED→GREEN regression and deadline/reset/ceiling controls.
The retained-FD command-owner repair preserves original READY/PARK ends, operation/reserve and local cleanup limits, eight-slot fairness, cancellation budgets, retained Child waits, GONE/RELEASE/physical EOF proofs and cohort output withholding. Known EOF sources are omitted. The earlier sibling cleanup-budget review finding was repaired. Streaming pair hashes and one retained guard self-image remain limited to existing coherent-metadata assumptions; the two HookRuntime guard verification windows are both retained.
Validation:21 busy/queue/registry tests and44 paired capture-store cases PASS locally, including the original20-worker/all-success/revision1/90seconds case. The repeated-hint failure regression is RED on the defective draft and GREEN on the repair. Default all-targets check, allfeatures/alltargets Clippy and formatting PASS. Earlier unpaired/local-path fixture setup failures and review findings are retained, excluded from passing claims. Source-fixture images are not normal release artifacts.
The guardian ACK loop now waits on the retained ACK/cooperative-control/pipe descriptors rather than an unconditional 1 ms timer. It retains the original 600 ms clock, scope/local/sibling cleanup ends, reserve, fairness and upstream drain budgets. Readiness/HUP/EINTR only schedule the original next read/pump/Child wait; exact ACK, physical EOF, status, terminal and resource predicates still gate publication. Known EOF is omitted; no hash-verification window was removed.
Validation for current
6dfd10ee6f630664df3a7c49e4231dba1c9d7f50: extracted old-wait seam RED 5 failures/5 controls (not old-native execution), GREEN 246 ownership unit tests, all-feature/all-target Clippy, normal-feature all-target check and formatting PASS. Independent static review found no required repairs. Three fresh normal builds passed. The exact normal paired artifact then passed its first 100-sample qualification: p95 92.635875 ms against <100 ms, cold 436.961041 ms against <1 s, with exact ACK, malformed/altered/replaced-image refusal and privacy controls all passing. Original wait0; no timeout; pair hashes unchanged. Archive SHA25691187ffffec6d440ce2cdbeb2addae9577ec591eddbb6a861fc2a0b9e06e9bc5.This head retains Cargo
zoptimization, matching Unix DEV/TEST paired-fixture settings while preserving fixture assertions/overflow checks, strip/LTO/codegen, dependencies, features and safety bounds. Earlier normal heads remain NONPASS: 2f295d6 p95 102.6995 ms, s profile 100.66075 ms, prior z 102.788209 ms. No unchanged qualification was rerun, rounded into a pass or substituted with a diagnostic artifact. Diagnostic artifacts remain NONPUBLISHABLE.All nine hosted checks passed on 2f295d6. Later 632ad5f Ubuntu CI failed in guarded_usage_negatives.py's first prompt dispatch before negative mutation, reporting PEER_FAILED after the positive suite passed; aggregate failure follows it. No retained hosted artifact explains its underlying child result. That cause remains unresolved and is being investigated; the readiness change is not claimed to fix it. Current
ad2c5c4e9c17f339882d41b91a4a16d9fe8631d6adds failure-only CI fixture diagnostics: closed namespace/matrix/event/phase, cached wait/stdio/endpoint facts at the exception boundary and after original cleanup. Success is silent; diagnostics preserve cleanup and the original exception, perform no added ownership/clock/wait/stream actions, and exclude paths/payloads/free exception text. Independent review found no required repairs and bounded the record at 1,385 bytes. Seven diagnostic, 32 manager and 36 protocol fixtures pass; the new fixture runs explicitly in Linux CI. All 28 prior assertions and existing manager class ASTs remain unchanged. Rust, Cargo and bundled product inputs are byte-identical to the qualified 6dfd10e artifact; it was not rerun unchanged. All nine hosted checks now pass on exact currentad2c5c4e9c17f339882d41b91a4a16d9fe8631d6, including Ubuntu/macOS/Windows tests, Release Smoke, Format, Clippy, Security Audit, version guard and aggregate CI. The previous Ubuntu cause remains unknown; this success is not a causal explanation.Isolated installer/upgrade START commands are now complete on the qualified normal pair: fresh install, idempotent reinstall and status succeeded; synthetic legacy hooks refused migration with exit 3 and unchanged settings; confirmed migration, idempotence, foreign-setting preservation and status then succeeded. Claude 2.1.328 was observed by the installer probe. The original test runner failed after the expected refusal by parsing empty stdout as JSON; that exit 2 remains retained. Only unexecuted remaining commands resumed after correcting the runner, inside the original phase deadline; no prior command was retried. This is qualified command evidence, not a completed live-client, disable/uninstall/rollback or release acceptance. Same-profile live journey and genuine current-source interruption/recovery evidence are still required.
Current-source installer recovery also passed all 17 selected cases. The real process-death fixture checks five installer publication boundaries with SIGTERM and SIGKILL, asserting original child signals, surviving registered generations and discovery recovery. Hostile/missing-runtime controls pass. A fresh Cargo no-run source correspondence reused the cached library test image (
fresh=true, zero new builds), followed by 17 original direct-child exit0 results without timeout. This is source-installer fixture evidence using inert runtime bytes and a synthetic Codex fixture; it does not establish interruption behavior of shipping binaries or real Claude. The live upgraded profile was untouched. Same-profile live-client capture and the later disable/uninstall/stable rollback phase remain pending.Current live acceptance (20 November): the prepared exact feature web app booted successfully with fresh synthetic PostgreSQL, committed migrations, empty capture tables and authenticated API/page checks. The first real Claude version/help preflight through the same installed profile failed with
OWNERSHIPbefore accepting any operation; original wait1/no timeout, resource finality remains UNKNOWN. No model call or capture ingress was accepted. A private failure-diagnostic driver now builds and passes 15 pure tests, but remains unrun; deadlines and proof checks are unchanged and no unchanged native retry occurred. The secure inference-key request timed out. Owned web/database services were stopped through original handles, all settled. Client→web persistence, disable/rollback and actual-image compatibility remain unqualified. No publication follows green CI or normal latency alone.Keep draft and unarmed. Tester publication requires green final-source CI, passing final normal-pair qualification, actual supported client-to-web capture, checksum-pinned install/upgrade/disable/rollback and exact app/skill/runtime pins. No candidate is published or enabled. Both-client/platform qualification, #1016, immutable app/worker rollback and full release remain open. Marketing/website work is excluded.
Coordinated work: https://app.clickup.com/t/1amt6mz92yw; https://github.com/osodevops/keito/pull/2139; https://github.com/osodevops/keito/pull/2142; osodevops/keito-skill#9.