@imunitic/synapse 0.4.0 → 0.4.1

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.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Memory for Claude Code, Codex CLI, and OpenCode: a durable Obsidian 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.4.0",
27
- "@imunitic/synapse-linux-x64": "0.4.0",
28
- "@imunitic/synapse-linux-arm64": "0.4.0"
26
+ "@imunitic/synapse-darwin-arm64": "0.4.1",
27
+ "@imunitic/synapse-linux-x64": "0.4.1",
28
+ "@imunitic/synapse-linux-arm64": "0.4.1"
29
29
  },
30
30
  "license": "SEE LICENSE IN LICENSE"
31
31
  }
@@ -241,15 +241,21 @@ repos/<owner>/<repo>/issues/<n>/comments`).
241
241
 
242
242
  - **Never write `DONE`** — not in `status:`, not manually, not through any
243
243
  other path. The cap is always `REVIEW`.
244
- - **Never `git commit` or `git push` in the project repo while a task note
245
- tracked by this skill is anything but `DONE`.** Work through the whole
246
- checklist stays uncommitted in the working tree — do not commit after each
247
- checked-off item; that fragments the history and loses the thread of what
248
- the task actually did. Commit (and push) only once the task note's
249
- `status` is `DONE` and the human has explicitly asked for that specific
250
- commit/push a prior "commit and push" is not a standing license for the
251
- next one, and setting `DONE` is itself a human action this skill never
252
- takes (see "Never write `DONE`" above).
244
+ - **Never land work on the default branch while a task note tracked by this
245
+ skill is anything but `DONE`.** *Landing* means merging its pull request,
246
+ pushing directly to `main`/`master`, or any equivalent (fast-forward,
247
+ squash, rebase-onto). Committing to a feature branch, pushing that branch,
248
+ and opening or updating a pull request are all **allowed** at
249
+ `IN-PROGRESS` and `REVIEW` a `REVIEW` task with an open PR is the normal
250
+ shape of work awaiting review, not a violation. `DONE` means the work has
251
+ landed or is cleared to land, and setting it is a human action this skill
252
+ never takes (see "Never write `DONE`" above).
253
+ - **Keep the task's history coherent.** Prefer one commit per task, or a
254
+ small number that each stand on their own — do not commit after every
255
+ checked-off item, which fragments the history and loses the thread of what
256
+ the task actually did.
257
+ - **Each commit, push, and merge needs its own explicit request.** A prior
258
+ "commit and push" is not a standing licence for the next one.
253
259
  - **Never create a task note via a bare `vault-write`.** Always
254
260
  `/synapse-note --task`, or `/synapse-task-note` when compiling one from a
255
261
  `Ready` design note. A freeform write skips both the skeleton (checklist
@@ -19,6 +19,21 @@ SYNAPSE_VAULT_DIR="$HOME/Vault/YourVault"
19
19
  # project -- not per-repo). Safe to leave at the default.
20
20
  SYNAPSE_GRAMMARS_DIR="$HOME/.cache/synapse/grammars"
21
21
 
22
+ # Hand-authored `{ext}.scm` tags queries that preempt the whole grammar tier
23
+ # cascade for that extension -- for the rare grammar neither automatic tier
24
+ # handles well, e.g. one shipping locals.scm and node-types.json but no
25
+ # queries/tags.scm of its own. The same directory also holds `{ext}.locals.scm`,
26
+ # the analogous override for local-reference filtering. Checked fresh every
27
+ # run, never cached. Unset by default: no overrides, every extension goes
28
+ # through the normal cascade.
29
+ #SYNAPSE_GRAMMARS_QUERY_PATH="$HOME/.cache/synapse/grammar-queries"
30
+
31
+ # How many 200ms retries a grammar clone or compile lock waits before giving
32
+ # up -- roughly 60s at the default. Bounds the wait on a wedged lock left by a
33
+ # crashed process, not the clone or compile itself, so raising it helps only
34
+ # on a machine where those genuinely take longer. Default 300 if unset.
35
+ #SYNAPSE_GRAMMAR_LOCK_TRIES=300
36
+
22
37
  # When "git" is one of the configured integrations, how many local commits
23
38
  # pile up before a detached push runs, counted in commits. Only acts when the
24
39
  # vault actually has an upstream and is genuinely ahead of it, so a