Skip to content

Scaffold agent-roster module with structured PROMPT.md generation

Smartypants requested to merge scaffold-agent-module into main

Summary

  • Standalone nixica 0.1.0 flake with import-tree pattern
  • Agent module defining structured options: Role, Principles, Delegation, Context, Constraints
  • PROMPT.md generation from Nix options with deterministic alphabetical key ordering
  • Validation via assert/throw: non-empty role/principles/constraints, delegation cross-references, escalation requirement (Mediation Law)
  • Four proof-of-concept agents: bossypants, smartypants, nastypants, fancypants
  • Standard .gitlab-ci.yml remote template (0.18.0), dev partition with treefmt
  • nix flake check passes, all prompts generate correctly

Implements #2 (closed) Design decisions from #1

Test plan

  • nix flake check passes
  • nix flake show lists flakeModule and prompts outputs
  • nix eval --raw .#prompts.bossypants generates valid 5-section PROMPT.md
  • All four agents generate without assertion failures
  • CI pipeline passes
  • @nastypants QC review
  • @fancypants theoretical review
  • @locallycompact architecture review

Merge request reports