Skip to content

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

Open
advancedresearcharray wants to merge 4 commits into
mainfrom
feat/issue-325-runbook-init-hands-on-v2
Open

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

Conversation

@advancedresearcharray

@advancedresearcharray advancedresearcharray commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add filteredTemplatesFS so go:embed all:templates does not ship legacy runbook dirs (incidents/, postmortems/, procedures/) or dev-only paths that break kiwifs check via placeholder wiki links
  • Add services/api-service.md and services/monitoring.md stubs so example-high-cpu.md frontmatter wiki links resolve in generated scaffolds
  • Extend regression tests for embed filtering, service stubs, and init scaffold assertions

Completes kiwifs#325 (UC-6 runbook init template was already on main; this PR hardens embed filtering and service wiki-link targets).

Test plan

  • go test ./internal/workspace/... ./cmd/... -run 'Runbook|runbook|Embed|embed' -count=1
  • go test ./... -count=1
  • TestRunbookInitCheckPasseskiwifs check exits 0 on generated runbook scaffold
  • TestRunbookEmbedUsesUC6ScaffoldOnly — legacy embed paths excluded
  • TestInitRunbookTemplateScaffold — service stubs present, legacy dirs absent
  • Manual: kiwifs init --template runbook + kiwifs check exit 0

Array Fleet and others added 4 commits July 3, 2026 15: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>
…ry v3 (kiwifs#325)

Record verification of embed filter, service stubs, and full test suite
after fleet takeover. Closes delivery gap from prior agent run.

Co-authored-by: Cursor <cursoragent@cursor.com>
Record full test verification and peer-review pass after fleet takeover.
Code delivery in 59d7fd7 (embed filter + service stubs) unchanged.

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.

1 participant