SpecsCLIEntities Layer Model
Entities Layer Model Implementation Notes
Implementation Notes: Entities Layer Model
Delivery
- Plan: PLAN.md,
planning-onlytask identities. The Linear projection is partial: milestoneV4.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
| Task | Result | Evidence |
|---|---|---|
| T1 skills | Merged | wearedevpunks/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-app | Merged; npm release blocked | collective-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 rules | Done | 8a7c636cd sync, b969613aa rules; 14 rules, focused tests RED (38/39) then GREEN |
| T4 HI merge | Done | d6c6e947e: optional .oxfmtrc.json merge, merge-reported row |
| T5 HI package skill | Done with deviation | 7694ddcc8: 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 release | This PR | wiki 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):
- Released CLIs drop the new
optionalmerge flag: CLI 6.7.0 and the Unreleased Baseline range>=6.7.0 <7.0.0. - The merged
.oxfmtrc.jsonfailedoxfmt --check: merge formatjsoncedits in place (jsonc-parser, ESM entry for the bundle), then formats the file with the repository's ownoxfmt; a test runs the realoxfmt --check. - Nested Data Sources (
entities/candidate/cv/remote/) were not seen: aremote/orsimulated/folder at any depth of a feature or entity domain counts, fordata-source-importsand thelayer-orderserver rule. - A domain root
indexcould re-export its ownremote/: reported. ./index.csscounted as an own-index import: style and asset imports are not code edges.- A symlinked
.oxfmtrc.jsonwas reported as absent: reported as unusable. - 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/lint0.2.0 after a maintainer stages the first@collective-intelligence/backlogpublish; then setcollectiveIntelligenceLintVersionto0.2.0and runsync:package-skillsfrom npm. - Consumers (T8 devpunks-intelligence PR #79, T9 emera-platform, T10 apito) adopt the released Baseline.