Skip to content

Commit bd44b4b

Browse files
jwaldripclaude
andcommitted
merge: resolve conflicts with main (keep both last_updated and telemetry)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2 parents d25cf8a + 83f2d8d commit bd44b4b

File tree

12 files changed

+1101
-49
lines changed

12 files changed

+1101
-49
lines changed

.claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"metadata": {
88
"description": "AI-DLC — the software development profile of H·AI·K·U. Iterative AI-driven development with git integration, test suites, PR workflows, CI/CD pipelines, and deployment gates.",
9-
"version": "1.20.17"
9+
"version": "1.28.0"
1010
},
1111
"plugins": [
1212
{

CHANGELOG.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,82 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.28.0] - 2026-03-26
9+
10+
### Added
11+
12+
- auto-cleanup worktrees at completion milestones ([d17a34b](../../commit/d17a34b))
13+
14+
### Other
15+
16+
- Merge pull request #23 from TheBushidoCollective/hampton/auto-cleanup-lifecycle ([8d9118f](../../commit/8d9118f))
17+
18+
## [1.27.0] - 2026-03-26
19+
20+
### Added
21+
22+
- add design-specific unit template sections ([ef67955](../../commit/ef67955))
23+
24+
### Other
25+
26+
- Merge pull request #19 from TheBushidoCollective/hampton/design-unit-template ([8b1e653](../../commit/8b1e653))
27+
28+
## [1.26.0] - 2026-03-26
29+
30+
### Added
31+
32+
- rework /followup to create linked iteration intents ([0723438](../../commit/0723438))
33+
34+
### Other
35+
36+
- Merge pull request #14 from TheBushidoCollective/hampton/followup-workflow ([3e44f9c](../../commit/3e44f9c))
37+
38+
## [1.25.0] - 2026-03-26
39+
40+
### Added
41+
42+
- include design units in wireframe generation ([2f4c611](../../commit/2f4c611))
43+
44+
### Other
45+
46+
- Merge pull request #18 from TheBushidoCollective/hampton/design-unit-wireframes ([fc7cb8d](../../commit/fc7cb8d))
47+
48+
## [1.24.0] - 2026-03-26
49+
50+
### Added
51+
52+
- add design-focused success criteria guidance ([d760163](../../commit/d760163))
53+
54+
### Other
55+
56+
- Merge pull request #20 from TheBushidoCollective/hampton/design-criteria-guidance ([c760c34](../../commit/c760c34))
57+
58+
## [1.23.0] - 2026-03-26
59+
60+
### Added
61+
62+
- auto-route discipline: design to design workflow ([eae1c68](../../commit/eae1c68))
63+
64+
### Other
65+
66+
- Merge pull request #21 from TheBushidoCollective/hampton/auto-design-workflow ([dba8202](../../commit/dba8202))
67+
68+
## [1.22.0] - 2026-03-26
69+
70+
### Added
71+
72+
- detect and remove merged worktrees ([bb1b27a](../../commit/bb1b27a))
73+
74+
### Other
75+
76+
- Merge pull request #11 from TheBushidoCollective/hampton/smart-worktree-cleanup ([90eeb1f](../../commit/90eeb1f))
77+
78+
## [1.21.0] - 2026-03-26
79+
80+
### Added
81+
82+
- add OTEL reporting for AI-DLC workflow events ([b0cfb0c](../../commit/b0cfb0c))
83+
884
## [1.20.17] - 2026-03-23
985

1086
### Other

plugin/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ai-dlc",
3-
"version": "1.20.17",
3+
"version": "1.28.0",
44
"description": "AI-DLC methodology - iterative AI-driven development with hat-based workflows, completion criteria, and automatic context preservation. Software development profile of the H•AI•K•U Method.",
55
"author": {
66
"name": "The Bushido Collective",

plugin/hooks/inject-context.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,14 @@ if [ -f "$HAIKU_LIB" ]; then
4949
source "$HAIKU_LIB"
5050
fi
5151

52+
# Source telemetry library (non-blocking, no-op when disabled)
53+
TELEMETRY_LIB="${CLAUDE_PLUGIN_ROOT}/lib/telemetry.sh"
54+
if [ -f "$TELEMETRY_LIB" ]; then
55+
# shellcheck source=/dev/null
56+
source "$TELEMETRY_LIB"
57+
aidlc_telemetry_init
58+
fi
59+
5260
# Detect project maturity (greenfield / early / established)
5361
PROJECT_MATURITY=""
5462
if type detect_project_maturity &>/dev/null; then
@@ -354,6 +362,13 @@ if [ "$NEEDS_ADVANCE" = "true" ] && [ "$SOURCE" != "compact" ]; then
354362
else
355363
han keep save iteration.json "$ITERATION_JSON" 2>/dev/null || true
356364
fi
365+
366+
# Emit telemetry for bolt iteration advance
367+
if type aidlc_log_event &>/dev/null; then
368+
_ADVANCE_INTENT_SLUG=$(echo "$ITERATION_JSON" | han parse json intentSlug -r --default "" 2>/dev/null || echo "")
369+
_ADVANCE_UNIT_SLUG=$(echo "$ITERATION_JSON" | han parse json targetUnit -r --default "" 2>/dev/null || echo "")
370+
aidlc_record_bolt_iteration "$_ADVANCE_INTENT_SLUG" "$_ADVANCE_UNIT_SLUG" "$NEW_ITER" "advanced"
371+
fi
357372
fi
358373

359374
# Parse iteration state using han parse (no jq needed)

plugin/lib/dag.sh

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,11 +479,36 @@ update_unit_status() {
479479
;;
480480
esac
481481

482+
# Capture old status for telemetry
483+
local old_status
484+
old_status=$(parse_unit_status "$unit_file")
485+
482486
# Update status in frontmatter using han parse yaml-set
483487
han parse yaml-set status "$new_status" < "$unit_file" > "$unit_file.tmp" && mv "$unit_file.tmp" "$unit_file"
484488

485489
# Update last_updated timestamp
486490
han parse yaml-set last_updated "$(date -u +%Y-%m-%dT%H:%M:%SZ)" < "$unit_file" > "$unit_file.tmp" && mv "$unit_file.tmp" "$unit_file"
491+
492+
# Emit telemetry for unit status change (non-blocking)
493+
if [ -z "${_AIDLC_TELEMETRY_INIT:-}" ]; then
494+
local telemetry_lib="${SCRIPT_DIR}/telemetry.sh"
495+
if [ -f "$telemetry_lib" ]; then
496+
# shellcheck source=telemetry.sh
497+
source "$telemetry_lib"
498+
aidlc_telemetry_init
499+
fi
500+
fi
501+
if type aidlc_record_unit_status_change &>/dev/null; then
502+
# Extract intent slug and unit slug from the path
503+
# Path pattern: .ai-dlc/<intent_slug>/unit-NN-<unit_slug>.md
504+
local unit_basename
505+
unit_basename=$(basename "$unit_file" .md)
506+
local intent_slug=""
507+
if [[ "$real_path" =~ /\.ai-dlc/([^/]+)/ ]]; then
508+
intent_slug="${BASH_REMATCH[1]}"
509+
fi
510+
aidlc_record_unit_status_change "$intent_slug" "$unit_basename" "$old_status" "$new_status"
511+
fi
487512
}
488513

489514
# Get DAG summary counts

0 commit comments

Comments
 (0)