Skip to content

fix(governance): automate Kanban status transition to Done in post-merge hook - #25

Merged
nicolasvd merged 1 commit into
mainfrom
fix/issue-24-post-merge-done-sync
Sep 25, 2026
Merged

nicolasvd merged 1 commit into
mainfrom
fix/issue-24-post-merge-done-sync

Conversation

@nicolasvd

Copy link
Copy Markdown
Owner

PR Walkthrough — Automate Kanban Status Transition to Done in Post-Merge Hook

Closes #24


📌 Context & Objectives

Closes the lifecycle loop gap where GitHub automatically closes resolved issues upon PR squash-merge (state: CLOSED), but the custom native GitHub Projects v2 field Status was not automatically transitioned to Done.

This PR fulfills the contract documented in .agent/rules/agent-lifecycle.md and .agent/skills/open-pr/SKILL.md by directly updating .agent/hooks/post-merge-dual-sync.sh to synchronize all resolved tracking issues to Status: Done.


🚀 Key Changes Delivered

  • .agent/hooks/post-merge-dual-sync.sh:
    • Extracted all resolved issue numbers ((Closes|Fixes|Resolves) #[0-9]+) from PR bodies or commit messages.
    • Added Section 4: Automated invocation of ./scripts/sync-project-metadata.mjs <issue_id> --status Done for every resolved issue upon post-merge hook execution.

🛡️ Quality Airbag Verification

Verification Suite Status Execution Details
Documentation Contracts (validate-docs.sh) ✅ 38/38 Passing Validated executable permissions and byte budgets.
Runtime Guardrails (test-runtime-guardrails.mjs) ✅ 20/20 Passing Verified PoLP and runtime bypass defenses.
Android Code Sanity (quality-check.sh) ✅ Passing (499ms) Kotlin Progressive compiler, Android Lint Debug & Release, Roborazzi tests.
Pre-Commit Airbag Hook ✅ Passing Executed automatically on commit 0aa472f.

@nicolasvd nicolasvd added the skip-release Skip APK artifact release and distribution label Sep 25, 2026
@nicolasvd nicolasvd self-assigned this Sep 25, 2026
@nicolasvd
nicolasvd merged commit a36b853 into main Sep 25, 2026
3 checks passed
@nicolasvd
nicolasvd deleted the fix/issue-24-post-merge-done-sync branch September 25, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-release Skip APK artifact release and distribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(governance): Automate Kanban Status Transition to Done in Post-Merge Dual-Sync Hook

1 participant