sinapse-ai 1.16.0 → 1.17.0
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/.claude/hooks/doc-first-gate.cjs +156 -0
- package/.claude/hooks/enforce-story-gate.cjs +6 -2
- package/.claude/rules/hook-governance.md +1 -0
- package/.sinapse-ai/constitution.md +1 -1
- package/.sinapse-ai/core/atlas/atlas-data.js +278 -0
- package/.sinapse-ai/core/atlas/flows-pt.js +253 -0
- package/.sinapse-ai/core/atlas/flows.js +266 -0
- package/.sinapse-ai/core/atlas/index.js +62 -0
- package/.sinapse-ai/core/atlas/render-html.js +216 -0
- package/.sinapse-ai/core/atlas/render-markdown.js +313 -0
- package/.sinapse-ai/core/atlas/render-research-card.js +164 -0
- package/.sinapse-ai/core/orchestration/build-command.js +136 -0
- package/.sinapse-ai/core/orchestration/doc-first-resolver.js +322 -0
- package/.sinapse-ai/core/orchestration/route-command.js +97 -0
- package/.sinapse-ai/data/entity-registry.yaml +59 -14
- package/.sinapse-ai/development/agents/snps-orqx.md +9 -0
- package/.sinapse-ai/development/tasks/create-doc.md +1 -1
- package/.sinapse-ai/development/tasks/create-next-story.md +2 -3
- package/.sinapse-ai/development/tasks/spec-gather-requirements.md +11 -0
- package/.sinapse-ai/development/templates/approval-table.md +106 -0
- package/.sinapse-ai/development/workflows/spec-pipeline.yaml +1 -0
- package/.sinapse-ai/install-manifest.yaml +60 -16
- package/.sinapse-ai/product/templates/prd-tmpl.yaml +6 -2
- package/CHANGELOG.md +18 -2
- package/bin/sinapse.js +121 -0
- package/docs/framework/atlas/OPERATING-ATLAS.md +537 -0
- package/docs/framework/atlas/README.md +34 -0
- package/docs/framework/atlas/atlas-data.json +2810 -0
- package/docs/framework/atlas/atlas.html +392 -0
- package/package.json +1 -1
- package/packages/installer/src/wizard/ide-config-generator.js +6 -0
- package/scripts/install-chrome-brain.sh +2 -2
- package/scripts/validate-no-personal-leaks.js +24 -9
- package/squads/squad-copy/knowledge-base/consequence-headline-patterns.md +2 -2
- package/docs/guides/hooks-two-layers.md +0 -66
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Framework Operating Atlas
|
|
2
|
+
|
|
3
|
+
The living, generated map of **how the SINAPSE framework works** — routing,
|
|
4
|
+
model selection, the constitution, the full workflow catalog, every agent and
|
|
5
|
+
squad. One source of truth, two renderings (plus the raw data):
|
|
6
|
+
|
|
7
|
+
| File | For | Format |
|
|
8
|
+
|---|---|---|
|
|
9
|
+
| [`OPERATING-ATLAS.md`](./OPERATING-ATLAS.md) | reading (human or LLM) | dense, navigable markdown with Mermaid diagrams |
|
|
10
|
+
| [`atlas.html`](./atlas.html) | exploring visually | self-contained dashboard — searchable/filterable tables + flow diagram |
|
|
11
|
+
| [`atlas-data.json`](./atlas-data.json) | tooling | structured data (one object per workflow / agent / squad / article / rule) |
|
|
12
|
+
|
|
13
|
+
## Regenerate
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
sinapse atlas # regenerate all three from disk
|
|
17
|
+
sinapse atlas --open # ...and open the visual dashboard
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Counts are read directly from the repository every time, so the atlas is always
|
|
21
|
+
exact (Constitution **Article VII — Ecosystem Metrics Accuracy**). After adding
|
|
22
|
+
or changing a squad, agent, workflow, rule, or constitutional article, run
|
|
23
|
+
`sinapse atlas` to refresh.
|
|
24
|
+
|
|
25
|
+
## How it's built
|
|
26
|
+
|
|
27
|
+
- `.sinapse-ai/core/atlas/atlas-data.js` — scans the repo → the single data object.
|
|
28
|
+
- `.sinapse-ai/core/atlas/render-markdown.js` — the LLM-readable atlas.
|
|
29
|
+
- `.sinapse-ai/core/atlas/render-html.js` — the visual dashboard.
|
|
30
|
+
- `.sinapse-ai/core/atlas/index.js` — `generateAtlas()` (writes all three).
|
|
31
|
+
|
|
32
|
+
The narrative "operating model" and "routing" sections are authored in the
|
|
33
|
+
markdown renderer; every catalog (constitution, workflows, agents, squads,
|
|
34
|
+
rules) is generated, so the docs can never drift from the code.
|