driftseal 1.4.0 → 2.1.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/index.js ADDED
@@ -0,0 +1,3 @@
1
+ 'use strict';
2
+
3
+ module.exports = require('./bin/driftseal.js');
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "driftseal",
3
- "version": "1.4.0",
4
- "description": "Seal intent, verification, and decisions into an auditable workflow for agentic coding",
3
+ "version": "2.1.0",
4
+ "description": "Seal outcomes, verification, and decisions into an auditable workflow for agentic coding",
5
5
  "keywords": [
6
6
  "driftseal",
7
7
  "agents",
8
8
  "agentic-coding",
9
9
  "agent-safety",
10
10
  "developer-tools",
11
- "intent-log",
11
+ "outcome-log",
12
12
  "decision-log",
13
13
  "madr"
14
14
  ],
@@ -32,6 +32,7 @@
32
32
  "test": "test"
33
33
  },
34
34
  "files": [
35
+ "index.js",
35
36
  "bin",
36
37
  "skills",
37
38
  "README.md",
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: use-driftseal
3
- description: Follow DriftSeal-managed repository work when AGENTS.md requires `driftseal`, the user invokes DriftSeal, or an interrupted intent must be resumed. Use this skill to locate the authoritative repository policy, re-anchor state after context loss, and choose the execution surface; prefer the `driftseal` CLI, using MCP only when the repository or user explicitly selects it.
3
+ description: Follow DriftSeal-managed repository work when AGENTS.md requires `driftseal`, the user invokes DriftSeal, or an interrupted outcome must be resumed. Use this skill to locate the authoritative repository policy, re-anchor state after context loss, and choose the execution surface; prefer the `driftseal` CLI, using MCP only when the repository or user explicitly selects it.
4
4
  ---
5
5
 
6
6
  # Use DriftSeal
@@ -23,15 +23,19 @@ the policy.
23
23
 
24
24
  ## Re-anchor When Needed
25
25
 
26
- After context loss or when intent state is uncertain, run:
26
+ After context loss or when outcome state is uncertain, run:
27
27
 
28
28
  ```sh
29
29
  driftseal status
30
30
  driftseal log --last 3
31
31
  ```
32
32
 
33
- Then resume, replace, verify, or close the intent exactly as `AGENTS.md`
34
- requires. For command syntax, run:
33
+ Then resume, extend, replace, verify, or close the outcome exactly as
34
+ `AGENTS.md` requires. Use `extend` only when the additional work still delivers
35
+ the same coherent outcome. `status` and `log --last 3` follow the current lane;
36
+ an open outcome stays visible even if it belongs to another lane. If the
37
+ requested work belongs to a different existing lane, switch first. For
38
+ command syntax, run:
35
39
 
36
40
  ```sh
37
41
  driftseal help
@@ -39,17 +43,22 @@ driftseal help
39
43
 
40
44
  ## After a merge
41
45
 
42
- If `status` or `log` fails with a duplicate id or with `multiple intents in
43
- progress`, or the intent log has conflict markers, run `driftseal absorb`
44
- instead of editing `.intent-log/events.jsonl`. When both sides still have an
45
- open intent, add `--abandon-theirs` or `--abandon-ours`; this works whether your
46
- open intent sits in the log or is parked in Git metadata. `driftseal init` also
46
+ If `status` or `log` fails with a duplicate id or with `multiple outcomes in
47
+ progress`, or the outcome log has conflict markers, run `driftseal absorb`
48
+ instead of editing `.seal/outcomes/events.jsonl`. When both sides still have an
49
+ open outcome, add `--abandon-theirs` or `--abandon-ours`; this works whether your
50
+ open outcome sits in the log or is parked in Git metadata. `driftseal init` also
47
51
  configures the local git merge driver; clones need `init` again for that driver.
48
52
 
49
- In a Git worktree, `begin` does not dirty the tracked intent log, so `git merge`
50
- can run with an intent still in progress. `end` writes the closed record to
51
- `.intent-log/events.jsonl`; if it is interrupted, the intent stays open there
52
- and `end` can be run again.
53
+ In a Git worktree, `begin` does not dirty the tracked outcome log, so `git merge`
54
+ can run with an outcome still in progress. `end` writes the closed record to
55
+ `.seal/outcomes/events.jsonl`; if it is interrupted, the outcome stays open
56
+ there and `end` can be run again.
57
+
58
+ For a v1 repository, do not reinterpret or delete the old logs directly. Use
59
+ `driftseal migrate v1-to-v2 inspect`, prepare a reviewed grouping plan, apply
60
+ it, and run `check`. Migration stages `.seal/` beside v1 and never removes the
61
+ old paths; their removal requires explicit user approval.
53
62
 
54
63
  Do not treat this skill, MCP descriptions, or lifecycle-hook reminders as
55
64
  additional policy. If they conflict with `AGENTS.md`, follow `AGENTS.md`.