b84230e389
---ci---
phase: 1
milestone: v0.2.0
status: execute
decisions:
- id: D-001
decision: Git log as primary project memory, .ci/ for long-lived references only
rationale: Eliminates state drift, enables reconstruction from commit messages alone
confidence: 0.95
alternatives: [hybrid file+git, pure git with no .ci/]
- id: D-002
decision: ---ci--- YAML blocks in commit bodies for machine-parseable metadata
rationale: Structured and human-readable; grep-friendly; round-trips through parser
confidence: 0.92
alternatives: [JSON payload, conventional-commit-only]
- id: D-003
decision: Phase+milestone branch naming (phase/NN-slug, milestone/vX.X-slug)
rationale: Branch list immediately shows project state; merged equals complete
confidence: 0.88
alternatives: [trunk+tags, milestone-only branches]
requirements:
covered: [ARCH-01, ARCH-02, ARCH-03, ARCH-04, ARCH-05, ARCH-06]
lessons:
- Commit body YAML must round-trip through parser — tested before shipping
- .ci/audit/ removal required updating 4 test suites that depended on audit files
---/ci---
New modules: commit-parser, commit-builder, git-context, git-branch, ci-files
Core rewrites: DecisionEngine, EscalationProtocol, OrchestratorAgent
Removed: .ci/audit/, .planning/ directory support
Tests: 25 suites, 218 passing (up from 20/158)
22 lines
432 B
JavaScript
22 lines
432 B
JavaScript
/** @type {import('jest').Config} */
|
|
module.exports = {
|
|
preset: "ts-jest",
|
|
testEnvironment: "node",
|
|
roots: ["<rootDir>/src"],
|
|
testMatch: ["**/*.test.ts"],
|
|
transform: {
|
|
"^.+\\.tsx?$": [
|
|
"ts-jest",
|
|
{
|
|
tsconfig: "tsconfig.json",
|
|
useESM: false,
|
|
diagnostics: {
|
|
ignoreCodes: [151002],
|
|
},
|
|
},
|
|
],
|
|
},
|
|
moduleNameMapper: {
|
|
"^(\\.\\.?/.*)\\.js$": "$1",
|
|
},
|
|
}; |