Commit 3f4fcff
committed
feat(docs,scripts,bolt): consumer skills, migration scripts, unified commit-failure wrapper
Three things land in one pass.
1. Bolt wire contract — single commit-failure shape on both commit paths.
The implicit-autocommit path at pkg/cypher/executor.go:1978 used to wrap
commit failures with "failed to commit implicit transaction: ..." while
the explicit BEGIN/COMMIT path at pkg/cypher/transaction.go:181 used
"commit failed: ...". Downstream Bolt classifiers that match on the
substring saw two shapes for the same race. Aligned both to "commit
failed: ..." and updated three downstream test sites that synthesized
the legacy wrapper.
Pinned with five new regression tests covering the consumer-visible
error contract (optimistic conflict shapes, commit-time UNIQUE wrapping,
MERGE idempotency under concurrent writers, namespaced-engine
constraint refresh, parsed-default values) and one-line
`// Wire contract:` annotations at every source-of-truth line. See
docs/plans/consumer-pinned-error-contract-plan.md.
2. docs/skills/ — agent-ready skill files for every consumer-facing
surface: hot-path Cypher cookbook, Bolt client, gRPC (Qdrant +
NornicSearch), Qdrant migration, Neo4j migration, knowledge policies,
decay tuning, promotion policies, managed embeddings, vector & full-
text search, RAG procedures. Knowledge-policy user guides rewritten
with disambiguated bundle-vs-binding language. Documentation site
consolidated from 14 top-level groups to 8 in mkdocs.yml; every
published page is in nav: so search-clicks always have sidebar
context, and canonical URLs emit on every built page.
3. scripts/migration/ — runnable Neo4j → NornicDB and Qdrant → NornicDB
migrations in Python, Go, and Node. The Neo4j scripts run schema-first
(constraints + indexes including fulltext and vector), then nodes via
UnwindSimpleMergeBatch, then edges via UnwindMultiMatchCreateBatch,
keyset-paginated by elementId. The Qdrant scripts use the gRPC compat
surface end-to-end (REST in Node), replicate collection vector configs,
scroll and upsert points in batches, and verify counts. All Go scripts
vet and build clean.1 parent 6ec42e9 commit 3f4fcff
34 files changed
Lines changed: 3880 additions & 91 deletions
File tree
- docs
- plans
- skills
- pkg
- bolt
- config
- cypher
- server
- storage
- scripts/migration
- neo4j
- qdrant
- testing/e2e
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
11 | 30 | | |
12 | 31 | | |
13 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
| 212 | + | |
211 | 213 | | |
212 | 214 | | |
213 | 215 | | |
| |||
216 | 218 | | |
217 | 219 | | |
218 | 220 | | |
| 221 | + | |
| 222 | + | |
219 | 223 | | |
220 | 224 | | |
221 | 225 | | |
| |||
233 | 237 | | |
234 | 238 | | |
235 | 239 | | |
| 240 | + | |
| 241 | + | |
236 | 242 | | |
237 | 243 | | |
238 | 244 | | |
| |||
486 | 492 | | |
487 | 493 | | |
488 | 494 | | |
| 495 | + | |
489 | 496 | | |
490 | 497 | | |
491 | 498 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
0 commit comments