Skip to content

Modular template system: formal gates, hints, inline subphases, interview skill #37

@codevibesmatter

Description

@codevibesmatter

Summary

Redesign the template system with formal action schema. Supersedes #35 (consolidated config).

Problem

  • Templates encode 125+ actions as unstructured prose (bash commands, tool calls, agent spawns, conditionals)
  • Interviews defined in YAML but duplicated as prose in planning template — no code loads them
  • Subphase patterns in external registry but only one consumer (implementation.md)
  • Consolidated config: unified kata.yaml, simplified setup, upstream merge #35 proposed absorbing these into kata.yaml, but that complicates sync for no sharing benefit

Design Direction

  • Hybrid model: gates (executable by runtime) + hints (typed, agent-interpreted) + instructions (prose)
  • Subphase patterns: inline in template frontmatter (drop external registry)
  • Interviews: callable skill/command system, not a config section
  • Keep from Consolidated config: unified kata.yaml, simplified setup, upstream merge #35: setup/update/migrate commands, batteries removal, kata_version

Spec

Research

  • planning/research/2026-04-02-modular-template-system.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or enhancementstatus:in-reviewIn code review / staging

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions