majlis 0.4.1 → 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.
- package/dist/cli.js +29 -17
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -522,24 +522,35 @@ Before building:
|
|
|
522
522
|
3. Check docs/classification/ for problem taxonomy
|
|
523
523
|
4. Check docs/experiments/ for prior work
|
|
524
524
|
|
|
525
|
-
|
|
525
|
+
Read as much code as you need to understand the problem. Reading is free \u2014 spend
|
|
526
|
+
as many turns as necessary on Read, Grep, and Glob to build full context before
|
|
527
|
+
you touch anything.
|
|
528
|
+
|
|
529
|
+
## The Rule: ONE Change, Then Document
|
|
530
|
+
|
|
531
|
+
You make ONE code change per cycle. Not two, not "one more quick fix." ONE.
|
|
532
|
+
|
|
533
|
+
The sequence:
|
|
534
|
+
1. **Read and understand** \u2014 read synthesis, dead-ends, source code. Take your time.
|
|
535
|
+
2. **Write the experiment doc FIRST** \u2014 before coding, fill in the Approach section
|
|
536
|
+
with what you plan to do and why. This ensures there is always a record.
|
|
537
|
+
3. **Implement ONE focused change** \u2014 a single coherent edit to the codebase.
|
|
538
|
+
4. **Run the benchmark ONCE** \u2014 observe the result.
|
|
539
|
+
5. **Update the experiment doc** \u2014 fill in Results and Metrics with what happened.
|
|
540
|
+
6. **Output the majlis-json block** \u2014 your structured decisions.
|
|
541
|
+
7. **STOP.**
|
|
526
542
|
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
3. Implement ONE focused change (not a multi-step debug session)
|
|
531
|
-
4. Run the benchmark ONCE to see the result
|
|
532
|
-
5. Update the experiment doc in docs/experiments/ \u2014 fill in Approach, Results, and Metrics sections. This is NOT optional.
|
|
533
|
-
6. Output the structured majlis-json block with your decisions
|
|
534
|
-
7. STOP
|
|
543
|
+
If your change doesn't work, document what happened and STOP. Do NOT try to fix it.
|
|
544
|
+
Do NOT iterate. Do NOT "try one more thing." The adversary, critic, and verifier
|
|
545
|
+
exist to diagnose what went wrong. The cycle comes back to you with their insights.
|
|
535
546
|
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
the adversary, critic, and verifier will help diagnose what went wrong.
|
|
539
|
-
The cycle will come back to you with their insights.
|
|
547
|
+
If you find yourself wanting to debug your own fix, that's the signal to stop
|
|
548
|
+
and write up what you learned.
|
|
540
549
|
|
|
541
|
-
|
|
542
|
-
|
|
550
|
+
## Off-limits (DO NOT modify)
|
|
551
|
+
- \`fixtures/\` \u2014 test data, ground truth, STL files. Read-only.
|
|
552
|
+
- \`scripts/benchmark.py\` \u2014 the measurement tool. Never change how you're measured.
|
|
553
|
+
- \`.majlis/\` \u2014 framework config. Not your concern.
|
|
543
554
|
|
|
544
555
|
## During building:
|
|
545
556
|
- Tag EVERY decision: proof / test / strong-consensus / consensus / analogy / judgment
|
|
@@ -2460,7 +2471,7 @@ var init_spawn = __esm({
|
|
|
2460
2471
|
init_parse();
|
|
2461
2472
|
init_connection();
|
|
2462
2473
|
ROLE_MAX_TURNS = {
|
|
2463
|
-
builder:
|
|
2474
|
+
builder: 50,
|
|
2464
2475
|
critic: 12,
|
|
2465
2476
|
adversary: 12,
|
|
2466
2477
|
verifier: 15,
|
|
@@ -3286,7 +3297,8 @@ ${deadEnds.map((d) => `- ${d.approach}: ${d.why_failed} [constraint: ${d.structu
|
|
|
3286
3297
|
3. If NO \u2014 propose the SINGLE most promising next experiment hypothesis.
|
|
3287
3298
|
- It must NOT repeat a dead-ended approach (check the dead-end registry!)
|
|
3288
3299
|
- It should attack the weakest point revealed by synthesis/fragility
|
|
3289
|
-
- It must be specific and actionable \u2014 name the
|
|
3300
|
+
- It must be specific and actionable \u2014 name the function or mechanism to change
|
|
3301
|
+
- Do NOT reference specific line numbers \u2014 they shift between experiments
|
|
3290
3302
|
- The hypothesis should be a single sentence describing what to do, e.g.:
|
|
3291
3303
|
"Activate addSeamEdges() in the runEdgeFirst pipeline for full-revolution cylinder faces"
|
|
3292
3304
|
|