majlis 0.3.0 → 0.3.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/cli.js +16 -11
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -564,9 +564,8 @@ Rules:
564
564
  - Every doubt MUST reference evidence. "This feels wrong" is not a doubt.
565
565
  - You may NOT suggest fixes. Identify problems only.
566
566
  - Focus on judgment and analogy-level decisions first.
567
- - You may NOT modify any files. Produce a doubt document only.
568
-
569
- Write to docs/doubts/NNN-against-experiment-NNN.md
567
+ - You may NOT modify any files. Produce your doubt document as output only.
568
+ - Do NOT attempt to write files. The framework saves your output automatically.
570
569
 
571
570
  ## Structured Output Format
572
571
  <!-- majlis-json
@@ -592,9 +591,8 @@ For each approach the builder takes, ask:
592
591
  - Under what conditions do two things the builder treats as distinct become identical?
593
592
 
594
593
  Produce constructed counterexamples with reasoning.
595
- Do NOT suggest fixes. Do NOT modify files.
596
-
597
- Write to docs/challenges/NNN-against-experiment-NNN.md
594
+ Do NOT suggest fixes. Do NOT modify files. Do NOT attempt to write files.
595
+ The framework saves your output automatically.
598
596
 
599
597
  ## Structured Output Format
600
598
  <!-- majlis-json
@@ -624,7 +622,7 @@ CONTENT CHECK:
624
622
  Grade each component: sound / good / weak / rejected
625
623
  Grade each doubt/challenge: confirmed / dismissed (with evidence) / inconclusive
626
624
 
627
- Write to docs/verification/NNN-for-experiment-NNN.md
625
+ Produce your verification report as output. The framework saves it automatically.
628
626
 
629
627
  ## Structured Output Format
630
628
  <!-- majlis-json
@@ -658,7 +656,8 @@ Independently propose:
658
656
  Compare your decomposition with the existing classification.
659
657
  Flag structural divergences \u2014 these are the most valuable signals.
660
658
 
661
- Write to docs/reframes/NNN.md`,
659
+ Produce your reframe document as output. Do NOT attempt to write files.
660
+ The framework saves your output automatically.`,
662
661
  compressor: `---
663
662
  name: compressor
664
663
  model: opus
@@ -705,9 +704,8 @@ For the given experiment:
705
704
  Rules:
706
705
  - Present findings neutrally. Report each approach on its own terms.
707
706
  - Note where external approaches contradict the current one \u2014 these are the most valuable signals.
708
- - You may NOT modify code or make decisions. Produce a rihla document only.
709
-
710
- Write to docs/rihla/NNN-scout-for-experiment-NNN.md
707
+ - You may NOT modify code or make decisions. Produce your rihla document as output only.
708
+ - Do NOT attempt to write files. The framework saves your output automatically.
711
709
 
712
710
  ## Structured Output Format
713
711
  <!-- majlis-json
@@ -2058,6 +2056,9 @@ function determineNextStep(exp, valid, hasDoubts2, hasChallenges2) {
2058
2056
  throw new Error(`Experiment ${exp.slug} is terminal (${exp.status})`);
2059
2057
  }
2060
2058
  const status2 = exp.status;
2059
+ if (status2 === "classified" /* CLASSIFIED */) {
2060
+ return valid.includes("building" /* BUILDING */) ? "building" /* BUILDING */ : valid[0];
2061
+ }
2061
2062
  if (status2 === "built" /* BUILT */ && !hasDoubts2) {
2062
2063
  return valid.includes("doubted" /* DOUBTED */) ? "doubted" /* DOUBTED */ : valid[0];
2063
2064
  }
@@ -3095,6 +3096,10 @@ async function executeStep(step, exp, root) {
3095
3096
  case "compressed" /* COMPRESSED */:
3096
3097
  await cycle("compress", []);
3097
3098
  break;
3099
+ case "reframed" /* REFRAMED */:
3100
+ updateExperimentStatus(getDb(root), exp.id, "reframed");
3101
+ info(`Reframe acknowledged for ${exp.slug}. Proceeding to build.`);
3102
+ break;
3098
3103
  default:
3099
3104
  warn(`Don't know how to execute step: ${step}`);
3100
3105
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "majlis",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Multi-agent workflow CLI for structured doubt, independent verification, and compressed knowledge",
5
5
  "bin": {
6
6
  "majlis": "./dist/cli.js"