@eliya-oss/agent-diff 0.1.0-alpha.5 → 0.1.0-alpha.7

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.
@@ -16,7 +16,7 @@ PRDs are not the place for every implementation detail. Use the split below:
16
16
  - Read `CONTEXT.md` next. The glossary defines the vocabulary every PRD reuses. adiff has a short
17
17
  language on purpose; a synonym invented in a PRD is a defect.
18
18
  - Read the PRD that owns the behavior. Follow its links to ADRs for durable choices and issues for
19
- implementation steps.
19
+ implementation layers.
20
20
 
21
21
  ## How to write a new PRD
22
22
 
@@ -64,7 +64,7 @@ Before treating a PRD as ready:
64
64
 
65
65
  - [ ] Problem stated from the reviewer's or the agent's perspective, not the code's.
66
66
  - [ ] Solution stated as observable behavior, before any implementation choice is named.
67
- - [ ] User stories cover the happy path, the empty result, the refusal, and the stale case.
67
+ - [ ] User layers cover the happy path, the empty result, the refusal, and the stale case.
68
68
  - [ ] Implementation Decisions are concrete enough that two engineers would build interchangeable
69
69
  implementations.
70
70
  - [ ] File paths, helper names, and rollout order live in GitHub issues.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @eliya-oss/agent-diff
2
2
 
3
+ ## 0.1.0-alpha.7
4
+
5
+ ### Patch Changes
6
+
7
+ - A layer's prose reads in the diff, above the code it introduces.
8
+
9
+ ## 0.1.0-alpha.6
10
+
11
+ ### Patch Changes
12
+
13
+ - The diff holds still when a trackpad gesture drifts sideways.
14
+
15
+ - The reading order an agent writes is called layers. adiff layers set and adiff layers show replace the story verbs, and the JSON carries layers where it carried steps.
16
+
17
+ - A layer lists the files it covers, and the footer says how to switch between layers and files.
18
+
3
19
  ## 0.1.0-alpha.5
4
20
 
5
21
  ### Patch Changes
package/README.md CHANGED
@@ -20,7 +20,7 @@ adiff comment add --repo . --branch add-teammate-invitations --file src/api
20
20
  adiff comment stage --repo . --branch add-teammate-invitations --file src/api/invitations.ts --start 4 --end 5 --body "why"
21
21
  adiff review submit --repo . --branch add-teammate-invitations
22
22
  adiff file vouch --repo . --branch add-teammate-invitations --file src/api/invitations.ts
23
- adiff story show --worktree . --fields covered,total,uncovered
23
+ adiff layers show --worktree . --fields covered,total,uncovered
24
24
  adiff describe
25
25
  ```
26
26
 
@@ -50,14 +50,14 @@ adiff comment take --worktree . --wait 300 # block until something arrives
50
50
  Each comment carries the exact snippet it was written against, the side of the diff, and the commit
51
51
  the diff was read at, so the agent needs no other reference. A comment is handed over once.
52
52
 
53
- An agent can also record the reading order for its own work as a story: ordered steps over spans of
54
- files, set with `adiff story set --worktree . --json -`. Where a branch has one, the terminal lists
55
- its steps and scopes the diff to the step you are on. adiff computes the coverage itself, so a story
53
+ An agent can also record the reading order for its own work as a layers: ordered layers over spans of
54
+ files, set with `adiff layers set --worktree . --json -`. Where a branch has one, the terminal lists
55
+ its layers and scopes the diff to the layer you are on. adiff computes the coverage itself, so a layers
56
56
  cannot hide code:
57
57
 
58
58
  ```bash
59
- adiff story show --worktree . --fields covered,total,uncovered
60
- {"ok":true,"story":{"covered":1,"total":3,"uncovered":[{"path":"docs/incidents.md","start":1,"end":6},{"path":"src/api/errors.ts","start":1,"end":11}]}}
59
+ adiff layers show --worktree . --fields covered,total,uncovered
60
+ {"ok":true,"layers":{"covered":1,"total":3,"uncovered":[{"path":"docs/incidents.md","start":1,"end":6},{"path":"src/api/errors.ts","start":1,"end":11}]}}
61
61
  ```
62
62
 
63
63
  ## Skill
@@ -66,7 +66,7 @@ adiff story show --worktree . --fields covered,total,uncovered
66
66
  npx skills add Newbie012/agent-diff --skill adiff
67
67
  ```
68
68
 
69
- Teaches an agent the whole loop: collect comments, act on them, write the story.
69
+ Teaches an agent the whole loop: collect comments, act on them, write the layers.
70
70
 
71
71
  ## Requirements
72
72