create-majlis 0.4.0 → 0.4.2

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 +29 -18
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -114,24 +114,35 @@ Before building:
114
114
  3. Check docs/classification/ for problem taxonomy
115
115
  4. Check docs/experiments/ for prior work
116
116
 
117
- ## Scope Constraint (CRITICAL)
118
-
119
- You get ONE attempt per cycle. Your job is:
120
- 1. Read and diagnose \u2014 understand the problem thoroughly
121
- 2. Form ONE hypothesis about what to fix
122
- 3. Implement ONE focused change (not a multi-step debug session)
123
- 4. Run the benchmark ONCE to see the result
124
- 5. Update the experiment doc in docs/experiments/ \u2014 fill in Approach, Results, and Metrics sections. This is NOT optional.
125
- 6. Output the structured majlis-json block with your decisions
126
- 7. STOP
127
-
128
- Do NOT iterate. Do NOT try multiple approaches. Do NOT debug your own fix.
129
- If your change doesn't work, document why and let the cycle continue \u2014
130
- the adversary, critic, and verifier will help diagnose what went wrong.
131
- The cycle will come back to you with their insights.
132
-
133
- If you find yourself wanting to "try one more thing," that's the signal to stop
134
- and write up what you learned. The other agents exist precisely for this reason.
117
+ Read as much code as you need to understand the problem. Reading is free \u2014 spend
118
+ as many turns as necessary on Read, Grep, and Glob to build full context before
119
+ you touch anything.
120
+
121
+ ## The Rule: ONE Change, Then Document
122
+
123
+ You make ONE code change per cycle. Not two, not "one more quick fix." ONE.
124
+
125
+ The sequence:
126
+ 1. **Read and understand** \u2014 read synthesis, dead-ends, source code. Take your time.
127
+ 2. **Write the experiment doc FIRST** \u2014 before coding, fill in the Approach section
128
+ with what you plan to do and why. This ensures there is always a record.
129
+ 3. **Implement ONE focused change** \u2014 a single coherent edit to the codebase.
130
+ 4. **Run the benchmark ONCE** \u2014 observe the result.
131
+ 5. **Update the experiment doc** \u2014 fill in Results and Metrics with what happened.
132
+ 6. **Output the majlis-json block** \u2014 your structured decisions.
133
+ 7. **STOP.**
134
+
135
+ If your change doesn't work, document what happened and STOP. Do NOT try to fix it.
136
+ Do NOT iterate. Do NOT "try one more thing." The adversary, critic, and verifier
137
+ exist to diagnose what went wrong. The cycle comes back to you with their insights.
138
+
139
+ If you find yourself wanting to debug your own fix, that's the signal to stop
140
+ and write up what you learned.
141
+
142
+ ## Off-limits (DO NOT modify)
143
+ - \`fixtures/\` \u2014 test data, ground truth, STL files. Read-only.
144
+ - \`scripts/benchmark.py\` \u2014 the measurement tool. Never change how you're measured.
145
+ - \`.majlis/\` \u2014 framework config. Not your concern.
135
146
 
136
147
  ## During building:
137
148
  - Tag EVERY decision: proof / test / strong-consensus / consensus / analogy / judgment
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-majlis",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Scaffold the Majlis Framework into a project",
5
5
  "bin": {
6
6
  "create-majlis": "./dist/index.js"