Skip to content

Milestone 14 — Measured skill and harness evolution

Status: active; implementation is merged, but milestone acceptance remains blocked by the active M13 release prerequisite and the lack of an independent holdout service/private task set. A local owner-authored fixture exists but is not an independent evaluator. This report separates deterministic fixture evidence from live evaluator and provider evidence. No real-world skill improvement is claimed.

Starting point and scope

  • Refreshed origin/main before continuing; it was a80bfc4fa55f286db7c71808a4e3189eda1f1081 (M13 PR #68 merge, following PRs #43–#68). The existing M14 implementation was based on the earlier M13 PR #43 merge, so it was cherry-picked and reconciled on codex/m14-skill-evolution-current-main. PR #69 has since merged; its final review and check evidence is recorded below.
  • M8 and prompt 8 remain unchanged and archived. M14 implementation extends the M12/M13 Harness² and evaluation records; it adds no second scheduler, evaluator authority, or tool-grant path.
  • M13 remains active as recorded in docs/milestones/13.md, even though PR #68 and its required checks are now merged. Its independent evaluator/holdout, task-derived promotion and rollback, and remaining live resilience evidence are still open. M14's declared prerequisite of completed M13 is therefore not met. Work below is incremental offline implementation evidence, not milestone acceptance.
  • Harness² is pinned to 1cfe254e8d25b15f37048c3730134686abe60335; the configured product adapter is OpenCode. The pinned editable component map and compatibility rules are documented in docs/integrations/skill-evolution.md.

Deterministic implementation evidence

Area Evidence and result
Immutable artifacts Strict skills/<slug>/SKILL.md path/frontmatter/size validator; SHA-256 and CAS storage; separate imported, operator-authored, and generated provenance; task/repository/project/organization scope fields; source run/evaluation links; dependency/tool declarations; license, trust, confidence, expiry, compatibility and conflict metadata. ORM immutable-field guard and PostgreSQL trigger protect content/provenance while lifecycle state remains mutable.
Scope and authorization Import API supports four scope types. Task imports bind to one task and cannot be activated across task boundaries. Organization import and promotion require an organization administrator. Repository/project/organization scoping is enforced during candidate selection and active skill loading. Cross-scope candidate collisions are checked before evaluation and promotion.
Imported route compatibility Imports bind to an enabled route alias and a canonical digest of its enabled deployment identities, capability declarations, context limits, and price revisions. Grouped evaluations require the exact alias and digest; active skill loading compares current route capabilities and marks drifted artifacts stale.
Conflict lifecycle An administrator can idempotently reject a complete overlapping candidate group with a rationale. Candidate status history remains visible, an append-only resolution record captures the actor and affected IDs, and the selected bytes must be reimported as a new version before evaluation.
Candidate derivation Self-reported lessons are ignored. A skill candidate must come from an actual changed, schema-valid file in a successfully composed tree, with matched probe evidence, a bound composed source run, and a passing holdout receipt. Exact selected skill bytes are excluded from duplicate candidate derivation.
Editable surface The adapter validates the pinned OpenCode component paths, rejects immutable policy files, disables subagent edits, and validates every SKILL.md. Declared tool names do not grant capabilities. The manifest keeps Harnessa host policy separate from editable Harness² components.
Evaluation manifest Schema version 2 binds the task subset, common bases, task/specification revisions, route/deployment/pricing policy, Harness² and policy revisions, executor/image/tool revision, selected skill version and exact digest, budget bounds, and evidence references. Unconfigured seed, benchmark/judge, MCP-grant, and artifact values are represented explicitly as null or empty lists. These unknowns block claims that a live hidden evaluation occurred.
Evaluation and lifecycle Candidate skills are materialized only into candidate/composed harness trees after digest, schema, CAS, path, and symlink checks; the baseline is unchanged. Promotion requires a matching multi-task evaluation, all matched/composed children succeeded, exact candidate versions in holdout manifests, a passing manifest-bound receipt, and known costs. Promotion and rollback preserve immutable versions and append decision evidence.
UI Harness Studio shows provenance, scope, license, conflict, declared tools, dependencies, artifact link/hash, compatibility drift, expiry, and lifecycle actions. Evaluation Center can freeze an exact candidate skill into a bounded grouped manifest.
API contract OpenAPI regenerated through the repository's pinned openapi-typescript 7.13.0 generator; generated contracts include skill import scopes and skill_experience_id.

Checks completed in this worktree

  • uv run ruff check apps/api tests — passed.
  • Strict mypy over the changed domain, adapter, routes, DB model, and services — passed (9 files).
  • pnpm test:api — 346 passed, 1 skipped.
  • Focused M14 integration selection — 12 passed, including route-capability drift, conflict-group rejection/reimport, and cross-project concurrent organization version allocation.
  • pnpm test:integration — 86 passed against isolated loopback-only PostgreSQL 16/pgvector and Redis 8 test containers. Coverage includes all four scopes, exact skill selection at dispatch, matched multi-task promotion receipts, generated-candidate provenance through post-integration, PostgreSQL immutable-content trigger behavior, grouped evaluation, rollback, CAS verification, route drift, conflict resolution, and concurrent version allocation.
  • pnpm test:web — 46 web tests and 2 cloud-portal tests passed; marketing static build and artifact checks passed.
  • Web typecheck and full pnpm typecheck — passed; API typing reported 64 checked source files. Strict mypy over the five changed API modules passed.
  • Strict documentation build — passed. OpenAPI types regenerated from the current application schema with pinned openapi-typescript 7.13.0.
  • cd apps/api && uv run alembic heads — one head, c8b9e7a2d041; uv run alembic upgrade --sql head generated PostgreSQL migration SQL successfully.
  • No provider, model, external evaluator, GitHub App, benchmark, or hosted judge call was made. Spend for this M14 work: €0.

These local results do not replace hosted required checks or exact-head independent review.

Evaluator selection and boundary

The existing M13 acceptance report documents SWE-bench Multimodal's remote evaluation through the official sb-cli as a candidate for private test-split grading. Current official sb-cli instructions describe API-key generation, email verification, quota lookup, remote submission, and report retrieval; the main SWE-bench documentation identifies private test-split evaluation for Multimodal. The sb-cli README is internally inconsistent: its split table says test is available only for Lite and Verified, while its Multimodal submission section shows swe-bench-m test. I therefore cannot confirm eligibility or remaining quota without an authenticated quota lookup. See the SWE-bench sb-cli instructions and SWE-bench project documentation.

That hosted service is not yet an integrated Harnessa evaluator: the required account/key/quota is not provisioned, no authorized benchmark task set is frozen, no service identity or artifact-transfer contract is established, and no response has been accepted by Harnessa. No dataset was downloaded. The existing optional HTTPS HTTPHarnessEvaluator adapter and in-process test fake establish only transport and receipt validation. The fake's passed receipt is not hidden-holdout evidence.

The user confirmed that the DeepSeek and OpenRouter credentials were rotated and remain in ~/.zshrc. This work has not read or displayed their values and made no provider request. The user's aggregate remaining-work ceiling is €20; spend for this M14 continuation is €0. The ceiling does not override lower configured per-project, task, or run budgets.

Acceptance gaps

  1. M13 remains active; its release acceptance and all preceding milestone reports are required before M14 can be accepted under the planning index.
  2. No independent evaluator endpoint, external account, authorized private task set, verified quota, scoped service identity, or artifact handoff is configured. The two-case owner-authored suite is not an independent hidden evaluation.
  3. No M14 live agent task, hidden-answer isolation test, model/provider run, per-task quality comparison, uncertainty estimate, or passing independent holdout receipt was produced. The separate M13 probe was rejected by the owner-authored verifier and does not establish M14 performance. Offline tests prove deterministic lifecycle and fail-closed behavior only.
  4. A real UI/browser end-to-end candidate review, promotion, rollout-health observation, and rollback has not been performed.
  5. The final head passed hosted Local CI and CodeQL, all CodeQL review threads were resolved, and PR #69 merged through repository protections. The user-directed self-review is recorded in the PR conversation; no formal approval or independent review of the final head was submitted. Prompt archival remains pending because the required M13 release prerequisite is still active.

Accordingly this prompt remains active. Do not archive it until the M13 prerequisite and every M14 acceptance criterion are supported by evidence. M15 has not been started.

PR and archive lifecycle

PR #69 merged at 08b67cc63e44305b7b2df13a214397a41ae5b4b8 from final head d7b105b0d055524ad8903e536ac939247763ca0a. The first exact-head independent review completed on d84e38d629a3b76747532aeea2cb259ddd80ae93; three findings were accepted, discussed, and addressed. A subsequent review of f7d03286207c0570b99cf231a46ffc900de65c8d found route-snapshot drift and two concurrency issues; fixes were committed in f923beef826174f7c532c88983ca48d9fa448918. CodeQL's high-severity finding on untrusted artifact paths was fixed in the final commit by encoding path segments. Both CodeQL review threads are resolved. On exact head d7b105b0d055524ad8903e536ac939247763ca0a, both Local CI runs passed, CodeQL passed, JavaScript/TypeScript and Python CodeQL analyses passed, the build passed, and deployment was skipped. At the user's direction, the maintainer posted a self-review of that exact head; this is not an independent review or formal approval. No bypass was used. M14 remains active because its declared M13 release prerequisite is incomplete; Prompt 14 remains active and M15 has not been started.