Repository navigation
ci: observe current Threads through the real daemon without requiring it - #49
Conversation
Integrate the September 12 exact-head handoff and preserve bounded main landings separately from open Phase-5 acceptance. Add immutable manual candidate and scheduled latest-main observation without changing the stable pin or required checks. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Val Alexander <68980965+BunsDev@users.noreply.github.com>
|
Additional attributable fail-closed evidence: invoked the committed runner from clean Threads d390ecd against clean Coven main aa527d2dbcd1edcda470483c1a91a519f24e8406. It exited 1 at preflight with |
There was a problem hiding this comment.
🟡 Changes recommended
The canary contains one critical and two moderate correctness findings, with additional stale documentation statements.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Adds an advisory scheduled/manual real-daemon canary with exact-SHA checkout, Cargo override verification, immutable artifacts, regression tests, and related documentation.
Changes:
- Adds the daemon observation workflow and runner.
- Adds fail-closed canary tests and evidence handling.
- Updates E2E, contributor, phase, strategy, and handoff documentation.
File summaries
| File | Description | Findings |
|---|---|---|
scripts/tests/daemon-canary.test.mjs |
Canary behavior and failure tests | No findings. |
scripts/run-daemon-canary.mjs |
Checkout, override, metadata, and evidence runner | Critical (1 vote, line 37): dependency key comparison uses the wrong underscore form. Moderate (1 vote each, lines 97 and 115): filesystem target preflight rejects valid layouts, and Cargo metadata lacks package selection. |
docs/testing/e2e-contract.md |
Observation and artifact contract | No findings. |
docs/strategy.md |
Integration strategy updates | No findings. |
docs/reviews/2026-09-12-nova-handoff.md |
Daemon handoff context | No findings. |
docs/reviews/2026-09-12-handoff-integration-review.md |
Exact-head integration review | Nit (1 vote, line 50): refreshed-state workflow status is stale. Nit (3 votes, line 197): documentation incorrectly describes the PR as documentation-only. |
docs/phases.md |
Phase-5 status updates | No findings. |
CONTRIBUTING.md |
Advisory workflow guidance | No findings. |
.github/workflows/daemon-observation.yml |
Scheduled/manual advisory canary workflow | No findings. |
Review details
Suppressed comments (3)
docs/reviews/2026-09-12-handoff-integration-review.md:50
- This refreshed-state row is now stale relative to the PR:
.github/workflows/daemon-observation.ymladds the scheduled advisory canary, anddocs/strategy.md:134-139describes it as present. If this table is intended to preserve the pre-landing baseline, label it that way; otherwise say the workflow is present but not active until it lands on the default branch, rather than claiming it is not wired.
| Threads CI and effective main rules | Five required checks remain, including privacy; no pinned-daemon job or scheduled latest-main canary is wired |
scripts/run-daemon-canary.mjs:115
- The selected Coven checkout is a virtual workspace, while
threads-test-clockis defined oncoven-cli; this metadata invocation has no package selection, so Cargo cannot apply the feature at the workspace root and the canary fails before it can prove the override. Select the package here, as the actual test command already does.
const metadataArgs = ["metadata", "--format-version", "1", "--features", "threads-test-clock"];
scripts/run-daemon-canary.mjs:99
- This preflight rejects valid downstream layouts before
proveOverrideruns: the contract requires a Cargo target namedthreads_e2e(which the metadata check above already verifies), not the conventionaltests/threads_e2e.rsfilename. A candidate declared with[[test]] name = "threads_e2e"and a differentpathis incorrectly reported as missing. Remove this filesystem check and rely on the metadata target proof.
if (!existsSync(join(coven, "crates/coven-cli/tests/threads_e2e.rs"))) {
throw new Error("selected Coven revision has no real-daemon threads_e2e target");
}
- Files reviewed: 9/9 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| } | ||
| const clientNodes = nodes.filter((node) => node.id === client.id); | ||
| const deps = clientNodes.length === 1 | ||
| ? clientNodes[0].deps?.filter((dep) => dep.name === "coven_threads_core") |
| Changed documentation: this review, the supplied handoff's continuation link, | ||
| `docs/phases.md`, and `docs/strategy.md`. No Rust, dependency, schema, migration, | ||
| compatibility pin, workflow, or remote repository setting was changed. Private | ||
| interaction history is not part of the documentation change. |
Objective and scope
Implement the authorized September 12 continuation under #31: a non-required scheduled coven/main canary and immutable manual candidate observation, plus the exact-head handoff reconciliation. Human authorization scope is recorded at #31 (comment). Local tracking: threads-cxv / threads-cxv.1.
Behavior and acceptance
Authority, privacy, compatibility, migration
No Rust contract, schema, migration, protected floor, compatibility pin, required-check list, ruleset, or human-gate decision changes. No real familiar fixtures or interaction history included. Workflow has read-only token permissions and non-persisted checkout credentials. Separate advisory failures remain visible, not required branch checks. Existing Cargo baseline stays source of truth.
Sources and changed surfaces
Consulted AGENTS.md, agent/manifest.yaml, Familiar Contract RFC-0001, Phase-5 decision record, e2e contract/compatibility manifest, daemon producer/loader/binding/harness at ea3f455a, main targets at aa527d2d, and exact GitHub issue/CI receipts. Changes: daemon-observation.yml, run-daemon-canary.mjs and tests, CONTRIBUTING.md, docs/testing/e2e-contract.md, docs/phases.md, docs/strategy.md, and two dated handoff/review documents.
Evidence
Rollback and remaining gates
Revert this workflow/runner/docs change to remove advisory scheduling; no live required policy must be undone. The default-branch workflow must land before scheduling/manual dispatch becomes available. Full-SHA required-pin adoption, native/Cave acceptance, root red-fix-green dossiers, measured 30-day reliability, independent coherence and Val freeze remain separate. No retries erase first-attempt failures.