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 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.
@@ -1,8 +1,8 @@
1
1
  # chati.dev Configuration
2
- version: "4.4.0"
2
+ version: "4.4.1"
3
3
  installed_at: "2026-02-07T10:00:00Z"
4
- updated_at: "2026-06-08T00:00:00Z"
5
- installer_version: "4.4.0"
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.0 — 25 Articles + Preamble*
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*
@@ -3,7 +3,7 @@
3
3
  # and by the Health Check for system integrity validation.
4
4
 
5
5
  metadata:
6
- version: "4.4.0"
6
+ version: "4.4.1"
7
7
  last_updated: "2026-05-18T00:00:00Z"
8
8
  entity_count: 109
9
9
  checksum_algorithm: sha256