Skip to content

PDX-0: docs — reusable loop runner template + PDX-501..505 prompt#197

Merged
mrdailey99 merged 2 commits into
developfrom
feature/loop-runner-docs
Jun 2, 2026
Merged

PDX-0: docs — reusable loop runner template + PDX-501..505 prompt#197
mrdailey99 merged 2 commits into
developfrom
feature/loop-runner-docs

Conversation

@mrdailey99
Copy link
Copy Markdown
Collaborator

Summary

  • Add docs/loops/ — a reusable scaffold for driving autonomous /loop runs of PDX ticket batches (build → test → validate → merge) on top of the repo's documented dev workflow.
  • loop-template.md: generic template, how-to, decisions table, and a registry of run prompts.
  • _example-instance.md: blank skeleton to copy per batch.
  • pdx-501-505.md: first ready-to-run prompt (MCP dogfooding fixes), with the step-scoped ComparisonType sets baked in.

Why

Autonomous loop runs were re-authored ad hoc each time, with decisions/authoritative sources not persisted. This captures the workflow once and makes future batches a copy-fill-run.

Notes

  • Docs-only change; no code, tools, or MCP behaviour touched. PDX-0 (no dedicated ticket).
  • Internal working docs (not customer-facing); PDX IDs are intentionally allowed under docs/loops/.
  • Related Jira (context, not changed by this PR): PDX-501..PDX-505. The 501/502 descriptions were updated separately to the corrected step-scoped ComparisonType basis that this prompt encodes.

Test plan

  • yarn compile passes (pre-push)
  • yarn test:only passes (pre-push)
  • yarn lint passes (pre-commit)
  • n/a mcp-smoke (no tool/schema change)

… prompt

RCA: Autonomous /loop runs for ticket batches had no persisted, reusable scaffold, so each run was re-authored ad hoc and the workflow/decisions were not captured for future batches.
Fix: Added docs/loops/ with loop-template.md (generic template, how-to, decisions, registry), _example-instance.md skeleton, and pdx-501-505.md ready-to-run prompt with step-scoped ComparisonType sets.
Copilot AI review requested due to automatic review settings June 2, 2026 14:14
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

Quality Orchestrator

🟢 LOW · 0 / 100 · All changed files have mapped tests.


No test files mapped.


⚡ quality-orchestrator  ·  /qo stub <file>  ·  qo analyze-local

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a small internal documentation “loop runner” scaffold under docs/loops/ to standardize how autonomous /loop runs are authored and executed for batches of PDX tickets.

Changes:

  • Introduces a reusable loop prompt template with a decisions table and a prompt registry.
  • Adds an example “instance” document to copy/fill for new ticket batches.
  • Adds a ready-to-run loop prompt for PDX-501..505 (comparisonType + sf/plugin robustness batch).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
docs/loops/loop-template.md New template/how-to for loop runs, including a registry of prompts.
docs/loops/_example-instance.md New copyable skeleton for creating a new loop prompt instance.
docs/loops/pdx-501-505.md New concrete loop prompt for the first batch (PDX-501..505).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/loops/loop-template.md Outdated
Comment on lines +3 to +5
The reusable scaffold for driving a batch of PDX tickets from build → test → validate → merge,
one ticket per self-paced `/loop` iteration, on top of this repo's documented dev workflow
(`.claude/commands/git-workflow.md` + `.claude/agents/dev-git-workflow.md`).
Comment on lines +42 to +44
AUTHORITATIVE WORKFLOW: follow .claude/commands/git-workflow.md and
.claude/agents/dev-git-workflow.md exactly (worktree-per-branch, yarn install in
the worktree, commit format, the compile/test/smoke/lint gate, PR template,
Comment thread docs/loops/pdx-501-505.md
Comment on lines +30 to +33
AUTHORITATIVE WORKFLOW: follow .claude/commands/git-workflow.md and
.claude/agents/dev-git-workflow.md exactly (worktree-per-branch, yarn install in
the worktree, commit format, the compile/test/smoke/lint gate, PR template,
Copilot handling) — WITH these overrides for this loop:
RCA: Copilot review found the loop docs referenced .claude/agents/dev-git-workflow.md, which is untracked in git and therefore absent in fresh checkouts and worktrees the loop creates, making the instructions impossible to follow.
Fix: Replaced the untracked .claude/agents/dev-git-workflow.md reference with the tracked CLAUDE.md across loop-template.md and pdx-501-505.md; only .claude/commands/git-workflow.md + CLAUDE.md are now cited.
@mrdailey99 mrdailey99 merged commit e7b9213 into develop Jun 2, 2026
4 checks passed
@mrdailey99 mrdailey99 deleted the feature/loop-runner-docs branch June 2, 2026 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants