feat: check configured plugin updates after daemon readiness #443

Merged
buildagent merged 2 commits from codex/plugin-update-automation into master 2026-10-24 15:08:11 +02:00
Member

Projects with [update."<id>"] policies currently need a manual command, and configured registry updates can read an embedded catalog that cannot discover later releases. The daemon now invokes the matching sibling CLI updater after readiness and daily while running, with a durable per-project 24-hour cooldown. Its existing signature, publisher, grant, semver, withdrawal, conformance, extraction-cost and activation checks govern every apply. False remains check-only, and no prompt is answered. Detailed logs stay in the operator store.

Fixes #442. Also fixes #441: shadowed approvals remain visible in duplicate/reason diagnostics but no longer count as awaiting approval or receive the generic unapproved startup warning. No new dependencies, configuration keys, MCP schema or workflow changes.

Local validation passed 75 affected CLI tests (38 registry, 21 configured-update, 16 named-update), two updater state tests, two real-store duplicate-disclosure tests, and all 17 bound-registry tests. Real-daemon cases wait for the new digest in the ACTIVE generation, preserve exact approvals in check-only mode, verify offline signed-channel reporting, and cover restart cooldown. Strict all-target Clippy, formatting, whitespace checks and code-index review completed; subprocess/store regressions supply evidence where the resolved graph has low coverage.

CI caught an inline checkpoint bound in the first head. Corrected source 21ab63bf names and registers MAX_UPDATE_STATE_BYTES and refuses oversized checkpoints whole. The first head is superseded; the comment records its failed gate. Normal core, Windows, package and pilot qualification applies to the corrected head.

The separately qualified v0.41.16 concurrency hotfix has completed publication. This PR targets the next core release; package versions and ABI remain unchanged.

Projects with `[update."<id>"]` policies currently need a manual command, and configured registry updates can read an embedded catalog that cannot discover later releases. The daemon now invokes the matching sibling CLI updater after readiness and daily while running, with a durable per-project 24-hour cooldown. Its existing signature, publisher, grant, semver, withdrawal, conformance, extraction-cost and activation checks govern every apply. False remains check-only, and no prompt is answered. Detailed logs stay in the operator store. Fixes #442. Also fixes #441: shadowed approvals remain visible in duplicate/reason diagnostics but no longer count as awaiting approval or receive the generic unapproved startup warning. No new dependencies, configuration keys, MCP schema or workflow changes. Local validation passed 75 affected CLI tests (38 registry, 21 configured-update, 16 named-update), two updater state tests, two real-store duplicate-disclosure tests, and all 17 bound-registry tests. Real-daemon cases wait for the new digest in the ACTIVE generation, preserve exact approvals in check-only mode, verify offline signed-channel reporting, and cover restart cooldown. Strict all-target Clippy, formatting, whitespace checks and code-index review completed; subprocess/store regressions supply evidence where the resolved graph has low coverage. CI caught an inline checkpoint bound in the first head. Corrected source `21ab63bf` names and registers `MAX_UPDATE_STATE_BYTES` and refuses oversized checkpoints whole. The first head is superseded; the comment records its failed gate. Normal core, Windows, package and pilot qualification applies to the corrected head. The separately qualified v0.41.16 concurrency hotfix has completed publication. This PR targets the next core release; package versions and ABI remain unchanged.
feat: check configured plugin updates after daemon readiness
Some checks failed
Package CI / package (javascript) (pull_request) Successful in 37s
Package CI / package (typescript) (pull_request) Successful in 38s
Package CI / package-corpus (typescript) (pull_request) Successful in 20s
Package CI / package-corpus (javascript) (pull_request) Successful in 37s
Package CI / package (python) (pull_request) Successful in 46s
Package CI / package-corpus (python) (pull_request) Successful in 46s
Package CI / package (rust) (pull_request) Successful in 46s
Package CI / package-corpus (csharp) (pull_request) Successful in 56s
Package CI / package-corpus (timeline) (pull_request) Successful in 52s
Package CI / package-corpus (svelte) (pull_request) Successful in 52s
Package CI / package-corpus (xaml) (pull_request) Successful in 48s
Package CI / package-corpus (vue) (pull_request) Successful in 51s
Package CI / package overhead budgets (nightly, one package at a time) (pull_request) Has been skipped
CI / guest crates (fmt, clippy, doc) (pull_request) Successful in 37s
CI / CI lane wall-clock headroom (pull_request) Successful in 1m37s
Pilot plugin compatibility / Fetch the pinned runtime once (pull_request) Successful in 1m56s
Pilot plugin compatibility / Pilot compatibility (timeline) (pull_request) Successful in 1m2s
Pilot plugin compatibility / Pilot compatibility (csharp) (pull_request) Successful in 1m8s
Pilot plugin compatibility / Pilot compatibility result (pull_request) Successful in 1s
CI / cargo doc (intra-doc links) (pull_request) Successful in 6m27s
CI / cargo clippy (pull_request) Successful in 7m3s
CI / cargo deny (pull_request) Successful in 7m55s
CI / cargo check (MSRV 1.98) (pull_request) Successful in 8m18s
CI / cargo test (abi, 32-bit + wasm32) (pull_request) Successful in 8m11s
CI / cargo check (windows-gnu) (pull_request) Successful in 9m5s
CI / cargo test (daemon transport) (pull_request) Has been cancelled
CI / Plugin path cost + pool throughput (nightly) (pull_request) Has been cancelled
CI / cargo test (pull_request) Has been cancelled
CI (Windows) / fmt + clippy + build + test (windows) (pull_request) Has been cancelled
CI / OSS corpus (tier 1) (pull_request) Has been cancelled
c31782bd90
Author
Member

