create-majlis 0.9.0 → 0.9.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.
Files changed (2) hide show
  1. package/dist/index.js +20 -30
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1233,46 +1233,31 @@ See \`docs/workflow.md\` for the full cycle. See \`.claude/agents/\` for role de
1233
1233
 
1234
1234
  ### Session Discipline
1235
1235
  - One intent per session. Declare it with \`majlis session start "intent"\`.
1236
- - Stray thoughts \u2192 Telegram (Scribe) or docs/inbox/.
1236
+ - Stray thoughts \u2192 \`docs/inbox/\`.
1237
1237
  - Every session ends with \`majlis session end\`.
1238
1238
 
1239
1239
  ### Before Building
1240
1240
  - Read \`docs/synthesis/current.md\` for compressed project state.
1241
1241
  - Run \`majlis dead-ends --sub-type <relevant>\` for structural constraints.
1242
1242
  - Run \`majlis decisions --level judgment\` for provisional decisions to challenge.
1243
+ - Run \`majlis brief\` for a context dump of the current experiment state.
1243
1244
 
1244
- ### Compression Trigger
1245
- - Run \`majlis status\` \u2014 it will warn when compression is due.
1245
+ ### Capturing Observations
1246
+ - \`majlis note "text" --tag hypothesis\` \u2014 save observations to the DB (injected into agent contexts).
1247
+ - \`majlis journal "text"\` \u2014 timestamped breadcrumbs during manual hacking.
1248
+ - \`majlis catch-up "description" --diff HEAD~3..HEAD\` \u2014 create experiment retroactively from manual work.
1246
1249
 
1247
- ### Current State
1248
- Run \`majlis status\` for live experiment state and cycle position.
1249
- `;
1250
- function claudeMdContent2(name, objective) {
1251
- return `# ${name}
1250
+ ### Chain Integrity
1251
+ - If an experiment you depend on is dead-ended, your experiment is flagged as "weakened chain".
1252
+ - Run \`majlis status\` to see chain warnings. Revert or proceed at your own risk.
1252
1253
 
1253
- ${objective ? `**Objective:** ${objective}
1254
- ` : ""}## Majlis Protocol
1254
+ ### Verification Review
1255
+ - If \`require_human_verify\` is enabled, experiments pause at \`verified\` for human review.
1256
+ - Run \`majlis resolve\` to proceed or \`majlis resolve --reject\` to dead-end.
1255
1257
 
1256
- This project uses the Majlis Framework for structured multi-agent problem solving.
1257
- See \`docs/workflow.md\` for the full cycle. See \`.claude/agents/\` for role definitions (source of truth in \`.majlis/agents/\`).
1258
-
1259
- ### Evidence Hierarchy (tag every decision)
1260
- 1. **Proof** \u2014 mathematical proof. Overturn requires error in proof.
1261
- 2. **Test** \u2014 empirical test. Overturn requires showing test insufficiency.
1262
- 3a. **Strong Consensus** \u2014 convergence across independent approaches.
1263
- 3b. **Consensus** \u2014 agreement from same-model experiments.
1264
- 4. **Analogy** \u2014 justified by similarity to prior work.
1265
- 5. **Judgment** \u2014 independent reasoning without precedent.
1266
-
1267
- ### Session Discipline
1268
- - One intent per session. Declare it with \`majlis session start "intent"\`.
1269
- - Stray thoughts \u2192 Telegram (Scribe) or docs/inbox/.
1270
- - Every session ends with \`majlis session end\`.
1271
-
1272
- ### Before Building
1273
- - Read \`docs/synthesis/current.md\` for compressed project state.
1274
- - Run \`majlis dead-ends --sub-type <relevant>\` for structural constraints.
1275
- - Run \`majlis decisions --level judgment\` for provisional decisions to challenge.
1258
+ ### Purpose Audit
1259
+ - Circuit breaker trips (3+ failures on a sub-type) trigger a Maqasid Check.
1260
+ - If the audit proposes an objective rewrite, run \`majlis audit --accept\` or \`--reject\`.
1276
1261
 
1277
1262
  ### Compression Trigger
1278
1263
  - Run \`majlis status\` \u2014 it will warn when compression is due.
@@ -1280,6 +1265,11 @@ See \`docs/workflow.md\` for the full cycle. See \`.claude/agents/\` for role de
1280
1265
  ### Current State
1281
1266
  Run \`majlis status\` for live experiment state and cycle position.
1282
1267
  `;
1268
+ function claudeMdContent2(name, objective) {
1269
+ return `# ${name}
1270
+
1271
+ ${objective ? `**Objective:** ${objective}
1272
+ ` : ""}${CLAUDE_MD_SECTION}`;
1283
1273
  }
1284
1274
  var DEFAULT_CONFIG = {
1285
1275
  project: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-majlis",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Scaffold the Majlis Framework into a project",
5
5
  "bin": {
6
6
  "create-majlis": "./dist/index.js"