Harness Intelligence Wiki
SpecsCLIIssue 178 180 Finder Provider Intent Control

Implementation Notes: Finder Intent Control

Implementation Notes

Summary

  • Execution started from Harness branch team/stefan/finder-control-envelope at 505ccf68a0184dc6b80cb2148db30be8f63c5aa2.
  • Accepted base is origin/main@694420ca15c8b37536338e85719c6ec00a7154df.
  • No open pull request existed at the execution gate; one final PR will be created after implementation and validation.
  • Shared source started on checked-out main at 2c7473179569d237acd3d01a2df055cb76d2e174.
  • Collective Intelligence Linear remains read-only. Task identities are planning-only, so no provider lifecycle mutations apply.

Deviations From Plan

  • None.

Surprises and Decisions

  • The shared source contains two user-owned pre-existing edits. They are excluded from all worker scopes, staging, commits, and generated projections.

Sanity Checks

CheckResultNotes
Harness branch and base gatePassCurrent branch team/stefan/finder-control-envelope; merge base 694420ca15c8b37536338e85719c6ec00a7154df.
Open PR readbackPassgh pr list --head team/stefan/finder-control-envelope --state open returned none.
Plan schema and DAGPassEight tasks; 38 required fields each; acyclic T1 -> T2/T3/T4 -> T5 -> T6 -> T7 -> T8; Prettier and git diff --check passed.
Shared-source branchPass/Users/stefan/Desktop/repos/wearedevpunks-skills is on main.
Protected shared-source hashesPassAUTHORING-HANDOFF.md: 87ab300221709bb14f8aa0f4aadf785a08fde61a10bc4b1b291740ed035e94c3; state-graph.md: 8c0de318c0c361792ec9410b16116a13289d0f1ea19dcb1c00559d3221220db4.

| T1 control-envelope contract | Pass | Parent rerun: Node syntax check, 10 focused tests, Biome over all new code/fixture files, and git diff --check. |

Skill Application Evidence

TaskSkillStatusHow/whereNot-applicable reason and assessment location
T1codebase-designappliedvalidateControlEnvelope centralizes canonical hashing and authority checks; renderRuntimeHandoff projects only eligible validated state.
T1tddappliedThe public contract first failed with ERR_MODULE_NOT_FOUND, then passed 10 validator/handoff behavior tests.
T2codebase-designloadedProvider-profile adapter and mutation-planning seam in PLAN T2.
T2tddloadedWriter public-result tracer bullets in PLAN T2.
T3codebase-designloadedFinder routing boundary consumes the envelope result in PLAN T3.
T3tddloadedFinder route-fixture tracer bullets in PLAN T3.
T4codebase-designloadedRequirements correction-record seam in PLAN T4.
T4tddloadedSupersession artifact public-result RED/GREEN contract in PLAN T4.
T5codebase-designloadedShared-source convergence and retention boundary in PLAN T5.
T6codebase-designloadedImmutable pin and cache-copy distribution seam in PLAN T6.
T6tddloadedCanonical pin expectation RED before production pin in PLAN T6.
T7codebase-designloadedAuthority-derived self-projection and documentation boundary in PLAN T7.
T8codebase-designloadedFindings-first ownership, dependency, and public-seam review in PLAN T8.

Architecture Conformance Evidence

Architecture wave idTarget ownership topology and observed stateDeclared dependency graph and observed stateDue criterion ids, evidence, prior-met regression statusPublic seam deltaMigration ledger delta, expiry waves, final empty-ledger statusValidation evidenceVerdict or exact drift
A1finder-control-envelope.mjs owns validation; runtime-handoff.md owns the generated view contract. Finder/provider consumers remain outside the module for A2 migration.Tests and reference docs depend only on the two exported seams; the module uses Node crypto and imports no Finder gate or provider adapter.RAC-001 met by complete/stale/missing authority fixtures; RAC-006 met by eligible-only rendering and fresh-provider stale-handoff rejection.Added validateControlEnvelope(state, options) -> eligible or typed zero-write rejection and renderRuntimeHandoff(validated) -> Markdown; no existing seam removed.No seam introduced; ledger remains empty.node --check; 10 focused Node tests; Biome over script/test/fixture; git diff --check; protected hashes unchanged.Pass — the boundary is established and A2 consumers may migrate behind it.
A2Pending W2.Pending W2.RAC-002 through RAC-005 pending; A1 regression pending.Pending.No planned seams; ledger empty.Pending.Pending.
A3Pending W3.Pending W3.A1-A2 regression pending.Pending.No planned seams; ledger empty.Pending.Pending.
A4Pending W4-W5.Pending W4-W5.RAC-007 pending; prior criteria regression pending.Pending.No planned seams; ledger empty.Pending.Pending.
A5Pending W6.Pending W6.RAC-001 through RAC-007 final regression pending.Pending.No planned seams; ledger empty.Pending.Pending.
Final closurePending.Pending.All criteria pending final acceptance audit.Pending.Must be empty.Pending.Pending.

Acceptance Criteria Status

CriterionStatusNotes
AC-001 through AC-033unmetImplementation and cumulative conformance evidence are in progress.

Manual Review Checklist

AreaCheckHow to performExpected result
Shared control contractsRe-run the issue #178/#180 regression corpus.Run the focused shared-source Node contract suites recorded in completed T1-T4 plan entries.Valid current state is eligible; every stale, unsupported, premature, or semantically substituted operation returns a typed zero-write result.
DistributionConfirm one immutable source reaches every agent surface.Compare the final shared remote SHA, Harness pin, cache receipt, CLI bundle, and selected .agents mirrors using the commands recorded in T5-T7.Every retained projection is byte-identical to the pushed shared source; protected user edits are absent.
Release scopeConfirm classification without publication.Run bun run release:classify -- --base origin/main --head HEAD.Classifier returns baseline; CHANGELOG.md is unchanged and no baseline is published.

Pre-existing Issues

  • /Users/stefan/Desktop/repos/wearedevpunks-skills/skills/phases/finder-phase/AUTHORING-HANDOFF.md is user-modified and excluded.
  • /Users/stefan/Desktop/repos/wearedevpunks-skills/skills/phases/finder-phase/references/state-graph.md is user-modified and excluded.

Out of Scope Observations

  • None.

Remaining Work

  • Execute and validate W1 through W6, run final acceptance and architecture closure, push the Harness branch, and create its one final PR.

Steering

DateFeedbackChanges
2026-09-01Make the system maximally agent-intuitive, ergonomic, accretive, coherent, and resource-efficient while addressing issues #178 and #180.Locked a provider-neutral control envelope, correction epochs, exact mutation bindings, generated handoff, provider projection profiles, and executable incident fixtures.

On this page