Skip to content

[Agent · Phase 2] project_initializer #62

@jeremymanning

Description

@jeremymanning

Parent phase: #46

Purpose

Bootstrap a per-project Spec Kit scaffold and render a project constitution.

What it produces / drives

Creates projects/<PROJ-ID>/.specify/{constitution.md,memory/,scripts/bash/,templates/} and ensures the directory layout subsequent slash commands expect.

Dependencies

This agent depends on output from: idea_selector

Acceptance criteria

  • Renders .specify/memory/constitution.md with project-specific principles (not template placeholders)
  • Creates the scripts/bash/ runners (setup-plan.sh, check-prerequisites.sh, etc.)
  • Idempotent: running twice doesn't duplicate or corrupt files

Manual test plan

  1. Create a fresh project with state flesh_out_complete
  2. python -m llmxive run --project <PROJ-ID> --max-tasks 1
  3. ls projects/<PROJ-ID>/.specify/ — must have constitution.md, memory/, scripts/, templates/
  4. Open constitution.md — must reference the project title and idea, NOT generic template text

Implementation pointer

  • Registry entry: agents/registry.yamlname: project_initializer
  • Prompt: agents/prompts/project_initializer.md
  • Code: search src/llmxive/ for the class

Metadata

Metadata

Assignees

No one assigned

    Labels

    pipeline-agentTracks one agent within a pipeline phase

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions