Skip to content

fix(workspace): harden runbook init with embed filter and service stubs (#325)#83

Open
advancedresearcharray wants to merge 3 commits into
mainfrom
feat/issue-325-runbook-init-delivery-v2
Open

fix(workspace): harden runbook init with embed filter and service stubs (#325)#83
advancedresearcharray wants to merge 3 commits into
mainfrom
feat/issue-325-runbook-init-delivery-v2

Conversation

@advancedresearcharray

Copy link
Copy Markdown
Owner

Summary

  • Wrap embedded templates with filteredTemplatesFS to exclude legacy runbook dirs (incidents/, postmortems/, procedures/) and dev-only paths that break kiwifs check on generated workspaces
  • Add service stub pages (services/api-service.md, services/monitoring.md) so wiki links in the example runbook resolve
  • Add regression tests for embed filtering, scaffold paths, schema validation, and lint cleanliness

Closes kiwifs#325

Test plan

  • go test ./internal/workspace/... ./cmd/... -run 'Runbook|runbook|Embed|embed|Filtered' -count=1
  • go test ./... -count=1
  • kiwifs init --template runbook scaffolds UC-6 workspace with all 7 sections
  • kiwifs check exits 0 on generated scaffold (info-level janitor hints only)
  • JSON Schema validates required frontmatter fields (trigger, severity, owner, services)

Made with Cursor

Array Fleet and others added 3 commits July 3, 2026 16:45
…bs (kiwifs#325)

Wrap embedded templates with filteredTemplatesFS to exclude legacy runbook
dirs that break kiwifs check, and add service stub pages for wiki links
referenced by the example runbook frontmatter.

Co-authored-by: Cursor <cursoragent@cursor.com>
…ifs#325)

Hands-on takeover confirms embed filter and service stubs pass full test
suite; records peer review pass for fleet publish.

Co-authored-by: Cursor <cursoragent@cursor.com>
…wifs#325)

Record green full-suite verification and peer review sign-off before
opening PR for runbook init embed filter and service stub delivery.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(workspace): ship runbook init template and frontmatter schema

1 participant