Skip to content

feat: add typed template registry#1

Merged
rogerchappel merged 2 commits into
mainfrom
feat/template-registry
Apr 29, 2026
Merged

feat: add typed template registry#1
rogerchappel merged 2 commits into
mainfrom
feat/template-registry

Conversation

@rogerchappel
Copy link
Copy Markdown
Owner

Summary

  • Add a typed template registry for next-app, oss-cli, and python-api.
  • Make stackforge templates render from the registry instead of inline literals.
  • Validate template metadata/order and CLI output with a deterministic registry check.

Verification

  • Tests or checks run: pnpm check
  • Tests or checks run: pnpm check:templates
  • Manual smoke: node dist/index.js templates
  • Manual smoke: node dist/index.js init oss-cli demo --dry-run

Risk Level

  • Low
  • Medium
  • High

Notes: CLI output now includes name and category fields from the registry, alongside existing keys/descriptions.

Rollback Plan

  • Revert the two commits on this branch to restore inline template literals and remove the registry check.

Human Decision Needed

  • None
  • Maintainer review
  • Product/design decision
  • Security/privacy review
  • Other:

@rogerchappel
Copy link
Copy Markdown
Owner Author

CrewCmd links

  • Implementation task: TSK-71
  • Sentinel review task: TSK-72

Status

  • PR is ready for review.
  • Verification passed: pnpm check, pnpm check:templates, node dist/index.js templates, node dist/index.js init oss-cli demo --dry-run.
  • No blockers.

@rogerchappel rogerchappel merged commit 1d9bcd1 into main Apr 29, 2026
2 checks passed
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