Viktor Barzin
0b2f5a4729
fix: use depth 5 clone for postmortem pipeline (need HEAD~1)
2026-04-14 17:12:41 +00:00
Viktor Barzin
ce7a4e6e76
fix: Woodpecker v3 secrets→environment migration
2026-04-14 16:47:17 +00:00
Viktor Barzin
8540f48a28
fix: move pipeline logic to shell script (avoid YAML quoting issues)
2026-04-14 16:46:42 +00:00
Viktor Barzin
7f5115f9fe
fix: Woodpecker pipeline YAML quoting + trigger test [ci skip]
2026-04-14 16:45:27 +00:00
Viktor Barzin
8ad674e7b1
fix: postmortem pipeline uses Vault for SSH key (not Woodpecker secrets)
...
Pipeline authenticates to Vault via K8s SA JWT, fetches devvm_ssh_key
from secret/ci/infra, SSHes to DevVM to run Claude Code headlessly.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 15:55:12 +00:00
Viktor Barzin
8badb8181a
feat: post-mortem automation pipeline
...
E2E workflow for incident post-mortems:
1. /post-mortem skill generates structured post-mortem markdown
2. Woodpecker pipeline triggers on docs/post-mortems/*.md changes
3. parse-postmortem-todos.sh extracts safe TODOs (Alert/Config/Monitor)
4. postmortem-todo-resolver agent implements TODOs headlessly
5. Agent updates post-mortem with Follow-up Implementation table
Components:
- .claude/skills/post-mortem/ — writer skill + template
- .claude/agents/postmortem-todo-resolver.md — headless agent
- .woodpecker/postmortem-todos.yml — CI pipeline
- scripts/parse-postmortem-todos.sh — TODO extractor
- cluster-health skill — auto-suggest post-mortem after recovery
Safety: only auto-implements Alert/Config/Monitor types.
Architecture/Migration/Investigation items are skipped.
[ci skip]
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 15:34:42 +00:00