Skip to content

Tasks: GitFactory-Managed Agentic Orchestration

Each task must reference one or more FR-* / NFR-* / AC-* IDs from spec.md. CI's spec_validator.py enforces that every requirement in spec.md is referenced by at least one task.

Conventions

  • Status: [ ] todo / [~] in-progress / [x] done.

T-001 — Author the three operating prompts

  • Refs: FR-1, FR-2, FR-3, NFR-HITL-1, NFR-AUDIT-1
  • Owner: @bamr87
  • Status: [x]
  • Files:
  • .factory/prompts/evolve-pilot.md (new)
  • .factory/prompts/backlog-triage.md (new)
  • .factory/prompts/issue-concierge.md (new)
  • Steps:
  • Evolve pilot defers to prompts/evolve.md as canon + line-specific grant honesty + stop conditions.
  • Triage embeds the backlog-triager verdict contract + append-only rules.
  • Concierge: numbers-not-bodies, existing-labels-only, one marker-deduped comment.
  • Verify:
  • python3 tools/unwrap-prose.py --check clean on the new files.

T-002 — Generate blueprints + workflows from gitorio

  • Refs: FR-1, FR-2, FR-3, FR-4, NFR-SEC-1, AC-1, AC-2, AC-3
  • Owner: @bamr87
  • Status: [x]
  • Files:
  • .factory/{evolve-pilot,backlog-triage,issue-concierge}.blueprint.json (new, generated)
  • .github/workflows/factory--{evolve-pilot,backlog-triage,issue-concierge}.yml (new, generated)
  • Steps:
  • cd ../gitorio/app && npx vite-node scripts/gen-aosdlc-factory.ts ../../law-ai (path from gitorio's checkout: the law-ai repo root).
  • Grep-verify: vars.*_ENABLED per line, generated header + hash, concierge sender.type != 'Bot' guard, zero gh pr merge grants.
  • Verify:
  • grep -c "GENERATED BY GITFACTORY" .github/workflows/factory--*.yml → 1 each.
  • grep -L "gh pr merge" .github/workflows/factory--*.yml → all three.

T-003 — Close the §11 loop

  • Refs: AC-4
  • Owner: @bamr87
  • Status: [x]
  • Files: BACKLOG.md, this spec package
  • Steps: claim BL-20260817-06; mirror the follow-ups below; run both validators.
  • Verify:
  • python3 scripts/spec_validator.py exits 0.
  • python3 scripts/backlog_lint.py exits 0.

Done-When (Definition of Done)

  • All tasks [x].
  • All AC-* from spec.md verified.
  • make lint && make test green on the PR (CI; no product code changed).
  • LegalBench delta: n/a (spec §11 — no model-path change).
  • ## Follow-ups Discovered section below populated.

Follow-ups Discovered

Append-only. Mirror each item into BACKLOG.md with a BL-YYYYMMDD-NN id. CI (scripts/spec_validator.py) checks this section exists. CI (scripts/backlog_lint.py) checks the BACKLOG mirror.

  • BL-20260817-07 — infra, low — Scoped verification grant for factory agent lines (run the two stdlib validators in-line instead of deferring every gate to PR CI); needs a compiler-side check machine or grant option in gitorio.
  • BL-20260817-08 — infra, low — Model the deterministic weekly evolve.yml audit as a compiled GitFactory line so all orchestration shares the blueprint/drift-hash governance.