Fix startup ownership diagnostics and Python Hatch layouts #407

Merged
buildagent merged 4 commits from codex/field-recovery into master 2026-10-22 20:26:04 +02:00
Member

During startup, MCP could report enabled languages as unowned before package discovery and recommend changing their configuration. Ownership now remains pending until discovery. Recovery guidance respects a live daemon owner, removes the nonexistent daemon stop command, and exposes startup generation stages in logs.

Python package 0.1.4 supports explicit Hatch wheel package directories, including packages = ["src/ai_runtime_service"]. Paths map to their final package directory; files outside those roots remain unmapped, and ambiguous roots or path rewrites are refused. The package has a reproducibly rebuilt Wasm artifact and updated records/catalog. ABI, SDK and schema versions are unchanged.

Validation:

  • Source commit 77df6f83d2c99c14b06389ab5c296498bd3e24f9 passed full required CI: all 5,018 core tests, Windows, daemon transport, OSS corpus, all eleven package qualification/corpus lanes and both pilots.
  • Local regressions cover the real pre-discovery window in both MCP transports, owner-aware recovery, Hatch parsing, signed installation and the packaged Wasm hook. All 48 CI-routing tests pass with Python included among the shared harness consumers.
  • Python 0.1.4 is already published: independent release run 1476 passed all four stages in 15m20s, including signed-channel read-back. Published core 0.41.8 independently verified its official signature and the Hatch result. Updating from bundled Python 0.1.3 through the default signed channel changed the active layout from abi.frame_truncated to ready.
  • 44fec715bb04ba5a1a3a25c14f7951f58b233d32 adds only the 0.41.9 workspace version bump in four declared version sites; version_bump.sh --version-only HEAD verified it. Normal CI/release gates decide inheritance from the qualified parent.

The field logs did not establish a daemon deadlock, so this change makes no deadlock-fix claim. Confirmed C# receiver-resolution gaps remain in #296 and #313; existing precision controls are preserved.

