Skip to content

Job 2: CodeGeneratorJob — clone skeleton, fill via Ollama, gate, deploy #3

Description

@jordanpartridge

What

The intelligent half. Clones the-shit/agent-skeleton, uses Ollama on Loki to fill models/migrations/relationships, runs quality-runners gate, deploys Quadlet.

Responsibilities

  • Clone the-shit/agent-skeleton to temp path
  • For each model in manifest: dispatch ModelScaffoldJob → Ollama fills migration + fillable + casts + factory
  • For each relationship: RelationshipScaffoldJob → writes Eloquent both directions
  • Push to GitHub repo (created by Job 1)
  • Trigger quality-runners gate
  • On pass: generate + register Podman Quadlet on Odin
  • Slack notification: service is live

Acceptance Criteria

  • CodeGeneratorJob runs after RepoGeneratorJob completes
  • OllamaService wraps Loki HTTP API (qwen2.5-coder:7b)
  • Generated code passes 100% coverage gate
  • Quadlet registered and service starts on Odin
  • 100% test coverage on Foundry itself

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions