@ikon85/agent-workflow-kit 0.36.5 → 0.38.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/.agents/skills/orchestrate-wave/SKILL.md +20 -12
- package/.agents/skills/setup-workflow/SKILL.md +24 -3
- package/.agents/skills/setup-workflow/orchestrate-wave-seed.md +3 -2
- package/.agents/skills/setup-workflow/worktree-lifecycle.md +29 -1
- package/.agents/skills/wrapup/SKILL.md +42 -9
- package/.claude/hooks/migration-snapshot-reminder.py +1 -1
- package/.claude/skills/orchestrate-wave/SKILL.md +11 -11
- package/.claude/skills/setup-workflow/SKILL.md +24 -3
- package/.claude/skills/setup-workflow/orchestrate-wave-seed.md +3 -2
- package/.claude/skills/setup-workflow/worktree-lifecycle.md +29 -1
- package/.claude/skills/skill-manifest.json +1 -1
- package/.claude/skills/wrapup/SKILL.md +33 -10
- package/README.md +88 -1
- package/agent-workflow-kit.package.json +36 -28
- package/docs/adr/0007-session-teardown-requires-provenance-bound-ownership.md +88 -0
- package/docs/agents/workflow-capabilities.json +11 -0
- package/package.json +1 -1
- package/scripts/anchor_table.py +14 -8
- package/scripts/project-skill-extension.mjs +21 -2
- package/scripts/readiness.mjs +32 -4
- package/scripts/release-state.mjs +19 -9
- package/scripts/release-state.test.mjs +71 -8
- package/scripts/test_anchor_table.py +69 -0
- package/scripts/test_board_sync_create_idempotency.py +15 -2
- package/scripts/test_board_sync_wave_title.py +14 -2
- package/scripts/test_census_backstop.py +33 -0
- package/scripts/test_orchestrate_wave_contract.py +44 -0
- package/scripts/test_retro_wrapup_contract.py +19 -2
- package/scripts/test_worktree_wrapup_contract.py +1004 -3
- package/scripts/test_wrapup_land.py +428 -0
- package/scripts/workflow-advisories/core.py +44 -2
- package/scripts/worktree-lifecycle/README.md +126 -4
- package/scripts/worktree-lifecycle/capabilities.json +9 -1
- package/scripts/worktree-lifecycle/cleanup.py +143 -5
- package/scripts/worktree-lifecycle/core.py +1383 -20
- package/scripts/worktree-lifecycle/profile.py +40 -3
- package/scripts/worktree-lifecycle/session.py +1857 -0
- package/scripts/worktree-lifecycle/setup.py +15 -0
- package/scripts/wrapup-land.py +650 -27
- package/src/cli.mjs +60 -27
- package/src/lib/bundle.mjs +1 -0
- package/src/lib/manifest.mjs +173 -3
- package/src/lib/projectSkillExtension.mjs +78 -1
- package/src/lib/updateCandidate.mjs +3 -1
- package/src/lib/updateDecisions.mjs +2 -2
- package/src/lib/verifyUpdateCandidateProtocol.mjs +15 -0
|
@@ -10,6 +10,9 @@ import zlib
|
|
|
10
10
|
from pathlib import Path
|
|
11
11
|
|
|
12
12
|
from core import (
|
|
13
|
+
BaselineBackfillDeferred,
|
|
14
|
+
capture_artifact_baseline,
|
|
15
|
+
ensure_artifact_baseline,
|
|
13
16
|
LifecycleError,
|
|
14
17
|
load_profile,
|
|
15
18
|
local_branch_exists,
|
|
@@ -137,6 +140,17 @@ def create(args: argparse.Namespace) -> Path:
|
|
|
137
140
|
ensure_reusable_base(
|
|
138
141
|
main, repo=target, rev="HEAD", base=args.base, label=f"worktree {target}"
|
|
139
142
|
)
|
|
143
|
+
try:
|
|
144
|
+
ensure_artifact_baseline(
|
|
145
|
+
target,
|
|
146
|
+
reject_ignored_patterns=profile.landing_generated_artifact_patterns,
|
|
147
|
+
)
|
|
148
|
+
except BaselineBackfillDeferred as error:
|
|
149
|
+
print(
|
|
150
|
+
"Baseline backfill deferred; preserve the worktree, remove generated "
|
|
151
|
+
f"blockers or commit/stash tracked work, then retry: {error}",
|
|
152
|
+
file=sys.stderr,
|
|
153
|
+
)
|
|
140
154
|
print(f"Worktree already exists: {target} ({branch})")
|
|
141
155
|
return target
|
|
142
156
|
|
|
@@ -157,6 +171,7 @@ def create(args: argparse.Namespace) -> Path:
|
|
|
157
171
|
issue=args.issue,
|
|
158
172
|
branch=branch,
|
|
159
173
|
)
|
|
174
|
+
capture_artifact_baseline(target)
|
|
160
175
|
except Exception:
|
|
161
176
|
remove_failed_worktree(main, target, branch, not branch_existed)
|
|
162
177
|
raise
|