CI caught a repository-wide bound-registration defect in source c31782bd: .take(64) on the private updater checkpoint used an inline limit. Linux workspace ran5,063 tests:5,062 passed and this gate failed; native Windows reports the same gate failure. This head is not qualified and will not be merged.

Correction names MAX_UPDATE_STATE_BYTES, registers the framing bound with its disclosure decision, and refuses an oversized checkpoint whole instead of trusting a truncated timestamp. The existing cooldown test now includes the oversized-checkpoint case. The complete bounding_site_registry suite passes locally (17 tests); normal source qualification will run on the corrected head. No gate, assertion, retry policy or workflow is weakened.

CI caught a repository-wide bound-registration defect in source c31782bd: `.take(64)` on the private updater checkpoint used an inline limit. Linux workspace ran5,063 tests:5,062 passed and this gate failed; native Windows reports the same gate failure. This head is not qualified and will not be merged. Correction names `MAX_UPDATE_STATE_BYTES`, registers the framing bound with its disclosure decision, and refuses an oversized checkpoint whole instead of trusting a truncated timestamp. The existing cooldown test now includes the oversized-checkpoint case. The complete `bounding_site_registry` suite passes locally (17 tests); normal source qualification will run on the corrected head. No gate, assertion, retry policy or workflow is weakened.
fix: register the background update checkpoint bound
All checks were successful
Package CI / package (typescript) (pull_request) Successful in 37s
Package CI / package-corpus (svelte) (pull_request) Successful in 13s
Package CI / package (vue) (pull_request) Successful in 46s
Package CI / package-corpus (csharp) (pull_request) Successful in 45s
Pilot plugin compatibility / Fetch the pinned runtime once (pull_request) Successful in 1m26s
Package CI / package-corpus (javascript) (pull_request) Successful in 32s
Package CI / package-corpus (python) (pull_request) Successful in 42s
Package CI / package-corpus (vue) (pull_request) Successful in 13s
CI / CI lane wall-clock headroom (pull_request) Successful in 1m18s
Package CI / package-corpus (php) (pull_request) Successful in 53s
Package CI / package-corpus (rust) (pull_request) Successful in 41s
Package CI / package-corpus (ruby) (pull_request) Successful in 54s
Package CI / package-corpus (typescript) (pull_request) Successful in 41s
Package CI / package-corpus (timeline) (pull_request) Successful in 48s
Package CI / package-corpus (xaml) (pull_request) Successful in 44s
Package CI / package overhead budgets (nightly, one package at a time) (pull_request) Has been skipped
Pilot plugin compatibility / Pilot compatibility (timeline) (pull_request) Successful in 1m4s
Pilot plugin compatibility / Pilot compatibility (csharp) (pull_request) Successful in 1m11s
Pilot plugin compatibility / Pilot compatibility result (pull_request) Successful in 1s
CI / cargo doc (intra-doc links) (pull_request) Successful in 5m8s
CI / cargo clippy (pull_request) Successful in 5m58s
CI / cargo test (abi, 32-bit + wasm32) (pull_request) Successful in 6m47s
CI / cargo deny (pull_request) Successful in 6m49s
CI / cargo check (MSRV 1.98) (pull_request) Successful in 6m55s
CI / cargo check (windows-gnu) (pull_request) Successful in 7m21s
CI / cargo test (pull_request) Successful in 24m23s
CI / OSS corpus (tier 1) (pull_request) Successful in 32m0s
CI / cargo test (daemon transport) (pull_request) Successful in 9m17s
CI / Plugin path cost + pool throughput (nightly) (pull_request) Has been skipped
CI (Windows) / fmt + clippy + build + test (windows) (pull_request) Successful in 43m34s
21ab63bf8f
buildagent deleted branch codex/plugin-update-automation 2026-10-24 15:08:11 +02:00
Author
Member

Corrected source 21ab63bf passed all normal workflows: Windows 6569, core 6570, packages 6571 and pilots 6572. Linux workspace/timing summaries are 5,063/5,063 and 44/44 passed; native Windows workspace is 4,841/4,841, followed by all native profile/smoke gates. Normal merge is ac1e3d2f61a9b4643a3b9000ed712d660f82d9c7, with tree ef3b7eadc101799778c9fb541bbed0d7bcc91368 identical to the qualified head, which is a merged ancestor.

Version-only release PR #444 starts directly from that qualified head. It passes the four-site version-only proof. Publication will follow the normal version checks/merge, classifier proof, annotated tag validation and independent published-binary verification. The release notes disclose the conservative host-fingerprint/startup rebuild cost; the previous .16 no-rebuild receipt is not generalized to this source update.

Corrected source `21ab63bf` passed all normal workflows: Windows 6569, core 6570, packages 6571 and pilots 6572. Linux workspace/timing summaries are 5,063/5,063 and 44/44 passed; native Windows workspace is 4,841/4,841, followed by all native profile/smoke gates. Normal merge is `ac1e3d2f61a9b4643a3b9000ed712d660f82d9c7`, with tree `ef3b7eadc101799778c9fb541bbed0d7bcc91368` identical to the qualified head, which is a merged ancestor. Version-only release PR #444 starts directly from that qualified head. It passes the four-site version-only proof. Publication will follow the normal version checks/merge, classifier proof, annotated tag validation and independent published-binary verification. The release notes disclose the conservative host-fingerprint/startup rebuild cost; the previous .16 no-rebuild receipt is not generalized to this source update.
Author
Member

Stable v0.41.17 is released and independently verified. All normal source/version/release gates passed, plus published-artifact signatures/hashes, .16→.17 upgrade/concurrency checks, the native daemon's configured background update check, and self-dogfood. Full receipt: #442 (comment)

The host-source fingerprint changes and may require a startup activation rebuild. Existing databases and approvals are retained. Independent package checks follow existing [update] policies; this release adds no manual MCP updater tool.

Stable v0.41.17 is released and independently verified. All normal source/version/release gates passed, plus published-artifact signatures/hashes, .16→.17 upgrade/concurrency checks, the native daemon's configured background update check, and self-dogfood. Full receipt: https://git.h-dv.de/h-dv/code-index/issues/442#issuecomment-10327 The host-source fingerprint changes and may require a startup activation rebuild. Existing databases and approvals are retained. Independent package checks follow existing `[update]` policies; this release adds no manual MCP updater tool.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
h-dv/code-index!443
No description provided.