chati-dev 4.4.0 → 4.4.1
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/bin/chati.js +16 -0
- package/framework/config.yaml +3 -3
- package/framework/constitution.md +3 -1
- package/framework/data/entity-registry.yaml +1 -1
- package/framework/manifest.json +1351 -0
- package/framework/manifest.sig +1 -0
- package/framework/orchestrator/chati.md +5 -2
- package/package.json +2 -2
- package/src/config/claude-settings-generator.js +9 -6
- package/src/installer/core.js +33 -3
- package/src/installer/manifest.js +30 -4
- package/src/installer/signing-public-key.pem +1 -1
- package/src/installer/validator.js +2 -1
- package/src/intelligence/registry-manager.js +2 -1
- package/src/memory/magic-docs.js +6 -1
- package/src/orchestrator/cli.js +21 -9
- package/src/orchestrator/deviation-handler.js +5 -3
- package/src/terminal/run-parallel.js +14 -14
- package/src/upgrade/backup.js +22 -44
- package/src/upgrade/migrator.js +51 -12
- package/src/utils/constitution-meta.js +12 -0
- package/src/utils/feature-flags.js +25 -1
package/bin/chati.js
CHANGED
|
@@ -141,6 +141,22 @@ async function main() {
|
|
|
141
141
|
console.log(` Framework sync skipped: ${err.message}`);
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
+
// 2.55. Refresh .claude/settings.json (merge-safe) so hook registrations
|
|
145
|
+
// added in newer versions reach existing installs. Without this, projects
|
|
146
|
+
// installed before a hook was added to the generator never receive it
|
|
147
|
+
// (reasoning-escalator and git-push-authority were missing for everyone).
|
|
148
|
+
try {
|
|
149
|
+
const { writeClaudeSettingsWithMerge } = await import('../src/installer/core.js');
|
|
150
|
+
const { existsSync: ex } = await import('fs');
|
|
151
|
+
const settingsPath = join(targetDir, '.claude', 'settings.json');
|
|
152
|
+
if (ex(join(targetDir, '.claude'))) {
|
|
153
|
+
writeClaudeSettingsWithMerge(settingsPath);
|
|
154
|
+
console.log(' Claude settings refreshed (hooks re-registered).');
|
|
155
|
+
}
|
|
156
|
+
} catch (err) {
|
|
157
|
+
console.log(` Settings refresh skipped: ${err.message}`);
|
|
158
|
+
}
|
|
159
|
+
|
|
144
160
|
// 2.6. Re-bundle CLI (Bug 4 part 3, v4.3.1+) — refreshes .chati.dev/_cli/
|
|
145
161
|
// and writes version.json so chati-router.js mismatch detection clears
|
|
146
162
|
// on the next invocation.
|
package/framework/config.yaml
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# chati.dev Configuration
|
|
2
|
-
version: "4.4.
|
|
2
|
+
version: "4.4.1"
|
|
3
3
|
installed_at: "2026-02-07T10:00:00Z"
|
|
4
|
-
updated_at: "2026-06-
|
|
5
|
-
installer_version: "4.4.
|
|
4
|
+
updated_at: "2026-06-11T00:00:00Z"
|
|
5
|
+
installer_version: "4.4.1"
|
|
6
6
|
project_type: greenfield
|
|
7
7
|
language: en
|
|
8
8
|
ides: [claude-code]
|
|
@@ -834,6 +834,8 @@ Tiers reset to each agent's DEFAULT at task start. Exception: if the current ses
|
|
|
834
834
|
- **Article XX (Anti-Loop Protocol)**: the `correction_cycles >= 2` trigger overlaps with the 3-Strike Rule. After the third strike, Anti-Loop takes precedence (STOP; human direction), even if the tier would have allowed another loop at `deliberate`.
|
|
835
835
|
- **Article XXII (Fault Vector Protocol)**: `decision_trail_open > 2` is measured against entries whose `resolved` flag is false.
|
|
836
836
|
|
|
837
|
+
**Enforcement: BLOCK** — `reasoning-escalator.js` denies Write/Edit tool calls when the tier is `deliberate` and no plan artifact exists. Tier evaluation itself is advisory; only the deliberate-plan requirement blocks.
|
|
838
|
+
|
|
837
839
|
---
|
|
838
840
|
|
|
839
841
|
## Article XXIV: Model-Harness Parity
|
|
@@ -883,7 +885,7 @@ The Tasks agent assigns the kind. When a task could be either `script` or `agent
|
|
|
883
885
|
|
|
884
886
|
---
|
|
885
887
|
|
|
886
|
-
*Chati.dev Constitution v4.4.
|
|
888
|
+
*Chati.dev Constitution v4.4.1 — 25 Articles + Preamble*
|
|
887
889
|
*v4.2.0 Amendments: Article V amended (Team Communication); Article VIII amended (Team Handoff Envelope); Article XII amended (PRISM L6 Team Roster); Article XXI added (Agent Teams Governance); Article XXII added (Fault Vector Protocol)*
|
|
888
890
|
*v4.2.1 Fixes: installer refactor (recursive copy), features block in config, context files sync*
|
|
889
891
|
*v4.2.2 Fixes: 10 hooks rewritten to canonical hookSpecificOutput schema; .claude/settings.json now written by installer; license enforcement 3-provider; Agent Teams default ON*
|