daedalus-cli 3.53.10 → 3.53.11
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [3.53.11](https://github.com/bgill55/daedalus/compare/v3.53.10...v3.53.11) (2026-08-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **constitution:** add root-cause-before-theory and secret-hygiene principles ([94ab885](https://github.com/bgill55/daedalus/commit/94ab88598e5cb76bb33d34471c5411fcd2238618))
|
|
7
|
+
|
|
1
8
|
## [3.53.10](https://github.com/bgill55/daedalus/compare/v3.53.9...v3.53.10) (2026-08-29)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constitution.d.ts","sourceRoot":"","sources":["../../src/config/constitution.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,qBAAqB,EAAE,SAAS,uBAAuB,
|
|
1
|
+
{"version":3,"file":"constitution.d.ts","sourceRoot":"","sources":["../../src/config/constitution.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,qBAAqB,EAAE,SAAS,uBAAuB,EA2C1D,CAAC;AAEX,wBAAgB,sBAAsB,IAAI,MAAM,CAE/C"}
|
|
@@ -34,6 +34,18 @@ export const DAEDALUS_CONSTITUTION = [
|
|
|
34
34
|
description: 'Git diffs must be audited by the reviewer subagent to prevent silent type-loosening, error-swallowing, or mock fallbacks.',
|
|
35
35
|
enforcedBy: 'Reviewer Subagent (src/agents/reviewer.ts)',
|
|
36
36
|
},
|
|
37
|
+
{
|
|
38
|
+
id: 'ROOT_CAUSE_BEFORE_THEORY',
|
|
39
|
+
name: 'Root-Cause Before Theory',
|
|
40
|
+
description: 'When a build/test/lint/verify command or a runtime call fails, read the relevant source files and form a hypothesis grounded in the actual code BEFORE theorizing. Never pivot away from the failing feature (e.g. "let us enhance offline mode instead") without root-causing the failure. Separate transport failures (is the input even delivered?) from credential/input failures. Do not retry a malformed debug command (e.g. an unquoted secret in curl) — quote arguments and re-run correctly.',
|
|
41
|
+
enforcedBy: 'constitution (prompt-injected); failure-diagnosis protocol',
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
id: 'SECRET_HYGIENE',
|
|
45
|
+
name: 'Secret Hygiene',
|
|
46
|
+
description: 'Never write, echo, or paste secrets (GitHub PATs, API keys, tokens) into source files, .env, chat, or summaries. If a credential appears in the conversation or on disk, flag it for revocation rather than reusing or re-displaying it. Prefer loading secrets from an environment variable or a gitignored file the user created themselves; never ask the user to paste a live token into chat.',
|
|
47
|
+
enforcedBy: 'constitution (prompt-injected); secret-scan write-guard recommended',
|
|
48
|
+
},
|
|
37
49
|
];
|
|
38
50
|
export function getConstitutionSummary() {
|
|
39
51
|
return DAEDALUS_CONSTITUTION.map(p => `- **${p.name}**: ${p.description}`).join('\n');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constitution.js","sourceRoot":"","sources":["../../src/config/constitution.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AASH,MAAM,CAAC,MAAM,qBAAqB,GAAuC;IACvE;QACE,EAAE,EAAE,sBAAsB;QAC1B,IAAI,EAAE,sBAAsB;QAC5B,WAAW,EAAE,oJAAoJ;QACjK,UAAU,EAAE,sDAAsD;KACnE;IACD;QACE,EAAE,EAAE,mCAAmC;QACv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,EAAE,8CAA8C;KAC3D;IACD;QACE,EAAE,EAAE,qBAAqB;QACzB,IAAI,EAAE,qBAAqB;QAC3B,WAAW,EAAE,2HAA2H;QACxI,UAAU,EAAE,4CAA4C;KACzD;IACD;QACE,EAAE,EAAE,0BAA0B;QAC9B,IAAI,EAAE,0BAA0B;QAChC,WAAW,EAAE,yeAAye;QACtf,UAAU,EAAE,4DAA4D;KACzE;IACD;QACE,EAAE,EAAE,gBAAgB;QACpB,IAAI,EAAE,gBAAgB;QACtB,WAAW,EAAE,oYAAoY;QACjZ,UAAU,EAAE,qEAAqE;KAClF;CACO,CAAC;AAEX,MAAM,UAAU,sBAAsB;IACpC,OAAO,qBAAqB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACxF,CAAC"}
|