brainx-skill 1.0.14 → 1.0.15
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: brainx-modeling-loop
|
|
3
|
-
description: Use first for an end-to-end BrainX modeling project. Start fresh or resume from brainmodeling-memory.md, write a compact NeuroSpecification.md, study the relevant BrainX skills deeply, implement and accelerate the model, run experiments, send code and results to Codex through MCP, restudy the affected BrainX skills when review refuses, and visualize only after review passes.
|
|
3
|
+
description: Use first for an end-to-end BrainX modeling project. Start fresh or resume from brainmodeling-memory.md, write a compact NeuroSpecification.md, optionally research unknown, unverified, or controversial scientific mechanisms, study the relevant BrainX skills deeply, implement and accelerate the model, run experiments, send code and results to Codex through MCP, restudy the affected BrainX skills when review refuses, and visualize only after review passes.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# BrainX modeling loop
|
|
@@ -50,9 +50,9 @@ For `resume`, read the checkpoints in order, verify the latest artifact pointers
|
|
|
50
50
|
and continue from the first unfinished action after the latest valid checkpoint.
|
|
51
51
|
|
|
52
52
|
```text
|
|
53
|
-
fresh-new -> step 0 -> step 1 -> step 2 -> step 3 -> step 4 -> step 5
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
fresh-new -> step 0 -> optional literature gate -> step 1 -> step 2 -> step 3 -> step 4 -> step 5
|
|
54
|
+
^ |
|
|
55
|
+
|--------- REFUSE ---------|
|
|
56
56
|
|
|
57
57
|
step 5 PASS -> step 6 -> complete
|
|
58
58
|
```
|
|
@@ -96,9 +96,35 @@ Use only this core structure:
|
|
|
96
96
|
- Allowed claims and explicit non-claims:
|
|
97
97
|
```
|
|
98
98
|
|
|
99
|
-
Inspect supplied data before completing its contract. Keep raw data read-only, preserve units and axis meaning, and prevent preprocessing leakage.
|
|
99
|
+
Inspect supplied data before completing its contract. Keep raw data read-only, preserve units and axis meaning, and prevent preprocessing leakage. Obtain researcher approval for the initial specification, then evaluate the literature gate before proceeding to step 1.
|
|
100
100
|
|
|
101
|
-
|
|
101
|
+
### Optional literature gate after the NeuroSpecification
|
|
102
|
+
|
|
103
|
+
Use literature research only when unresolved scientific evidence could change the model, experiment, validation, or allowed claims; do not use it for ordinary BrainX implementation uncertainty.
|
|
104
|
+
|
|
105
|
+
| Trigger case | Use `bio-neuro-lit` when |
|
|
106
|
+
|---|---|
|
|
107
|
+
| Unknown mechanism | The requested phenomenon is clear, but the responsible biological mechanism, represented scale, causal pathway, or defensible model abstraction is not established. |
|
|
108
|
+
| Unverified premise | The specification depends on an unsupported causal direction, cell type or circuit role, parameter regime, species transfer, scale mapping, intervention effect, or biological-realism claim. |
|
|
109
|
+
| Controversial explanation | Multiple credible mechanisms or model families explain the headline observation but imply different state variables, equations, interventions, controls, or observables. |
|
|
110
|
+
| Evidence-dependent design choice | Choosing a model family, component, coupling sign, timescale, input protocol, control, validation metric, or acceptance criterion requires experimental or computational-neuroscience evidence. |
|
|
111
|
+
| Ambiguous reproduction target | A target paper, preprint, or supplied description omits decisive methods, conflicts across versions, or claims a mechanism that its reported experiment may not isolate. |
|
|
112
|
+
| Recency-sensitive claim | The researcher asks for the current state of evidence, or recent findings could reasonably change the mechanism or model choice. |
|
|
113
|
+
|
|
114
|
+
Skip the literature gate when the researcher supplies an agreed authoritative mechanism and requests faithful implementation, when a standard model is already fixed, or when the uncertainty concerns only BrainX APIs, software architecture, optimization, debugging, or fitting parameters from supplied data. Open the owning BrainX skills for those cases. A topic being unfamiliar to the agent is not by itself a trigger.
|
|
115
|
+
|
|
116
|
+
When the gate triggers:
|
|
117
|
+
|
|
118
|
+
1. Name each unresolved scientific claim and the modeling decision it controls. Keep the search scoped to those decisions.
|
|
119
|
+
2. Invoke `bio-neuro-lit` and require it to distinguish full-text from abstract-only evidence, publication versions, consensus, disagreement, and non-claims.
|
|
120
|
+
3. Have `bio-neuro-lit` append its essential modeling consequences to `brainmodeling-memory.md` as `## Literature evidence`, without changing the current checkpoint.
|
|
121
|
+
4. Reconcile the evidence with `NeuroSpecification.md`. Preserve supported choices, encode unresolved alternatives and discriminating controls, and narrow claims that the evidence does not justify.
|
|
122
|
+
5. Do not silently change an approved specification. If the evidence changes a model, experiment, acceptance boundary, or allowed claim, mark the revision `draft`, obtain researcher approval, relock it, and append a corrected step-0 checkpoint that names the earlier checkpoint it supersedes.
|
|
123
|
+
6. If the evidence remains inconclusive and the alternatives would produce materially different studies, ask the researcher to choose or approve a comparison design before step 1. Otherwise preserve the uncertainty as an explicit limitation and required test.
|
|
124
|
+
|
|
125
|
+
When the gate does not trigger, record the skip and its reason as a step-0 milestone. Do not perform a broad background review merely to make the study record look comprehensive.
|
|
126
|
+
|
|
127
|
+
**Step result:** a locked or evidence-reconciled `NeuroSpecification.md`, a resolved or explicitly skipped literature gate, and a memory checkpoint pointing to step 1.
|
|
102
128
|
|
|
103
129
|
## Step 1: Study the relevant BrainX modeling skills
|
|
104
130
|
|