@imunitic/synapse 0.13.9 → 0.13.11
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": "@imunitic/synapse",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.11",
|
|
4
4
|
"description": "Memory for Claude Code, Codex CLI, and OpenCode: a durable markdown vault plus a per-repo code graph.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"*.conf.template"
|
|
24
24
|
],
|
|
25
25
|
"optionalDependencies": {
|
|
26
|
-
"@imunitic/synapse-darwin-arm64": "0.13.
|
|
27
|
-
"@imunitic/synapse-linux-x64": "0.13.
|
|
28
|
-
"@imunitic/synapse-linux-arm64": "0.13.
|
|
26
|
+
"@imunitic/synapse-darwin-arm64": "0.13.11",
|
|
27
|
+
"@imunitic/synapse-linux-x64": "0.13.11",
|
|
28
|
+
"@imunitic/synapse-linux-arm64": "0.13.11"
|
|
29
29
|
},
|
|
30
30
|
"license": "SEE LICENSE IN LICENSE"
|
|
31
31
|
}
|
|
@@ -68,6 +68,7 @@ required:
|
|
|
68
68
|
| Judging blast radius before an edit | `synapse query links "{Node}" --inbound` (or `--closure` for transitive) | assuming nothing else depends on it |
|
|
69
69
|
| You already know the exact file and line range | just fetch it (`sed`, or a direct file read) | asking Synapse a question you can already answer |
|
|
70
70
|
| Finding every occurrence of a literal pattern | native `grep`/`rg`, scoped to files Synapse already named | an unscoped repo-wide grep before consulting Synapse at all |
|
|
71
|
+
| On a branch with no graph of its own, when the repo's trunk has one | the trunk's namespace via `--namespace <repo>@<trunk>` on `query`/`index`/`callers` (SessionStart names it). Read code the branch changed from the working tree | running `/synapse-init` for a short-lived branch, or grepping because "this branch has no graph" |
|
|
71
72
|
| A node turns up `stale` | hand off to the `synapse-node` skill | trying to reason about staleness inline here |
|
|
72
73
|
|
|
73
74
|
## When a node isn't enough
|
|
@@ -89,9 +90,12 @@ resolve the specific symbol-level question:
|
|
|
89
90
|
|
|
90
91
|
- **Never grep the whole repo before checking `synapse/{project}/Index.md`**, unless this repo has
|
|
91
92
|
no Synapse namespace at all (`vault-list` on `synapse/{project}/` comes back empty). Before
|
|
92
|
-
concluding there's nothing to consult, check whether
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
concluding there's nothing to consult, check two things. First, whether this same repo has a
|
|
94
|
+
namespace on another branch, usually the trunk: a short-lived branch has no graph of its own and
|
|
95
|
+
does not need one, so read the trunk's with `--namespace <repo>@<trunk>`. Second, whether the task
|
|
96
|
+
actually concerns a *different* checkout — `synapse query --namespace <repo>@<branch> body
|
|
97
|
+
"{Node}"` reaches that repo's graph without switching directories or checking it out. Only when
|
|
98
|
+
no namespace anywhere covers the task
|
|
95
99
|
is there truly nothing to consult; say so and proceed normally.
|
|
96
100
|
- **Never treat a node's summary as ground truth for a symbol-level claim** it wasn't built to make
|
|
97
101
|
precisely — see "When a node isn't enough" above.
|