plateprocess.dev · PLATE release v0.12.0

Refinement Qa Pack 1009 New Repo Standard Workflows

Refinement Q&A Pack: New-Repo Standard Workflows (Epic #1008)

Question Issue: #1009
Parent Epic: #1008 — New-repo standard workflows
Milestone: New-repo standard workflows
Prepared for: Andrew (solopreneur, prefers slow-paced agent-delegated work)
Status: Answered by Andrew on 2026-10-03. Recorded on PR #1026. Question #1009 stays open until that PR merges.


Overview

Andrew answered every question in this pack. The decisions below are the launch scope for Epic #1008.

  1. CI/CD discovery is strict test-first, GitHub-first, and Playwright-wherever-possible. Common stacks get opinionated defaults (pytest for Python; shell scripts per #1017). Uncommon stacks (Roblox is the example) get research-based discovery. HITL is optional opt-in, not a first-class layer.
  2. Philosophy encoding assumes a solopreneur, always asks how many humans are on the project and what the methodology is, and encodes experience per repo. Q&A authority at launch is always the repo owner. Role encoding and team-size-adaptive gates are vision only.

Docs for this Epic live under docs/plate/ (#1015). This pack does not change .plate.


Theme A: CI/CD Discovery & Test Inventory

Q1: Test layer philosophy

Context: PLATE can guide agents to build a comprehensive test inventory (unit / integration / acceptance / HITL). Should the discovery workflow enforce test-first discipline strictly, or allow progressive adoption?

Options:

Rationale: This unlocks whether the CI/CD workflow can assume tests exist, or must scaffold test creation as a separate agent task.

Recommended: A (strict test-first) — PLATE's north star requires verifiable progress.

Answer (Andrew): A. Strict test-first.


Q2: Human-in-the-loop (HITL) test scope

Context: Some products require human verification (UI/UX feel, game balance, accessibility, Steam deployment). Should PLATE's CI/CD discovery explicitly name and scaffold HITL tests?

Options:

Rationale: Determines whether the test inventory is complete or assumes "automation only." Affects Task issue generation and Q&A interview questions.

Recommended: A (first-class) — Epic body explicitly calls out "computer-operator agents for Steam games" as a motivating example.

Answer (Andrew): C. Optional opt-in. HITL is not first-class at launch. Discovery scaffolds HITL Tasks only when the user opts in. The first-class HITL assumption moves to vision / later.


Q3: CI/CD component naming depth

Context: After discovering test needs, how should agents select and name specific CI/CD tooling (runners, frameworks, environments)?

Options:

Rationale: Balances time-to-value against flexibility. Full discovery adds Q&A toil; opinionated defaults align with "sane defaults" philosophy.

Recommended: A (opinionated) — Andrew prefers agent-delegated work; full discovery adds friction.

Answer (Andrew): Hybrid A+B. GitHub-first for everything, Playwright wherever possible; opinionated defaults for common stacks (e.g. pytest for Python); research-based discovery for uncommon stacks (e.g. Roblox game dev). Shell scripts stay the default per #1017.


Q4: Non-obvious verification surfaces

Context: Beyond typical web CI (unit tests, Playwright), should the discovery workflow probe for non-obvious surfaces (desktop apps, game platforms, marketplace publish, hardware-adjacent flows)?

Options:

Rationale: Epic body emphasizes "unnamed or non-obvious processes" as a key differentiator. Comprehensive probe unlocks full verification surface.

Recommended: A (comprehensive) — core value proposition of this Epic.

Answer (Andrew): A. Comprehensive probe.


Theme B: Development Philosophy Encoding

Q5: Team size assumption

Context: PLATE ships solopreneur-oriented defaults. Should the philosophy encoding workflow adapt those defaults based on discovered team size?

Options:

Rationale: Andrew runs many projects; some may need contractors or future growth. Adaptive encoding makes PLATE's defaults match reality.

Recommended: A (adaptive) — Epic explicitly calls out "How many humans?" as a discovery question.

Answer (Andrew): Assume solopreneur by default; add a default question asking how many humans are on the project and what the development methodology is (this also covers Q8 methodology: ask). The headcount answer is recorded. It does not adapt review gates, Q&A authority, or Epic planning scope. That team-size adaptive assumption moves to vision / later.


Q6: Experience level calibration

Context: PLATE's agent prompts and Q&A surfaces can vary based on developer experience (junior, mid, senior, founding engineer).

Options:

Rationale: Per-repo encoding lets Andrew delegate differently across projects (e.g., experimental repo = high autonomy; client project = cautious).

Recommended: A (per-repo encoding) — aligns with Epic's "real ecosystem" goal.

Answer (Andrew): A. Per-repo experience encoding.


Q7: Q&A authority model

Context: PLATE Q&A (Contemplation, planning, Epic refinement) currently assumes the GitHub repo owner is the human decision-maker. Should the encoding workflow discover a broader authority model?

Options:

Rationale: Solo projects: simple. Team projects: explicit roles prevent agent confusion ("Who should I ask?"). Supports Andrew's future delegation to contractors.

Recommended: A (encode roles) — future-proof without breaking solo case.

Answer (Andrew): Launch: always repo owner. Vision (post-launch): allow encoding of specific roles. Q8 is covered by Q5 (methodology asked as a default question). Role encoding is not launch scope.


Q8: Methodology preference

Context: PLATE enforces process (issues, labels, ceremonies) but doesn't mandate a development methodology (Scrum, Kanban, Shape Up, unstructured).

Options:

Rationale: Helps agents speak the team's language. Low-cost question; high clarity payoff.

Recommended: A (discover) — improves agent communication, especially for teams.

Answer (Andrew): Covered by Q5. Methodology is asked as a default question together with the number of humans. There is no separate methodology decision.


Theme C: Scope & Integration

Q9: Relationship to bootstrap (#633)

Context: Epic #633 (frictionless integration + new-project bootstrap) overlaps with this Epic. Should these workflows merge, compose, or remain separate?

Options:

Rationale: Composition respects "progressive enhancement" and keeps bootstrap fast. Mega-bootstrap adds toil. Separation risks users forgetting to run.

Recommended: A (compose) — bootstrap first, then discovery workflows on demand or nudged by health.

Answer (Andrew): A. Compose.


Q10: Artifact outputs

Context: After discovery completes, what durable artifacts should land in the repo?

Check all that apply:

Rationale: Determines whether the discovery is "planning only" or produces immediate actionable outputs.

Recommended: First 5 checked — concrete but defers heavy CI implementation to child Features.

Answer (Andrew): The first five: test inventory doc, CI/CD component manifest, team/philosophy summary, human Tasks for external setup, stub issues for unautomated tests. Not full CI workflow files.


Proposed Scope

Launch scope for Epic #1008, from Andrew's answers.

In scope

  1. CI/CD discovery workflow (interactive, second phase after bootstrap)

    • Strict test-first. The agent creates test stubs before implementation. CI fails when tests are missing.
    • Layers in the inventory: unit, integration, and acceptance.
    • Comprehensive probe of deployment targets, platforms, and operator touchpoints, including non-obvious surfaces (desktop, game platforms, marketplace publish, hardware-adjacent flows). Name them in the test inventory even when they are not automated yet.
    • Component naming is GitHub-first for everything, and Playwright wherever a browser or UI surface exists.
    • Common stacks get opinionated defaults. Python uses pytest. Scripts are shell scripts unless the repo declares Windows support (#1017).
    • Uncommon stacks use research-based discovery. Roblox game development is the motivating example: the agent investigates and proposes, rather than forcing a blessed default.
    • HITL is optional opt-in. The interview scaffolds human verification Tasks only when the user opts in.
    • Outputs: test inventory (docs/plate/ci-cd/test-inventory.md), CI/CD component manifest, stub issues for unautomated tests, and human Tasks for external setup (accounts, secrets, marketplace publish).
    • Discovery does not write full CI workflow files.
  2. Development philosophy encoding (launch slice)

    • Assume a solopreneur by default.
    • Always ask how many humans are on the project, and what the development methodology is (or that there is none). Q8 is this question, not a separate decision. Record both answers in the team/philosophy summary.
    • Do not adapt review gates, Q&A authority, or Epic planning scope from the headcount answer.
    • Encode experience per repository. That encoding may adjust Q&A verbosity, auto-stub generation risk, and review expectations.
    • Q&A authority at launch is always the repo owner.
    • Output: team/philosophy summary under docs/plate/team.md and/or an AGENTS.md section.
  3. Compose with bootstrap (#633)

    • Bootstrap creates standing structure. This Epic adds CI/CD and philosophy discovery as phase 2 (gh plate setup-ci, gh plate encode-team), nudged by health when the inventory or the summary is missing.

Success criteria

Explicitly out of scope (non-goals)

Vision / later (not launch scope)


Candidate Child Issues (Ordered)

Eight stubs, created and linked as sub-issues of #1008. Each should carry status:stub and need:refinement until its own refinement. Milestone for every child: New-repo standard workflows.

The integration token created these issues and linked them, and could not add labels or the milestone. Apply the labels below if they are missing.

  1. #1031 — Research: CI/CD test layer taxonomy and verification surface model

    • Unit, integration, and acceptance under strict test-first. HITL documented as optional opt-in, not a required layer. Comprehensive probe of non-obvious surfaces.
    • Output: docs/plate/research/ci-cd-test-taxonomy.md
    • Labels: Research, area:tests, risk:low, status:stub, need:refinement
  2. #1032 — Design: CI/CD discovery interview flow

    • GitHub-first, Playwright wherever possible, pytest and shell defaults, research path for uncommon stacks (Roblox), HITL only on opt-in, artifacts from Q10, no CI workflow files.
    • Output: docs/plate/design/ci-cd-discovery-flow.md
    • Labels: Design, area:tests, area:infra, risk:low, status:stub, need:refinement
  3. #1033 — Feature: CI/CD discovery workflow for new repositories

    • gh plate setup-ci and MCP plate_discover_ci_cd. Writes docs/plate/ci-cd/test-inventory.md and the component manifest. Opens stub issues for unautomated tests and human Tasks for external setup.
    • Labels: Feature, area:tests, area:infra, area:agent, risk:medium, status:stub, need:refinement
  4. #1034 — Research: Development ecosystem questionnaire

    • Solopreneur default. Default questions: human count and methodology (Q8 covered here). Per-repo experience. Authority is the repo owner. Headcount is recorded, not used to retune gates. No role matrix.
    • Output: docs/plate/research/dev-philosophy-questionnaire.md
    • Labels: Research, area:product, area:agent, risk:low, status:stub, need:refinement
  5. #1035 — Design: Philosophy encoding targets and experience adaptation

    • Where human count, methodology, and experience are stored. Experience may change verbosity, auto-stub risk, and review expectations. No CODEOWNERS role encoding and no team-size gate adaptation.
    • Output: docs/plate/design/philosophy-encoding-model.md
    • Labels: Design, area:agent, area:product, risk:low, status:stub, need:refinement
  6. #1036 — Feature: Development philosophy encoding workflow

    • gh plate encode-team and MCP plate_encode_team_philosophy. Asks the default questions, writes the team/philosophy summary under docs/plate/, applies experience adaptations, does not encode roles.
    • Labels: Feature, area:agent, area:product, risk:medium, status:stub, need:refinement
  7. #1037 — Feature: Health nudges for CI and philosophy discovery

    • gh plate health warns when the test inventory or philosophy summary is missing and points at setup-ci / encode-team.
    • Labels: Feature, area:product, risk:low, status:stub, need:refinement
  8. #1038 — Design: Bootstrap and discovery composition

    • Phase 1 is gh plate bootstrap (#633). Phase 2 is health-nudged discovery. Discovery is not folded into the bootstrap session.
    • Output: docs/plate/design/bootstrap-discovery-composition.md
    • Labels: Design, area:product, area:infra, risk:low, status:stub, need:refinement

No child issue is opened for role encoding, team-size adaptation, or first-class HITL. Those stay in Vision / later.


Recording status


References: