@paleo/alcode 0.6.0 → 0.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paleo/alcode",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "license": "CC0-1.0",
5
5
  "author": "Thomas MUR",
6
6
  "description": "Run a coding agent through AlignFirst protocols.",
@@ -48,11 +48,20 @@ alcode --new --protocol aad --ticket AB-123 --message "Task description"
48
48
 
49
49
  Answer questions as in the spec flow. The agent implements and writes a summary file, which carries a suggested commit message.
50
50
 
51
+ ## Review workflow
52
+
53
+ Two fresh sessions: one reviews, one fixes.
54
+
55
+ 1. **Review** — `alcode --new --protocol review --ticket AB-123`. The agent reviews the current branch against the base branch and writes a review file; its path is in the run's result. The base defaults to the repository's default branch; override it via `--message "Base branch: \`develop\`"`.
56
+ 2. **Fix** (optional) — `alcode --new --protocol aad --ticket AB-123 --message "Here is a code review: \`.plans/AB-123/B1-review.md\`. What should we fix?"` (adapt the path). The agent proposes fixes; decide together what to fix, as in any AAD session, then it implements and writes a summary file.
57
+
58
+ Skip the fix step when the review is informational.
59
+
51
60
  ## Other protocols
52
61
 
53
62
  - **description** — `alcode --new --protocol description --ticket AB-123`. Writes a PR/MR description for committed work. No discussion.
54
63
  - **read** — `alcode --new --protocol read --ticket AB-123 [--message "..."]`. Loads the ticket's spec and summary files into context; with a message, answers it against that context.
55
- - **review** — `alcode --new --protocol review --ticket AB-123`. Reviews the current branch against the base and writes a review file.
64
+ - **review** — see the review workflow above.
56
65
  - **merge** — `alcode --new --protocol merge --ticket AB-123`. Resolves conflicts and summarizes tricky resolutions. Pass the incoming branch via `--message` to start the merge.
57
66
 
58
67
  ## Answering agent questions