Harness Intelligence Wiki
SpecsWikiKnowledge Unification

Knowledge Unification Implementation Notes

Implementation Notes: Knowledge Unification

Execution Mode

Direct execution by user request ("no delivery or anything"): planning-only task identities, no backlog projection. Wave 1 ran T1, T2 and T4 as scoped workers and T3 and T5 in the parent; T6, T7 and T8 ran in the parent.

Wave Log

  • Wave 1, T1 (wiki content): tech debt moved from project/reference/tech-debt/** to project/tech-debt/**; root docs/README.md entries folded into project/index.mdx and the new reference/index.mdx; knowledge-maintenance grill log entry supersedes the root-docs bullet of Q8; live authority statements rewritten (decisions/wiki-content-ownership.mdx, knowledge-maintenance SPEC.md and ARCHITECTURE.md, apps/wiki/AGENTS.md).
  • Wave 1, T2 (wiki runtime): sync-content.mjs projects only specs/; check-health.mjs reports a root docs/ and unresolved frontmatter source: paths and always exits 0; wiki scripts are build, dev, start, check:content, check:health; 5 test files, vitest.config.ts, oxlint.config.ts, tools/, test-fixtures/ and six dev dependencies removed; vercel.json ignoreCommand is [ "$VERCEL_GIT_COMMIT_REF" != "main" ].
  • Wave 1, T3 (root CI): wiki check:content docs/** input, check-types and test:ci turbo entries and changelog inputs removed; build no longer depends on check:content; --filter=!@punks/wiki added to the affected task list and the first root test:ci run; scripts/assert-wiki-generated-source.mjs and its lint:repo argument removed; classifier docs/ prefix removed. The affected-selection test fixture gained a @punks/wiki workspace and asserts it is never selected.
  • Wave 1, T4 (guidance): AGENTS.md duties say "update the owning wiki page and its section index"; HI-DOCS-001 rewritten as a review rule; HI-REPO-003 activation repointed; docs subagent removed; 84 harness mirrors regenerated.
  • Wave 1, T5 (shared skills): wearedevpunks/skills@3f8c6aecff7a47a68caee7706245ff8a5ba89729 (sync/knowledge-unification-3f8c6aecff7a); repo-docs.md replaced by legacy-root-docs.md; pin moved; bun run sync:skills receipt names that commit.
  • Wave 2, T6: git rm -r docs (25 files); 46 frontmatter source: entries and the Harness index source link repointed to wiki paths; wiki pin quote updated.
  • Wave 3, T7: BASELINE_CHANGELOG.md Unreleased note; validation below. ARCHITECTURE.md FLOW heading anchors moved onto their own line (<a id="flow-00n" />) because Fumadocs rehype-toc cannot render raw HTML inside a heading; anchors and wording are unchanged, the retained commit d795b03ee stays the decision source.

Validation Evidence

CheckResult
bun run --cwd apps/wiki check:content"Wiki content is current." (root docs/ deleted)
bun run --cwd apps/wiki check:healthexit 0; 12 pre-existing frontmatter findings (report only)
bun run --cwd apps/wiki buildexit 0
TURBO_SCM_BASE=origin/main TURBO_SCM_HEAD=HEAD bun scripts/behavior-contract/run-ci-verification.mjs affected --dry=json46 tasks, none in @punks/wiki
bun test scripts/behavior-contract/affected-verification.test.ts21 pass; fails without the wiki filter (RED proof)
bun test apps/cli/src/scripts/release-path-ownership.test.ts2 pass
bun run check:repopass
bun install --frozen-lockfileno changes
ignoreCommandfeature → 0 (skip), main → 1 (build)
Harness mirrors vs buildHarnessAgentFiles84 files, 0 differences
Skills contract suite303 pass, 14 fail; the same 14 fail on clean skills main
git ls-files docsempty
Reference and runbook pagespre-change list kept; reference/index.mdx added

Skill Application Evidence

TaskSkillEvidence
T1, T4, T5writing-for-agentsOne statement per meaning, positive target phrasing, stale duties pruned; legacy root docs named once in legacy-root-docs.md
T3turborepo--affected combined with a negated --filter, proved by dry run
T4rule-authoringHI-DOCS-001 keeps id, requirement, verification and exceptions fields

On this page