carson 4.2.0 → 4.2.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.
- checksums.yaml +4 -4
- data/RELEASE.md +10 -0
- data/VERSION +1 -1
- data/lib/carson/warehouse.rb +8 -3
- data/lib/cli.rb +5 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 251588ff2b1c952538965ea349b498e424c9646f6c57965dd516e7729e002035
|
|
4
|
+
data.tar.gz: 2fee9945faa9fbace57ef59dfd77cf5fb9c38992f4e573e796daeef8b1972017
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3981e6facd927beb517b18151eb0d4804863e6adab4d4d39039e6e9313e644f57caae09e0b292e1e33d49b383e1f3f7975decfe3d0672dc372f3582b757bc513
|
|
7
|
+
data.tar.gz: 55175ac0b094290e602d79854e65208fb5f1baa23753ed05c786c48ddda562b2015de76fb7244dc90c12a2495b2d84269e40c3f9521077d646776eeab843c760
|
data/RELEASE.md
CHANGED
|
@@ -7,6 +7,16 @@ Release-note scope rule:
|
|
|
7
7
|
|
|
8
8
|
## Unreleased
|
|
9
9
|
|
|
10
|
+
## 4.2.1
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **`label_absorbed?` detects rebase-merged branches** — previously only detected merge commits, missing branches integrated via rebase merge.
|
|
15
|
+
|
|
16
|
+
### UX
|
|
17
|
+
|
|
18
|
+
- **`carson --help` promotes the agent workflow** — `checkin` and `deliver` now appear in a dedicated "Agent workflow" section at the top of repository commands. `recover` and `worktree` removed from help — agents reach these through Carson's block messages, not by browsing.
|
|
19
|
+
|
|
10
20
|
## 4.2.0
|
|
11
21
|
|
|
12
22
|
### New
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.2.
|
|
1
|
+
4.2.1
|
data/lib/carson/warehouse.rb
CHANGED
|
@@ -148,10 +148,15 @@ module Carson
|
|
|
148
148
|
output.lines.map { it.strip }.reject { it.empty? }
|
|
149
149
|
end
|
|
150
150
|
|
|
151
|
-
# Has this label been
|
|
151
|
+
# Has this label's content been absorbed into main?
|
|
152
|
+
# Content-aware: compares tree content, not SHA ancestry.
|
|
153
|
+
# Catches rebase-merged and squash-merged branches that
|
|
154
|
+
# `git branch --merged` misses (replayed SHAs differ).
|
|
152
155
|
def label_absorbed?( name )
|
|
153
|
-
|
|
154
|
-
|
|
156
|
+
_, _, status = Open3.capture3(
|
|
157
|
+
"git", "diff", "--quiet", @main_label, name,
|
|
158
|
+
chdir: path )
|
|
159
|
+
status.success?
|
|
155
160
|
end
|
|
156
161
|
|
|
157
162
|
# All worktree paths (transitional — use workbenches for Worktree instances).
|
data/lib/cli.rb
CHANGED
|
@@ -140,12 +140,14 @@ module Carson
|
|
|
140
140
|
parser.separator " refresh Re-install hooks and configuration (all governed repos)"
|
|
141
141
|
parser.separator " version Show Carson version"
|
|
142
142
|
parser.separator ""
|
|
143
|
+
parser.separator "Agent workflow:"
|
|
144
|
+
parser.separator " checkin Prepare a fresh workbench from the latest standard"
|
|
145
|
+
parser.separator " deliver Ship committed work — push, PR, merge, cleanup"
|
|
146
|
+
parser.separator ""
|
|
143
147
|
parser.separator "Repository commands (from CWD or with explicit repo):"
|
|
148
|
+
parser.separator " checkout Release a workbench when done"
|
|
144
149
|
parser.separator " status Show repository delivery state"
|
|
145
150
|
parser.separator " audit Run pre-commit health checks"
|
|
146
|
-
parser.separator " deliver Start autonomous branch delivery"
|
|
147
|
-
parser.separator " recover Merge the repair PR for one baseline-red governance check"
|
|
148
|
-
parser.separator " worktree Manage isolated coding worktrees"
|
|
149
151
|
parser.separator ""
|
|
150
152
|
parser.separator "Run `carson <command> --help` for details on a specific command."
|
|
151
153
|
end
|