Harness Intelligence Wiki
SpecsCLIEntities Layer Model

Entities Layer Model Implementation Notes

Implementation Notes: Entities Layer Model

Delivery

  • Plan: PLAN.md, planning-only task identities. The Linear projection is partial: milestone V4.11 Entities Layer Model, Epic IP-559, Stories IP-560 and IP-561 exist; Linear refused further writes (free issue limit), so the OUT-004…OUT-006 Stories, the Tasks and the blocker edges are not projected.
  • Autonomy: the user delegated every open decision ("IF ANY QUESTION OR DOUBT ARISES I TRUST YOUR JUDGEMENT"). Deviations below are recorded decisions.

Task Evidence

TaskResultEvidence
T1 skillsMergedwearedevpunks/skills#17, merge e7b987b50e9e; contract tests RED (9 failures) then GREEN (404/404); follow-up wearedevpunks/skills#18 (merge-reported row, Data Source depth, API handlers, asset imports), merge 4b1565934e9e, tag sync/entities-layer-model-4b1565934e9e
T2 ci-appMerged; npm release blockedcollective-intelligence-platform/ci-app#449, merge fc2f8fb54acb; 26 checks passed. Release run 41095498378 failed before publishing because @collective-intelligence/backlog needs a first staged publish with maintainer 2FA
T3 HI rulesDone8a7c636cd sync, b969613aa rules; 14 rules, focused tests RED (38/39) then GREEN
T4 HI mergeDoned6c6e947e: optional .oxfmtrc.json merge, merge-reported row
T5 HI package skillDone with deviation7694ddcc8: skill text synced byte-for-byte from a tarball packed at ci-app fc2f8fb; collectiveIntelligenceLintVersion stays 0.1.24 until 0.2.0 is on npm (AC-010 deviation)
T6 HI releaseThis PRwiki restatements, BASELINE_CHANGELOG.md, CLI 6.7.0

Review Repairs

The combined review of the HI code found seven defects; each was repaired test-first (625541b39, 11632254c, 8c14aebb5):

  1. Released CLIs drop the new optional merge flag: CLI 6.7.0 and the Unreleased Baseline range >=6.7.0 <7.0.0.
  2. The merged .oxfmtrc.json failed oxfmt --check: merge format jsonc edits in place (jsonc-parser, ESM entry for the bundle), then formats the file with the repository's own oxfmt; a test runs the real oxfmt --check.
  3. Nested Data Sources (entities/candidate/cv/remote/) were not seen: a remote/ or simulated/ folder at any depth of a feature or entity domain counts, for data-source-imports and the layer-order server rule.
  4. A domain root index could re-export its own remote/: reported.
  5. ./index.css counted as an own-index import: style and asset imports are not code edges.
  6. A symlinked .oxfmtrc.json was reported as absent: reported as unusable.
  7. Route files with import "./globals.css" and API handlers under route groups (app/(shop)/api/, routes/api/) were false positives: fixed, and the skill text says so (wearedevpunks/skills#18).

Follow-up

  • Publish @collective-intelligence/lint 0.2.0 after a maintainer stages the first @collective-intelligence/backlog publish; then set collectiveIntelligenceLintVersion to 0.2.0 and run sync:package-skills from npm.
  • Consumers (T8 devpunks-intelligence PR #79, T9 emera-platform, T10 apito) adopt the released Baseline.

On this page