During startup, MCP could report enabled languages as unowned before package discovery and recommend changing their configuration. Ownership now remains pending until discovery. Recovery guidance respects a live daemon owner, removes the nonexistent `daemon stop` command, and exposes startup generation stages in logs. Python package 0.1.4 supports explicit Hatch wheel package directories, including `packages = ["src/ai_runtime_service"]`. Paths map to their final package directory; files outside those roots remain unmapped, and ambiguous roots or path rewrites are refused. The package has a reproducibly rebuilt Wasm artifact and updated records/catalog. ABI, SDK and schema versions are unchanged. Validation: - Source commit `77df6f83d2c99c14b06389ab5c296498bd3e24f9` passed full required CI: all 5,018 core tests, Windows, daemon transport, OSS corpus, all eleven package qualification/corpus lanes and both pilots. - Local regressions cover the real pre-discovery window in both MCP transports, owner-aware recovery, Hatch parsing, signed installation and the packaged Wasm hook. All 48 CI-routing tests pass with Python included among the shared harness consumers. - Python 0.1.4 is already published: [independent release run 1476](https://git.h-dv.de/h-dv/code-index/actions/runs/1476) passed all four stages in 15m20s, including signed-channel read-back. Published core 0.41.8 independently verified its official signature and the Hatch result. Updating from bundled Python 0.1.3 through the default signed channel changed the active layout from `abi.frame_truncated` to `ready`. - `44fec715bb04ba5a1a3a25c14f7951f58b233d32` adds only the 0.41.9 workspace version bump in four declared version sites; `version_bump.sh --version-only HEAD` verified it. Normal CI/release gates decide inheritance from the qualified parent. The field logs did not establish a daemon deadlock, so this change makes no deadlock-fix claim. Confirmed C# receiver-resolution gaps remain in #296 and #313; existing precision controls are preserved.
fix(python): support Hatch wheel package roots in package 0.1.4
Some checks failed
Package CI / package (svelte) (pull_request) Successful in 10m48s
Package CI / package-corpus (svelte) (pull_request) Successful in 35s
Package CI / package (vue) (pull_request) Successful in 11m12s
Package CI / package-corpus (timeline) (pull_request) Successful in 37s
Pilot plugin compatibility / Pilot compatibility result (pull_request) Successful in 1s
Package CI / package-corpus (xaml) (pull_request) Successful in 24s
Package CI / package (php) (pull_request) Successful in 11m32s
Package CI / package (rust) (pull_request) Successful in 11m55s
Package CI / package-corpus (vue) (pull_request) Successful in 43s
Package CI / package (typescript) (pull_request) Successful in 12m17s
Package CI / package (javascript) (pull_request) Successful in 12m27s
CI / cargo test (abi, 32-bit + wasm32) (pull_request) Successful in 15m13s
Package CI / package (ruby) (pull_request) Successful in 13m3s
CI / cargo check (MSRV 1.98) (pull_request) Successful in 17m36s
Package CI / package (python) (pull_request) Successful in 15m30s
CI / cargo check (windows-gnu) (pull_request) Successful in 18m57s
Package CI / package (csharp) (pull_request) Successful in 18m7s
Package CI / package-corpus (php) (pull_request) Successful in 24m3s
Package CI / package-corpus (javascript) (pull_request) Successful in 24m15s
Package CI / package-corpus (typescript) (pull_request) Successful in 15m24s
Package CI / package-corpus (rust) (pull_request) Successful in 16m44s
Package CI / package-corpus (python) (pull_request) Successful in 20m20s
Package CI / package-corpus (csharp) (pull_request) Successful in 28m28s
Package CI / package-corpus (ruby) (pull_request) Successful in 21m10s
Package CI / package overhead budgets (nightly, one package at a time) (pull_request) Has been skipped
CI / cargo test (daemon transport) (pull_request) Has been cancelled
CI / Plugin path cost + pool throughput (nightly) (pull_request) Has been cancelled
CI (Windows) / fmt + clippy + build + test (windows) (pull_request) Has been cancelled
CI / cargo test (pull_request) Has been cancelled
CI / OSS corpus (tier 1) (pull_request) Has been cancelled
908f627e63
test(ci): include Python in shared package harness routing
All checks were successful
Package CI / package-corpus (timeline) (pull_request) Successful in 39s
Package CI / package-corpus (xaml) (pull_request) Successful in 21s
Package CI / package-corpus (vue) (pull_request) Successful in 33s
Package CI / package (php) (pull_request) Successful in 12m11s
Package CI / package (rust) (pull_request) Successful in 12m21s
Package CI / package (typescript) (pull_request) Successful in 12m50s
Package CI / package (javascript) (pull_request) Successful in 12m57s
CI / cargo test (abi, 32-bit + wasm32) (pull_request) Successful in 16m51s
Package CI / package (ruby) (pull_request) Successful in 13m55s
CI / cargo check (MSRV 1.98) (pull_request) Successful in 17m52s
CI / cargo check (windows-gnu) (pull_request) Successful in 19m11s
Package CI / package (python) (pull_request) Successful in 15m54s
Package CI / package (csharp) (pull_request) Successful in 19m2s
Package CI / package-corpus (javascript) (pull_request) Successful in 24m46s
Package CI / package-corpus (php) (pull_request) Successful in 24m25s
Package CI / package-corpus (rust) (pull_request) Successful in 19m50s
Package CI / package-corpus (typescript) (pull_request) Successful in 16m10s
Package CI / package-corpus (python) (pull_request) Successful in 25m32s
Package CI / package-corpus (csharp) (pull_request) Successful in 29m29s
Package CI / package-corpus (ruby) (pull_request) Successful in 25m56s
Package CI / package overhead budgets (nightly, one package at a time) (pull_request) Has been skipped
Package Release / The package grades its own bytes (push) Successful in 8m23s
Package Release / Pack, sign and verify one package (push) Successful in 1m20s
Package Release / Publish the package release (push) Successful in 1m51s
Package Release / Update the package channel (push) Successful in 3m40s
CI / cargo test (pull_request) Successful in 35m39s
CI / OSS corpus (tier 1) (pull_request) Successful in 54m44s
CI / cargo test (daemon transport) (pull_request) Successful in 9m28s
CI / Plugin path cost + pool throughput (nightly) (pull_request) Has been skipped
CI (Windows) / fmt + clippy + build + test (windows) (pull_request) Successful in 1h8m14s
77df6f83d2
Author
Member

CI follow-up in 77df6f83d2c99c14b06389ab5c296498bd3e24f9: the new Python packaged-Hatch test includes package_parity, so the CI router correctly selects csharp python ruby for changes to that shared harness. Updated the stale assertion that still expected only C# and Ruby. No routing behavior or CI gate was changed.

Local verification: all 48 ci_path_gating tests pass. The previous core run completed 5,018 tests: 5,017 passed and this expectation was the only failure. All eleven package qualification jobs, all language corpus checks and both pilot checks passed on the preceding head. Required checks are running again on the corrected head; the PR remains unmerged.

CI follow-up in `77df6f83d2c99c14b06389ab5c296498bd3e24f9`: the new Python packaged-Hatch test includes `package_parity`, so the CI router correctly selects `csharp python ruby` for changes to that shared harness. Updated the stale assertion that still expected only C# and Ruby. No routing behavior or CI gate was changed. Local verification: all 48 `ci_path_gating` tests pass. The previous core run completed 5,018 tests: 5,017 passed and this expectation was the only failure. All eleven package qualification jobs, all language corpus checks and both pilot checks passed on the preceding head. Required checks are running again on the corrected head; the PR remains unmerged.
chore: release code-index 0.41.9
Some checks failed
Package CI / package (timeline) (pull_request) Successful in 27s
Package CI / package-corpus (ruby) (pull_request) Successful in 20s
Package CI / package-corpus (python) (pull_request) Successful in 30s
Package CI / package (rust) (pull_request) Successful in 35s
Package CI / package-corpus (javascript) (pull_request) Successful in 36s
Package CI / package (xaml) (pull_request) Successful in 36s
Package CI / package-corpus (timeline) (pull_request) Successful in 34s
Package CI / package-corpus (rust) (pull_request) Successful in 39s
Pilot plugin compatibility / Fetch the pinned runtime once (pull_request) Successful in 1m4s
Package CI / package (svelte) (pull_request) Successful in 44s
Package CI / package-corpus (svelte) (pull_request) Successful in 43s
Package CI / package-corpus (php) (pull_request) Successful in 48s
Package CI / package (typescript) (pull_request) Successful in 46s
Package CI / package-corpus (typescript) (pull_request) Successful in 48s
Package CI / package-corpus (vue) (pull_request) Successful in 44s
Package CI / package-corpus (xaml) (pull_request) Successful in 45s
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 1m0s
Pilot plugin compatibility / Pilot compatibility (csharp) (pull_request) Successful in 1m7s
Pilot plugin compatibility / Pilot compatibility result (pull_request) Successful in 1s
Release Build / Generate Version (push) Successful in 1m4s
Release Build / Required CI green (push) Failing after 52m10s
Release Build / Build linux-aarch64 (push) Has been skipped
Release Build / Build linux-x86_64 (push) Has been skipped
Release Build / Build linux-x86_64-musl (push) Has been skipped
Release Build / Build windows-x86_64 (push) Has been skipped
Release Build / Assemble the release archives (push) Has been skipped
Release Build / Windows archive smoke (msvc) (push) Has been skipped
Release Build / Create Forgejo Release (push) Failing after 3m32s
Release Build / Seed the package channel (push) Has been skipped
44fec715bb
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!407
No description provided.