chati-dev 4.1.3 → 4.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/framework/config.yaml +4 -4
- package/framework/constitution.md +3 -3
- package/framework/context/root.md +1 -1
- package/framework/data/entity-registry.yaml +1 -1
- package/framework/intelligence/memory-layer.md +2 -2
- package/framework/orchestrator/chati.md +8 -8
- package/package.json +1 -1
- package/src/installer/core.js +7 -0
- package/src/memory/dream.js +1 -1
package/framework/config.yaml
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# chati.dev Configuration
|
|
2
|
-
version: "4.1.
|
|
2
|
+
version: "4.1.4"
|
|
3
3
|
installed_at: "2026-02-07T10:00:00Z"
|
|
4
4
|
updated_at: "2026-04-06T00:00:00Z"
|
|
5
|
-
installer_version: "4.1.
|
|
5
|
+
installer_version: "4.1.4"
|
|
6
6
|
project_type: greenfield
|
|
7
7
|
language: en
|
|
8
8
|
ides: [claude-code]
|
|
@@ -45,8 +45,8 @@ features:
|
|
|
45
45
|
# Intelligence Upgrade (v4.0.5 — Claude Code patterns)
|
|
46
46
|
undercover_mode: true # Sanitize framework terms from deliverables
|
|
47
47
|
memory_extraction: true # Per-turn automatic memory capture
|
|
48
|
-
memory_consolidation: true #
|
|
49
|
-
daily_digest: true #
|
|
48
|
+
memory_consolidation: true # Automatic 4-phase memory consolidation
|
|
49
|
+
daily_digest: true # Automatic daily activity log (KAIROS Lite)
|
|
50
50
|
structured_session_memory: true # 8-section session digest with token budgets
|
|
51
51
|
static_prism_boundary: true # Static/Dynamic PRISM boundary for cache optimization
|
|
52
52
|
token_bracket_estimation: true # Token-based bracket estimation (replaces turn count)
|
|
@@ -322,11 +322,11 @@ The pipeline operates in three execution modes that control agent permissions. M
|
|
|
322
322
|
|
|
323
323
|
7. Memory attention scoring SHALL use natural decay — memories not accessed lose relevance organically. No memory is permanent unless explicitly marked as durable by the user.
|
|
324
324
|
|
|
325
|
-
8. The system SHALL support memory consolidation
|
|
325
|
+
8. The system SHALL support automatic memory consolidation to merge, deduplicate, and prune accumulated memories. Consolidation follows a 4-phase cycle (Orient, Gather, Consolidate, Prune) and archives removed entries rather than deleting them. Triggered automatically when memory entries exceed threshold.
|
|
326
326
|
|
|
327
327
|
9. Per-turn memory extraction MAY capture decisions, resolutions, corrections, and validated patterns automatically from agent output. Extracted memories start at warm tier (confidence 0.5) and are promoted through evidence accumulation.
|
|
328
328
|
|
|
329
|
-
10. Daily activity digests
|
|
329
|
+
10. Daily activity digests SHALL maintain append-only session logs for observability. Digests are generated automatically at session end and are cumulative per calendar day, including agent scores, decisions, and gotchas.
|
|
330
330
|
|
|
331
331
|
**Enforcement: BLOCK** — Auto-modification of user files is a critical violation.
|
|
332
332
|
|
|
@@ -489,5 +489,5 @@ When multiple CLI providers are enabled, the system SHALL coordinate agent execu
|
|
|
489
489
|
|
|
490
490
|
---
|
|
491
491
|
|
|
492
|
-
*Chati.dev Constitution v4.1.
|
|
492
|
+
*Chati.dev Constitution v4.1.4 — 19 Articles + Preamble*
|
|
493
493
|
*All agents are bound by this Constitution. Violations are enforced per article.*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Chati.dev System Context
|
|
2
2
|
|
|
3
3
|
## Framework
|
|
4
|
-
- **Version**: 4.1.
|
|
4
|
+
- **Version**: 4.1.4
|
|
5
5
|
- **Agents**: Specialized agents across DISCOVER, PLAN, BUILD, DEPLOY phases
|
|
6
6
|
- **Constitution**: 19 Articles + Preamble
|
|
7
7
|
- **Quality**: 5 pipeline gates + 3-tier verdicts (APPROVED / NEEDS_REVISION / BLOCKED)
|
|
@@ -159,7 +159,7 @@ Where:
|
|
|
159
159
|
|
|
160
160
|
## Memory Consolidation (Dream System)
|
|
161
161
|
|
|
162
|
-
|
|
162
|
+
Memory consolidation is triggered automatically (when entries exceed threshold or on PreCompact). It follows a 4-phase cycle inspired by Claude Code's autoDream:
|
|
163
163
|
|
|
164
164
|
| Phase | Name | Action |
|
|
165
165
|
|-------|------|--------|
|
|
@@ -201,7 +201,7 @@ The memory extraction system automatically captures knowledge from agent output
|
|
|
201
201
|
|
|
202
202
|
## Daily Digest (KAIROS Lite)
|
|
203
203
|
|
|
204
|
-
|
|
204
|
+
Daily activity digests are generated automatically at session end and stored in `.chati/memories/shared/daily/YYYY-MM-DD.md`.
|
|
205
205
|
|
|
206
206
|
Each session appends an entry with:
|
|
207
207
|
- Timestamp and pipeline phase
|
|
@@ -224,11 +224,11 @@ These agents run in separate Claude Code processes.
|
|
|
224
224
|
|
|
225
225
|
### Sequential Fallback
|
|
226
226
|
|
|
227
|
-
If terminal spawning fails (
|
|
227
|
+
If terminal spawning fails (CLI not found, system error), fall back **silently**:
|
|
228
228
|
```
|
|
229
|
-
1.
|
|
230
|
-
2.
|
|
231
|
-
3. Continue pipeline normally
|
|
229
|
+
1. Do NOT display any error or fallback message to the user
|
|
230
|
+
2. Read the agent .md file directly and become that agent in-conversation
|
|
231
|
+
3. Continue pipeline normally — the user should not notice any difference
|
|
232
232
|
```
|
|
233
233
|
|
|
234
234
|
---
|
|
@@ -242,11 +242,11 @@ Planning phase agents (detail, architect, ux) run simultaneously.
|
|
|
242
242
|
3. Parse consolidated JSON output
|
|
243
243
|
4. Present **Completion Options** (Parallel Group variant) — wait for user choice
|
|
244
244
|
5. On approval, for each completed agent, run `orchestrate advance --agent {name} --score {score}`
|
|
245
|
-
6. If partial failure:
|
|
245
|
+
6. If partial or total failure (spawning unavailable):
|
|
246
246
|
```
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
247
|
+
Fall back silently to sequential in-conversation execution.
|
|
248
|
+
Do NOT display error messages about spawning or CLI availability.
|
|
249
|
+
Read each agent .md file and execute sequentially within the conversation.
|
|
250
250
|
```
|
|
251
251
|
|
|
252
252
|
### Parallelization Rules
|
package/package.json
CHANGED
package/src/installer/core.js
CHANGED
|
@@ -161,7 +161,12 @@ function copyFrameworkFiles(destDir, provider = 'claude') {
|
|
|
161
161
|
// PLAN agents
|
|
162
162
|
'agents/plan/detail.md',
|
|
163
163
|
'agents/plan/architect.md',
|
|
164
|
+
'agents/plan/architect-system.md',
|
|
165
|
+
'agents/plan/architect-data-engineer.md',
|
|
164
166
|
'agents/plan/ux.md',
|
|
167
|
+
'agents/plan/ux-brand-architect.md',
|
|
168
|
+
'agents/plan/ux-researcher.md',
|
|
169
|
+
'agents/plan/ux-component-engineer.md',
|
|
165
170
|
'agents/plan/phases.md',
|
|
166
171
|
'agents/plan/tasks.md',
|
|
167
172
|
// Quality agents
|
|
@@ -178,9 +183,11 @@ function copyFrameworkFiles(destDir, provider = 'claude') {
|
|
|
178
183
|
'templates/qa-gate-tmpl.yaml',
|
|
179
184
|
'templates/quick-brief-tmpl.yaml',
|
|
180
185
|
'templates/brandbook-tmpl.yaml',
|
|
186
|
+
'templates/brandbook-html-tmpl.md',
|
|
181
187
|
'templates/design-token-tmpl.yaml',
|
|
182
188
|
'templates/component-spec-tmpl.yaml',
|
|
183
189
|
'templates/icon-system-tmpl.yaml',
|
|
190
|
+
'templates/session-memory-tmpl.yaml',
|
|
184
191
|
// Workflows
|
|
185
192
|
'workflows/greenfield-fullstack.yaml',
|
|
186
193
|
'workflows/brownfield-fullstack.yaml',
|
package/src/memory/dream.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Phase 3 (Consolidate): Deduplicate, merge cross-agent, increment evidence
|
|
8
8
|
* Phase 4 (Prune): Remove cold/low-confidence entries, archive removed
|
|
9
9
|
*
|
|
10
|
-
* Triggered
|
|
10
|
+
* Triggered automatically when memory entries exceed threshold or on PreCompact.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import { existsSync, readFileSync, writeFileSync, mkdirSync, readdirSync } from 'fs';
|