Bootstrap @citation-evidence/engine as a standalone TypeScript package with shared types and engine services copied from the umbrella MVP. All 89 tests pass with lint and typecheck clean.
2.3 KiB
2.3 KiB
| id | type | title | domain | repo | status | owner | topic_slug | created | updated | state_hub_workstream_id |
|---|---|---|---|---|---|---|---|---|---|---|
| CENG-WP-0001 | workplan | Extract engine from citation-evidence umbrella | citation_evidence | citation-engine | done | codex | citation_evidence_mvp | 2026-06-21 | 2026-06-22 | ccd217a2-572d-435d-9a29-e0a55b6a4311 |
CENG-WP-0001 — Extract Engine from Umbrella
Extract citation-evidence/src/shared/ and citation-evidence/src/engine/ into
this repository as a standalone TypeScript package (@citation-evidence/engine).
Prerequisite: umbrella MVP complete (CE-WP-0001..0008).
Dependency order
T01 (toolchain scaffold)
└─ T02 (copy shared/ + engine/ from umbrella)
└─ T03 (conformance reference: wiki/SharedContracts.md)
└─ T04 (test + typecheck + lint green)
T01 — Toolchain scaffold
id: CENG-WP-0001-T01
status: done
priority: critical
state_hub_task_id: "755e36b7-983d-48e8-af94-fd074db7f745"
Deliverables:
package.jsonwithtest,lint,typecheckscriptstsconfig.jsonwith@shared/*and@engine/*path aliasesvitest.config.ts,eslint.config.js,.nvmrc- Node-oriented
.gitignore
T02 — Extract shared/ and engine/
id: CENG-WP-0001-T02
status: done
priority: critical
depends_on: [T01]
Copy the umbrella partitions verbatim:
src/shared/— domain types, enums, normalizationsrc/engine/— services, repos, events, rendering, persistence
No import path changes required; aliases match the umbrella layout.
T03 — SharedContracts conformance reference
id: CENG-WP-0001-T03
status: done
priority: high
depends_on: [T02]
Copy wiki/SharedContracts.md from the umbrella so enum conformance tests
(evidence-link.test.ts) keep a local reference.
T04 — Verification
id: CENG-WP-0001-T04
status: done
priority: critical
depends_on: [T02, T03]
pnpm test— 89 tests passpnpm typecheck— cleanpnpm lint— clean (shared/engine boundary enforced)
Follow-up (out of scope)
- Wire
citation-evidenceto consume@citation-evidence/engineas a workspace dependency and delete the in-repo copies (CE-WP-0009 or equivalent). - Publish package to a registry when sister repos are ready to depend on it.