lockwire 0.1.31 → 0.1.33

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.
Files changed (54) hide show
  1. package/README.md +17 -4
  2. package/dist/actions.d.ts +82 -5
  3. package/dist/actions.d.ts.map +1 -1
  4. package/dist/actions.js +395 -10
  5. package/dist/actions.js.map +1 -1
  6. package/dist/cli.js +69 -6
  7. package/dist/cli.js.map +1 -1
  8. package/dist/compat.d.ts +21 -0
  9. package/dist/compat.d.ts.map +1 -0
  10. package/dist/compat.js +59 -0
  11. package/dist/compat.js.map +1 -0
  12. package/dist/format.d.ts +3 -1
  13. package/dist/format.d.ts.map +1 -1
  14. package/dist/format.js +42 -9
  15. package/dist/format.js.map +1 -1
  16. package/dist/hook-claude.d.ts +6 -0
  17. package/dist/hook-claude.d.ts.map +1 -1
  18. package/dist/hook-claude.js +26 -0
  19. package/dist/hook-claude.js.map +1 -1
  20. package/dist/hook-common.d.ts +5 -0
  21. package/dist/hook-common.d.ts.map +1 -1
  22. package/dist/hook-common.js +12 -2
  23. package/dist/hook-common.js.map +1 -1
  24. package/dist/index.d.ts +3 -1
  25. package/dist/index.d.ts.map +1 -1
  26. package/dist/index.js +3 -1
  27. package/dist/index.js.map +1 -1
  28. package/dist/lockfile.d.ts +2 -0
  29. package/dist/lockfile.d.ts.map +1 -1
  30. package/dist/lockfile.js +13 -2
  31. package/dist/lockfile.js.map +1 -1
  32. package/dist/mcp-protocol.d.ts +118 -0
  33. package/dist/mcp-protocol.d.ts.map +1 -0
  34. package/dist/mcp-protocol.js +237 -0
  35. package/dist/mcp-protocol.js.map +1 -0
  36. package/dist/mcp-server.d.ts +1 -1
  37. package/dist/mcp-server.d.ts.map +1 -1
  38. package/dist/mcp-server.js +45 -6
  39. package/dist/mcp-server.js.map +1 -1
  40. package/dist/moves.d.ts +49 -0
  41. package/dist/moves.d.ts.map +1 -0
  42. package/dist/moves.js +243 -0
  43. package/dist/moves.js.map +1 -0
  44. package/dist/reexports.d.ts +26 -0
  45. package/dist/reexports.d.ts.map +1 -0
  46. package/dist/reexports.js +174 -0
  47. package/dist/reexports.js.map +1 -0
  48. package/dist/tasks.d.ts.map +1 -1
  49. package/dist/tasks.js +33 -5
  50. package/dist/tasks.js.map +1 -1
  51. package/dist/types.d.ts +5 -0
  52. package/dist/types.d.ts.map +1 -1
  53. package/dist/types.js.map +1 -1
  54. package/package.json +2 -2
package/README.md CHANGED
@@ -129,6 +129,7 @@ stateDiagram-v2
129
129
  Waived --> Drifted: waiver expires, something moved<br/><i>waiver.expired</i>
130
130
 
131
131
  Orphaned --> Fresh: marker or symbol restored,<br/>then link (--reviewed if the code changed)
132
+ Orphaned --> Fresh: code moved unchanged to another file,<br/>lockwire repoint<br/><i>anchor.relocated</i>
132
133
 
133
134
  Superseded --> [*]
134
135
 
@@ -136,9 +137,10 @@ stateDiagram-v2
136
137
  Relocation is an event, not a state: after a
137
138
  rename the anchor is just fresh (or drifted,
138
139
  if a bound tier also moved) under its new
139
- name. Same-file renames only in P0; a symbol
140
- moved to another file reports orphaned — see
141
- docs/concepts.md limitations.
140
+ name. A symbol moved to another file reports
141
+ orphaned with where its code went, and
142
+ lockwire repoint re-points it — see
143
+ docs/concepts.md, moved code.
142
144
  end note
143
145
  ```
144
146
 
@@ -178,6 +180,17 @@ sequenceDiagram
178
180
  /plugin install lockwire@lockwire
179
181
  ```
180
182
 
183
+ Claude Code versions the plugin by commit, so every release on `main` is an update. Third-party marketplaces don't auto-update by default: run `claude plugin update lockwire@lockwire`, or turn on **Enable auto-update** for the `lockwire` marketplace under `/plugin` → **Marketplaces** to be told `Plugin updated: lockwire · Run /reload-plugins to apply` when there's a new one. To do that for everyone on a repository, commit this to its `.claude/settings.json`:
184
+
185
+ ```json
186
+ {
187
+ "extraKnownMarketplaces": {
188
+ "lockwire": { "source": { "source": "github", "repo": "Reality-Ventures/lockwire" }, "autoUpdate": true }
189
+ },
190
+ "enabledPlugins": { "lockwire@lockwire": true }
191
+ }
192
+ ```
193
+
181
194
  **Codex, Cursor, Gemini CLI, and other agents that read `SKILL.md`** — the skill only; wire up the hook and MCP server per your agent (see [docs/agents.md](docs/agents.md)):
182
195
 
183
196
  ```bash
@@ -305,7 +318,7 @@ See [docs/autofix.md](docs/autofix.md).
305
318
 
306
319
  ## What lockwire does not do
307
320
 
308
- Hashes cannot catch semantic drift — a doc saying "we use Redux" when the code moved to Zustand, where every file path still resolves and no signature changed. Catching that requires reasoning about meaning, not fingerprints; [ClaudeDrift](https://github.com/marky291/claude-drift) does this well as an on-demand, LLM-reasoning layer, and pairs naturally with lockwire's continuous, deterministic one — see [docs/comparison.md](docs/comparison.md). Numbers are the exception: a sentence bound to the value it came from — a JSON key or a LaTeX macro a pipeline writes — is checked against that value at the precision it states, so "the lower bound is 0.18" is flagged when a rerun makes it 0.19, and not when it makes it 0.1791 ([docs/concepts.md](docs/concepts.md#numbers-and-other-values)). P0 supports TypeScript, TSX, JavaScript, and Python source, and values in JSON and LaTeX files; cross-file rename detection, a resolver agent, and semantic-claim extraction are roadmap, not shipped — see [docs/concepts.md](docs/concepts.md#limitations-read-before-relying-on-this-in-production).
321
+ Hashes cannot catch semantic drift — a doc saying "we use Redux" when the code moved to Zustand, where every file path still resolves and no signature changed. Catching that requires reasoning about meaning, not fingerprints; [ClaudeDrift](https://github.com/marky291/claude-drift) does this well as an on-demand, LLM-reasoning layer, and pairs naturally with lockwire's continuous, deterministic one — see [docs/comparison.md](docs/comparison.md). Numbers are the exception: a sentence bound to the value it came from — a JSON key or a LaTeX macro a pipeline writes — is checked against that value at the precision it states, so "the lower bound is 0.18" is flagged when a rerun makes it 0.19, and not when it makes it 0.1791 ([docs/concepts.md](docs/concepts.md#numbers-and-other-values)). P0 supports TypeScript, TSX, JavaScript, and Python source, and values in JSON and LaTeX files. Code that moves to another file is found and re-pointed with `lockwire repoint`, and a name re-exported from its old path keeps resolving ([docs/concepts.md](docs/concepts.md#moved-code-and-re-exports)); a move that also renames the symbol, a resolver agent, and semantic-claim extraction are roadmap, not shipped — see [docs/concepts.md](docs/concepts.md#limitations-read-before-relying-on-this-in-production).
309
322
 
310
323
  ## FAQ
311
324
 
package/dist/actions.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import { type IndexState, type IndexStats } from "./docindex.js";
2
2
  import { type DocMarker } from "./markers.js";
3
- import type { Actor, Anchor, FileSymbols, Fingerprints, Lockfile, LockwireConfig, Tier } from "./types.js";
3
+ import { type MoveHint } from "./moves.js";
4
+ import { type ReExports } from "./reexports.js";
5
+ import type { Actor, Anchor, AnchorTarget, FileSymbols, Fingerprints, Lockfile, LockwireConfig, Tier } from "./types.js";
4
6
  export interface TargetResolution {
5
7
  found: boolean;
6
8
  fingerprints: Fingerprints;
@@ -12,6 +14,11 @@ export interface TargetResolution {
12
14
  };
13
15
  /** When not found and there's more to say (an ambiguous CSV row, a missing column). */
14
16
  reason?: string;
17
+ /**
18
+ * Where the symbol is really defined, when the target's file only re-exports it (a name kept at the
19
+ * old path for compatibility after a move). Absent when it is defined where the target says.
20
+ */
21
+ definedAt?: AnchorTarget;
15
22
  }
16
23
  /** The fingerprint version an anchor was stamped with (anchors from before versions are version 1). */
17
24
  export declare const versionOf: (anchor: Pick<Anchor, "fingerprintVersion">) => number;
@@ -22,7 +29,11 @@ export declare const versionOf: (anchor: Pick<Anchor, "fingerprintVersion">) =>
22
29
  export declare function resolveTarget(repoRoot: string, target: {
23
30
  path: string;
24
31
  symbol?: string;
25
- }, config: LockwireConfig, version?: number): Promise<TargetResolution | null>;
32
+ }, config: LockwireConfig, version?: number): Promise<(TargetResolution & {
33
+ source?: string;
34
+ }) | null>;
35
+ /** A source file's symbols, parsed (or served from the parse cache) the way `version` reads them. */
36
+ export declare function symbolsOfSource(path: string, content: string, config: LockwireConfig, version?: number): Promise<FileSymbols | null>;
26
37
  /**
27
38
  * {@link resolveTarget} on given file contents rather than the file on disk — used to fingerprint a
28
39
  * target as it was at an earlier commit. `source` is the bound symbol's declaration as written.
@@ -32,20 +43,23 @@ export declare function resolveTargetInText(target: {
32
43
  symbol?: string;
33
44
  }, content: string, config: LockwireConfig, version?: number): Promise<TargetResolution & {
34
45
  source?: string;
46
+ reExports?: ReExports;
35
47
  }>;
36
48
  /**
37
49
  * Same-file rename detection: if a symbol vanished but exactly one other symbol in the file has the
38
50
  * same signature apart from its name, relink to it. `sig` fingerprints include the symbol's name,
39
51
  * so each candidate is re-rendered under the missing symbol's old name before comparing -- that
40
52
  * keeps stored fingerprints valid. Symbols already bound by another anchor are skipped, so an
41
- * unrelated neighbour with the same shape isn't mistaken for the rename target. Cross-file
42
- * relocation (the symbol moved to a different file) is not attempted in P0 — see docs/concepts.md limitations.
53
+ * unrelated neighbour with the same shape isn't mistaken for the rename target. A symbol moved to a
54
+ * different file is found by `SourceIndex.findMove` (moves.ts) and re-pointed by {@link repoint}.
43
55
  */
44
56
  export declare function findRelocationCandidate(symbols: FileSymbols, missingSigFp: string, oldName: string, taken?: ReadonlySet<string>,
45
57
  /**
46
58
  * The vanished symbol's stamped body and deps. When given, a candidate must also match one of them:
47
59
  * a rename keeps the implementation, while a deleted function's look-alike neighbour (same
48
- * parameters, different code) is not where its claim went.
60
+ * parameters, different code) is not where its claim went. An empty body or no calls at all is no
61
+ * evidence: any two functions with the same parameters would "match" on it (`findPosX` and
62
+ * `findPosY`, both calling nothing).
49
63
  */
50
64
  stamped?: Pick<Fingerprints, "body" | "deps">): string | null;
51
65
  export interface LinkResult {
@@ -91,6 +105,8 @@ export interface AnchorCheckResult {
91
105
  claimChanged?: boolean;
92
106
  /** Outside the scope of a path-limited run: reported with its stored status, not re-examined. */
93
107
  skipped?: boolean;
108
+ /** Why this lockwire can't check the anchor: a newer one stamped it (see compat.ts). Also `skipped`. */
109
+ unreadable?: string;
94
110
  /**
95
111
  * For a value anchor whose value moved or no longer matches its sentence: what it was when stamped,
96
112
  * what it is now, the numbers the sentence states, and whether the sentence still holds.
@@ -101,6 +117,20 @@ export interface AnchorCheckResult {
101
117
  claimed: string[];
102
118
  matches: boolean;
103
119
  };
120
+ /**
121
+ * The bound symbol's code as stamped was found in another file: where it went (`to`, when there is
122
+ * exactly one place) and every place it was found. Set on an orphaned anchor, and on a drifted one
123
+ * whose code changed where it was. `lockwire repoint` re-points the claim to `to`.
124
+ */
125
+ moved?: MoveHint;
126
+ /**
127
+ * On an orphaned anchor: the one other symbol in the file with the same signature, when nothing
128
+ * else ties it to the missing one (a renamed function whose body also changed looks just like a
129
+ * look-alike neighbour). Not acted on; `lockwire repoint <id> --to` re-points the claim to it.
130
+ */
131
+ similar?: AnchorTarget;
132
+ /** Where the symbol is really defined, when the target's file only re-exports it. */
133
+ definedAt?: AnchorTarget;
104
134
  singleHashWouldFlag: boolean;
105
135
  }
106
136
  export interface CheckSummary {
@@ -111,6 +141,8 @@ export interface CheckSummary {
111
141
  orphaned: number;
112
142
  waived: number;
113
143
  superseded: number;
144
+ /** Anchors whose code moved, unchanged, to exactly one other place: `lockwire repoint` re-points them. */
145
+ moved: number;
114
146
  /** Markers in the scanned docs that no anchor backs: those claims aren't being checked. */
115
147
  unlinked: number;
116
148
  noise: {
@@ -177,6 +209,11 @@ export declare function inPathScope(path: string, scope: readonly string[]): boo
177
209
  export declare function check(repoRoot: string, config: LockwireConfig, onlyPaths?: readonly string[], opts?: {
178
210
  write?: boolean;
179
211
  actor?: Actor;
212
+ /**
213
+ * How long the search for moved symbols may take, in ms, from when it is first needed (it reads
214
+ * every source file once). 0 turns it off. Unlimited by default; hooks pass a budget.
215
+ */
216
+ moveSearchMs?: number;
180
217
  }): Promise<CheckResult>;
181
218
  /**
182
219
  * Docs the config selects. A symlinked doc is skipped: it's another name for a file the walk reaches
@@ -184,6 +221,46 @@ export declare function check(repoRoot: string, config: LockwireConfig, onlyPath
184
221
  */
185
222
  export declare function discoverDocs(repoRoot: string, config: LockwireConfig): Promise<string[]>;
186
223
  export declare function ack(repoRoot: string, anchorId: string, resolution: "updated" | "superseded" | "false-positive", note: string | undefined, actor: Actor, config: LockwireConfig): Promise<Anchor>;
224
+ export interface RepointOutcome {
225
+ id: string;
226
+ doc: string | null;
227
+ from: AnchorTarget;
228
+ to: AnchorTarget;
229
+ /**
230
+ * `fresh` when the code at the new place is the code as stamped; `drifted` when a bound tier differs
231
+ * there, in which case that tier keeps its stamped fingerprint so `check` goes on showing the drift.
232
+ */
233
+ status: Anchor["status"];
234
+ driftedTiers: Tier[];
235
+ /** The doc's marker was rewritten to name the new place. */
236
+ markerUpdated: boolean;
237
+ /** The claim sentence itself names the old file, so its wording needs the same edit. */
238
+ claimNamesOldPath: boolean;
239
+ }
240
+ export interface RepointResult {
241
+ repointed: RepointOutcome[];
242
+ skipped: {
243
+ id: string;
244
+ target: string;
245
+ reason: string;
246
+ }[];
247
+ }
248
+ /**
249
+ * `lockwire repoint`: move claims whose code moved to another file over to its new home, rewriting
250
+ * each doc marker to match. With no `to`, the new home is where `check` found the symbol's code as
251
+ * stamped (only when there is exactly one such place); `ids` limits it to those anchors. With `to`
252
+ * (and one id), it is that target, for a move lockwire couldn't place on its own.
253
+ *
254
+ * The path changes by definition, and so may `export` on the signature (a helper moved into a module
255
+ * of its own is usually exported now). Any other bound tier that differs at the new place is drift and
256
+ * stays drift, unless `reviewed` says a person checked the claim against the code there.
257
+ */
258
+ export declare function repoint(repoRoot: string, config: LockwireConfig, actor: Actor, opts?: {
259
+ ids?: readonly string[];
260
+ to?: AnchorTarget;
261
+ reviewed?: boolean;
262
+ dryRun?: boolean;
263
+ }): Promise<RepointResult>;
187
264
  export declare function waive(repoRoot: string, anchorId: string, reason: string, expires: string, actor: Actor): Promise<Anchor>;
188
265
  export declare function unlink(repoRoot: string, anchorId: string): Promise<void>;
189
266
  export declare function refs(repoRoot: string, path: string, symbol?: string): Promise<Anchor[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../src/actions.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,UAAU,EAAgB,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