You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixup: address Copilot PR review comments on branch-name validation
- Remove fragile bash snippet from create-feature-branch skill —
the automation will be implemented in the Rust hooks runner (#1843)
- Make T22 wording consistent with AC22: blocking is mandatory, not optional
| T17 | TODO | Implement heartbeat emitter | Background ticker fires every 20–30s while a step is running; emits `heartbeat` NDJSON event (step name, elapsed seconds); extends T3 schema |
219
-
| T18 | TODO | Implement staged file type analysis and smart step selection |`git diff --cached --name-only`; classify changeset (Markdown-only / docs-only / mixed); skip inapplicable steps; emit `step_skip` NDJSON events for skipped steps; extends T3 schema |
220
-
| T19 | TODO | Implement pre-commit idempotency cache | Compute staged tree SHA (`git write-tree`) + step-config hash; check/write `.git/torrust-hooks/pre-commit-cache`; exit 0 immediately on cache hit |
221
-
| T20 | TODO | Implement pre-push idempotency cache | Check/write per-commit-SHA records in `.git/torrust-hooks/pre-push-cache`; exit 0 immediately when all pushed commits have passing records |
222
-
| T21 | TODO | Add Phase 2 unit and integration tests | Cover: heartbeat timing and event shape, staged file classification, smart step selection, cache read/write/invalidation, cache-and-smart-skip interaction |
223
-
| T22 | TODO | Implement branch-name validation | When the branch uses an issue-number prefix (e.g. `42-some-description`), verify that `docs/issues/open/` contains a matching spec file or directory. If none found, emit a warning event and optionally block the commit. Prevents committing under a wrong, closed, or non-existent issue number. See `docs/issues/open/1774-automate-cleanup-completed-issues-skill-script.md` for context |
224
-
| T23 | TODO | Verify Phase 2 quality gates |`linter all`, full test suite; all Phase 2 ACs met |
| T17 | TODO | Implement heartbeat emitter | Background ticker fires every 20–30s while a step is running; emits `heartbeat` NDJSON event (step name, elapsed seconds); extends T3 schema |
219
+
| T18 | TODO | Implement staged file type analysis and smart step selection |`git diff --cached --name-only`; classify changeset (Markdown-only / docs-only / mixed); skip inapplicable steps; emit `step_skip` NDJSON events for skipped steps; extends T3 schema |
220
+
| T19 | TODO | Implement pre-commit idempotency cache | Compute staged tree SHA (`git write-tree`) + step-config hash; check/write `.git/torrust-hooks/pre-commit-cache`; exit 0 immediately on cache hit |
221
+
| T20 | TODO | Implement pre-push idempotency cache | Check/write per-commit-SHA records in `.git/torrust-hooks/pre-push-cache`; exit 0 immediately when all pushed commits have passing records |
222
+
| T21 | TODO | Add Phase 2 unit and integration tests | Cover: heartbeat timing and event shape, staged file classification, smart step selection, cache read/write/invalidation, cache-and-smart-skip interaction |
223
+
| T22 | TODO | Implement branch-name validation | When the branch uses an issue-number prefix (e.g. `42-some-description`), verify that `docs/issues/open/` contains a matching spec file or directory. If none found, block the commit with exit code 1. Prevents committing under a wrong, closed, or non-existent issue number. See `docs/issues/open/1774-automate-cleanup-completed-issues-skill-script.md` for context |
224
+
| T23 | TODO | Verify Phase 2 quality gates |`linter all`, full test suite; all Phase 2 ACs met |
0 commit comments