Skip to content

design: Phase 1 Specification — Portable Task Planning Agents - #1803

Merged
ashleyshaw merged 10 commits into
developfrom
design/portable-task-planning-agents-specification
Aug 12, 2026
Merged

design: Phase 1 Specification — Portable Task Planning Agents#1803
ashleyshaw merged 10 commits into
developfrom
design/portable-task-planning-agents-specification

Conversation

@ashleyshaw

@ashleyshawashleyshaw commented Aug 12, 2026

Copy link
Copy Markdown
Member

Summary

Phase 1 specification complete for portable task-planner and task-researcher agents. Comprehensive architecture design for agents supporting GitHub control-plane, WordPress plugins, and WordPress themes across multiple platforms (Claude, Copilot, OpenAI, Gemini).

Related Issue:#1815 — Phase 1 Epic

Deliverables

  • ✅ Clarifying questions answered (6 architectural decisions)
  • ✅ Agent architecture design (two-agent system, folder structure)
  • ✅ Skills architecture (5 skills with platform support matrix)
  • ✅ Scripts & testing strategy (4 scripts, Jest config, 80%+ coverage)
  • ✅ Documentation plan (5 files with 6+ mermaid diagrams)
  • ✅ Implementation timeline (5-6 weeks, phased approach)
  • ✅ Critical files list (~45 files to create)
  • ✅ User decisions documented

Active Project

.github/projects/active/portable-task-planning-agents-2026-08-12/

Contents:

  • README.md — Project overview and deliverables
  • CLARIFYING_QUESTIONS_AND_ANSWERS.md — Architecture decisions with best practice rationale

Key Decisions

✅ One unified agent with repository-type parameters (not separate agents)
✅ Strategic WordPress block knowledge (validation, not code generation)
✅ Multi-file portable agents in agents/ (not .github/agents/)
✅ Jest testing with 80%+ coverage target
✅ 5 core skills + 4 support scripts
✅ Multi-provider support (Claude, Copilot, OpenAI, Gemini)


Linked issues

Resolves#1815

Changelog

Added

  • Phase 1 specification and design for portable task planning agents
  • Active project: .github/projects/active/portable-task-planning-agents-2026-08-12/
  • Comprehensive architectural decisions document with 6 key decisions
  • Implementation roadmap with 5-6 week timeline
  • Test strategy with Jest configuration and 80%+ coverage targets
  • Documentation plan with 5 files and 6+ mermaid diagrams
  • Support scripts and skills architecture definition
  • Comprehensive architecture documentation with mermaid diagrams

Changed

Fixed

Removed


Checklist (Global DoD / PR)

  • All AC met and demonstrated
  • Tests added/updated (unit/E2E as appropriate) — Test strategy documented
  • Accessibility checklist completed (where relevant):
    • Semantic HTML and heading order verified
    • Keyboard navigation and visible focus states verified
    • ARIA used only where needed
    • Contrast and non-colour cues reviewed (WCAG 2.2 AA or higher) — Mermaid diagrams updated
  • Docs/readme/changelog updated (if user-facing) — Comprehensive documentation
  • Security checklist completed (where relevant):
    • Untrusted input validated and sanitised — N/A (specification only)
    • Output escaped for its rendering context — N/A (specification only)
    • Privileged actions enforce nonce and capability checks — N/A (specification only)
    • No secrets/sensitive data introduced; OWASP risks reviewed — N/A (specification only)
  • Code/design reviews approved — CodeRabbit reviewed (12 comments, all resolved)
  • CI green; linked issues closed; release notes prepared (if shipping) — Ready for Phase 2

🧱 Generated with Claude Code

@coderabbitai

coderabbitaiBot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@ashleyshaw, you've reached your PR review limit, so we couldn't start this review.

Next review available in:28 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro Plus

Run ID: 62125167-aaae-4be9-ab18-ccba8a940b50

📥 Commits

Reviewing files that changed from the base of the PR and between 11ebc7e and 4891453.

📒 Files selected for processing (10)
  • .github/projects/active/openspec/changes/phase-2-task-planning-agents-implementation/.openspec.yaml
  • .github/projects/active/openspec/changes/phase-2-task-planning-agents-implementation/design.md
  • .github/projects/active/openspec/changes/phase-2-task-planning-agents-implementation/proposal.md
  • .github/projects/active/openspec/config.yaml
  • .github/projects/active/portable-task-planning-agents-2026-08-12/CLARIFYING_QUESTIONS_AND_ANSWERS.md
  • .github/projects/active/portable-task-planning-agents-2026-08-12/OPENSPEC_DESIGN.md
  • .github/projects/active/portable-task-planning-agents-2026-08-12/OPENSPEC_PROPOSAL.md
  • .github/projects/active/portable-task-planning-agents-2026-08-12/PHASE_2_IMPLEMENTATION_PLAN.md
  • .github/projects/active/portable-task-planning-agents-2026-08-12/README.md
  • CHANGELOG.md
📝 Walkthrough

Summary by CodeRabbit

  • Documentation
    • Added a Phase 1 specification for portable task-planning and research agents across GitHub repositories, WordPress block plugins and block themes.
    • Documented a unified, configuration-driven architecture, including WordPress block-awareness requirements and portable multi-file agent structures.
    • Defined testing coverage, implementation phases, sprint planning, related deliverables, references and maintainership guidance.
    • Added six planned architecture and workflow diagrams to support future development and onboarding.

Walkthrough

The PR adds Phase 1 specifications for portable, configuration-driven task-planning agents. It documents supported repository types, agent structure, testing, delivery phases, architecture diagrams, project documentation and follow-up actions.

Changes

Portable agent specification

Layer / File(s)Summary
Architecture and project scope
.github/projects/active/portable-task-planning-agents-2026-08-12/README.md, .github/projects/active/portable-task-planning-agents-2026-08-12/CLARIFYING_QUESTIONS_AND_ANSWERS.md
Defines the unified agent model, WordPress block-structure configuration and multi-file agents/ layout.
Testing and delivery plan
.github/projects/active/portable-task-planning-agents-2026-08-12/CLARIFYING_QUESTIONS_AND_ANSWERS.md
Defines Jest unit, integration and E2E coverage, plus the specification-only first phase and sprint roadmap.
Documentation and follow-up
.github/projects/active/portable-task-planning-agents-2026-08-12/CLARIFYING_QUESTIONS_AND_ANSWERS.md
Defines documentation files, architecture diagrams, consolidated decisions and next steps.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested labels:lang:md, area:documentation, area:ai

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check nameStatusExplanation
Linked Issues check✅ PassedThe documentation satisfies the coding-related objectives in issue #1815, including architecture, skills, scripts, testing, documentation, and planning.
Out of Scope Changes check✅ PassedThe changes are limited to the Phase 1 project documentation and align with the objectives in issue #1815.
Docstring Coverage✅ PassedNo functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check✅ PassedThe title clearly identifies the Phase 1 specification for portable task planning agents.
Description check✅ PassedThe description is mostly complete and covers the summary, deliverables, linked issue, changelog, and completion checklist.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch design/portable-task-planning-agents-specification

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actionsBot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

✅ Template check passed after update. Thanks for fixing the PR description.

@github-actions

Copy link
Copy Markdown
Contributor

🔗 Project Linking Validation

Projects Checked: 36
Projects with Links: 32

❌ Missing Related Issues Section

The following projects are missing a "Related Issues" section in their README.md:

  • release-agentic-workflows-2026-08-11

See Linking Standard for format.


Validation Date: 2026-08-12T09:18:23.860Z
Validator: GitHub Actions

@github-actions

Copy link
Copy Markdown
Contributor

❌ Branch Name Validation Failed

The branch name design/portable-task-planning-agents-specification does not follow the LightSpeed branching strategy.

Required Format

{type}/{scope}-{short-title}
  • type: one of the allowed prefixes (lowercase)
  • scope: lowercase, hyphens only (no underscores or uppercase)
  • title: lowercase, hyphens only (no underscores or uppercase)

Allowed Branch Types

feat, fix, hotfix, release, refactor, chore, docs, test, perf, ci, build, deps, security, revert, research, design, a11y, ux, i18n, ops, proto, ds, api, schema, telemetry, content, seo, config, migrate, qa, uat, audit, codex

Valid Examples

  • feat/branch-naming-enforcement
  • fix/validation-script-bug
  • chore/update-dependencies
  • docs/branching-strategy-guide
  • hotfix/critical-security-patch

Invalid Examples

  • claude/my-branch (type "claude" not allowed)
  • Feature/MyBranch (uppercase not allowed)
  • fix-bug (missing type prefix)
  • feat/my_feature (underscores not allowed)
  • feat/MyFeature (uppercase not allowed)

Solution

Rename your branch to follow the pattern and update the PR.

For more information, see docs/BRANCHING_STRATEGY.md.

@github-actions

github-actionsBot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

⏱️ Aging and SLA annotation

  • Age: 0 day(s)
  • SLA state: Within SLA
  • Thresholds: warn at 7 days, breach at 14 days
  • Last updated: 2026-08-12T10:29:15.992Z

Maintained by project-meta-sync workflow.

@github-actionsgithub-actionsBot added status:needs-review Awaiting code review type:design Design work labels Aug 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📄 README Validation

✅ All README checks passed.

CheckResult
✅ FrontmatterPassed
✅ StructurePassed

@github-actionsgithub-actionsBot added priority:normal Default priority type:chore Chore / small hygiene change type:ci CI/CD pipeline work meta:needs-changelog Requires a changelog entry before merge labels Aug 12, 2026
@github-actions

github-actionsBot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

🎨 Mermaid Diagram Validation

✅ All Mermaid diagram checks passed.

CheckResult
✅ SyntaxPassed
✅ AccessibilityPassed
✅ Colour ContrastPassed

@github-actions

github-actionsBot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

🔍 Reviewer Summary for PR #1803

CI Status:success
Files changed: 8
Risk Distribution: 0 critical, 8 high, 0 medium, 0 low

Recommendations

  • Ready to proceed pending human review

@ashleyshawashleyshaw self-assigned this Aug 12, 2026
@github-actionsgithub-actionsBot removed type:chore Chore / small hygiene change type:ci CI/CD pipeline work labels Aug 12, 2026
@ashleyshaw
ashleyshaw enabled auto-merge (squash) August 12, 2026 09:48
ashleyshaw added a commit that referenced this pull request Aug 12, 2026
Update project README to reference:
- Phase 1 Epic Issue: #1815
- Phase 1 Specification PR: #1803
- Next steps reflecting completed actions
- Maintainer assignment (ashleyshaw)
Related: #1815 (Phase 1 Epic), #1803 (Specification PR)
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

🔗 Project Linking Validation

Projects Checked: 39
Projects with Links: 35

❌ Missing Related Issues Section

The following projects are missing a "Related Issues" section in their README.md:

  • release-agentic-workflows-2026-08-11

See Linking Standard for format.


Validation Date: 2026-08-12T10:01:50.112Z
Validator: GitHub Actions

ashleyshaw added a commit that referenced this pull request Aug 12, 2026
…contrast
PR Template Updates:
- Add 'Linked Issues' section with resolution reference
- Add 'Changelog' section with Added/Documentation categories
- Add 'Definition of Done (DoD)' checklist for Phase 1 and Phase 2
- Complete all template requirements for design/feature PRs
Mermaid Diagram Updates:
- Add explicit text color to all Mermaid diagrams for WCAG contrast compliance
- Use color:#000 for light backgrounds, color:#fff for dark backgrounds (#81c784)
- Fix contrast on 6 diagrams: decision flow, data flow, repo-type branching, integration points, skills architecture, test coverage
Related: #1815 (Phase 1 Epic), #1803 (Specification PR)
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@ashleyshaw

Copy link
Copy Markdown
MemberAuthor

🔍 Branch name follows required format {type}/{scope}-{short-title}:

  • Type: design ✓ (allowed prefix)
  • Scope: portable-task-planning-agents ✓ (lowercase, hyphens only)
  • Title: specification ✓ (lowercase)

Branch validation should pass. If validation check is cached, it should update on next commit.

ashleyshaw added a commit that referenced this pull request Aug 12, 2026
All previous fixes committed:
- PR template updated with required sections
- Mermaid diagram color contrast fixed
- Branch name validation confirmed correct
Related: #1815, #1803
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

🔗 Project Linking Validation

Projects Checked: 39
Projects with Links: 35

❌ Missing Related Issues Section

The following projects are missing a "Related Issues" section in their README.md:

  • release-agentic-workflows-2026-08-11

See Linking Standard for format.


Validation Date: 2026-08-12T10:10:58.464Z
Validator: GitHub Actions

@coderabbitaicoderabbitaiBot added area:ai AI and automation systems area:documentation Docs & guides lang:md Markdown content/docs labels Aug 12, 2026
@github-actions

github-actionsBot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

This PR's project (portable-task-planning-agents-2026-08-12) has a properly formatted Related Issues & PR section. The reported issue is in a separate project (release-agentic-workflows-2026-08-11) unrelated to this PR. Our project complies with the linking standard.

🤖 Addressed by Claude Code

@coderabbitaicoderabbitaiBot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 12

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
@.github/projects/active/portable-task-planning-agents-2026-08-12/CLARIFYING_QUESTIONS_AND_ANSWERS.md:
- Around line 507-515: Update the Task Planning Request diagram to use the
canonical repositoryType values “wordpress-plugin” and “wordpress-theme” instead
of “wp-plugin” and “wp-theme,” matching the table and JavaScript example so
loadRepositoryConfig selects the correct configuration.
- Around line 333-346: Update the “Task Researcher Agent” behavior test to use a
single response property for clarifying questions: make the length assertion and
first-question assertion reference the same field, and align the documented
response schema with that chosen property.
- Around line 752-756: Update the Mermaid style declaration for the Cov node to
use dark text by changing its color from `#fff` to `#000`, while preserving the
existing `#81c784` fill.
- Around line 164-190: Make the planning agent configuration explicitly
read-only by changing the autofix settings in wordPressConfig.codingStandards
for PHP, JavaScript, and CSS from true to false, or separate those settings into
an implementation-only configuration while preserving read-only planning
behavior.
- Around line 470-484: Replace the TBD primary user/maintainer entry in
.github/projects/active/portable-task-planning-agents-2026-08-12/CLARIFYING_QUESTIONS_AND_ANSWERS.md:470-484
with the agreed owner, while preserving the ownership model, role assignments,
and Phase 1 decision. Ensure
.github/projects/active/portable-task-planning-agents-2026-08-12/README.md:168-169
retains the same ownership decision and role assignments; no direct change is
required there unless needed for consistency.
- Around line 626-655: Remove the “Agent Database” node and its connections from
the diagram unless a defined database is required by the documented
architecture. If retained, add explicit documentation for its data model, owner,
lifecycle, and failure behavior, and align the repository structure, schemas,
configuration, and outputs accordingly.
- Around line 18-57: Clarify the unified-agent architecture throughout the
document, starting with planTask and the related implementation diagrams, file
tree, APIs, and tests. Explicitly choose either a single agent with internal
research and planning stages or one orchestrator coordinating separate Task
Researcher and Task Planner agents, then make all terminology, interfaces, and
test expectations consistently reflect that boundary.
- Around line 390-400: Align the test example’s GitHub integration boundary with
the documented architecture: either introduce and use a production adapter
around GitHub access, then mock that adapter instead of `@octokit/rest`, or update
the diagrams and README.md to explicitly document direct Octokit usage. Keep the
chosen boundary consistent across production code, tests, and documentation.
- Around line 348-356: Update the “generates audit report for GitHub control
plane” test to validate response.auditReport using the repository’s documented
AJV validation API instead of the undefined toMatchSchema matcher; only retain
the matcher if this document also specifies its setup and dependency.
- Around line 360-386: Update the “Test Coverage Strategy” content at
.github/projects/active/portable-task-planning-agents-2026-08-12/CLARIFYING_QUESTIONS_AND_ANSWERS.md:360-386
and the related Mermaid diagram at
.github/projects/active/portable-task-planning-agents-2026-08-12/CLARIFYING_QUESTIONS_AND_ANSWERS.md:727-750.
Clearly separate component coverage targets (85%, 80%, 75%, and 70%) from
test-suite composition (60% unit, 30% integration, 10% E2E), show all coverage
targets in the diagram, and explain how the overall 80% decision threshold
relates to the individual component targets.
In @.github/projects/active/portable-task-planning-agents-2026-08-12/README.md:
- Around line 87-92: Synchronize the documentation inventory in README.md (lines
87-92) and CLARIFYING_QUESTIONS_AND_ANSWERS.md (lines 759-792): add
MERMAID_DIAGRAMS.md and EXAMPLES.md, and explicitly state whether
CLARIFYING_QUESTIONS_AND_ANSWERS.md counts toward the five-file deliverable.
Ensure both files publish the same file list, status, owner, and delivery phase.
- Around line 96-124: Update the repository-structure documentation to use the
canonical portable agent layout: agents/{name}-agent/, AGENT.md entry files,
provider-specific directories where applicable, five core skills, and four
support scripts including the missing script. In README.md lines 96-124, define
this complete layout; align CLARIFYING_QUESTIONS_AND_ANSWERS.md lines 248-279
with it and name the missing support script; update lines 665-711 to classify
additional skill nodes while preserving the canonical five-skill list.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro Plus

Run ID: 30b61915-6d98-4c85-ad2c-44a26e2583bf

📥 Commits

Reviewing files that changed from the base of the PR and between 5dab643 and 11ebc7e.

📒 Files selected for processing (2)
  • .github/projects/active/portable-task-planning-agents-2026-08-12/CLARIFYING_QUESTIONS_AND_ANSWERS.md
  • .github/projects/active/portable-task-planning-agents-2026-08-12/README.md
📜 Review details
⏰ Context from checks skipped due to timeout. (1)
  • GitHub Check: Summary
⚠️ CI failures not shown inline (2)

GitHub Check: Summary: The current Mergify configuration is invalid

Conclusion: failure

View job details

Extra inputs are not permitted @ root → pull_request_rules → item 1 → actions → queue → merge_conditions

GitHub Check: Mergify Merge Queue: The current Mergify configuration is invalid

Conclusion: failure

View job details

Extra inputs are not permitted @ root → pull_request_rules → item 1 → actions → queue → merge_conditions
🧰 Additional context used
🧠 Learnings (10)
📚 Learning: 2026-07-31T09:02:05.534Z
Learnt from: CR
Repo: lightspeedwp/.github PR: 0
File: agents/wp-config-agent/agent/instructions/AGENTS.md:0-0
Timestamp: 2026-07-31T09:02:05.534Z
Learning: Applies to agents/wp-config-agent/agent/instructions/**/* : Use content-first WordPress structure before visual polish, evidence-led audits, GDPR-aware form design, explicit QA and mobile testing before launch sign-off, and clear separation between advisory guidance, supported actions, and manual follow-up.

Applied to files:

  • .github/projects/active/portable-task-planning-agents-2026-08-12/README.md
📚 Learning: 2026-07-31T09:02:05.534Z
Learnt from: CR
Repo: lightspeedwp/.github PR: 0
File: agents/wp-config-agent/agent/instructions/AGENTS.md:0-0
Timestamp: 2026-07-31T09:02:05.534Z
Learning: Applies to agents/wp-config-agent/agent/instructions/**/* : For content architecture work, use the site-discovery template and schema when applicable; make assumptions explicit, include open questions, and do not invent unsupported business or platform details.

Applied to files:

  • .github/projects/active/portable-task-planning-agents-2026-08-12/README.md
📚 Learning: 2026-07-31T09:02:05.534Z
Learnt from: CR
Repo: lightspeedwp/.github PR: 0
File: agents/wp-config-agent/agent/instructions/AGENTS.md:0-0
Timestamp: 2026-07-31T09:02:05.534Z
Learning: Applies to agents/wp-config-agent/agent/instructions/**/* : Keep configuration and implementation work separate from read-only audit and review work; use the appropriate specialist workflow for each.

Applied to files:

  • .github/projects/active/portable-task-planning-agents-2026-08-12/README.md
📚 Learning: 2026-08-10T14:55:30.100Z
Learnt from: CR
Repo: lightspeedwp/.github PR: 0
File: agents/prd-factory-planner-agent/AGENT.md:0-0
Timestamp: 2026-08-10T14:55:30.100Z
Learning: Applies to agents/prd-factory-planner-agent/agent/instructions/AGENTS.md : The agent workflow should invoke PRD generation first, then timeline and milestone planning, stakeholder coordination, requirement validation, and finally export formatting.

Applied to files:

  • .github/projects/active/portable-task-planning-agents-2026-08-12/README.md
📚 Learning: 2026-08-10T14:55:43.398Z
Learnt from: CR
Repo: lightspeedwp/.github PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-08-10T14:55:43.398Z
Learning: Applies to .github/agents/*.agent.md : Spec-based GitHub-native agents must be single `.agent.md` files under `.github/agents/` with YAML frontmatter and an agent definition.

Applied to files:

  • .github/projects/active/portable-task-planning-agents-2026-08-12/README.md
📚 Learning: 2026-07-24T06:15:52.411Z
Learnt from: CR
Repo: lightspeedwp/.github PR: 0
File: agents/prd-agent/AGENT.md:0-0
Timestamp: 2026-07-24T06:15:52.411Z
Learning: Applies to agents/prd-agent/**/directory : Plan releases and timelines using realistic milestones, dependency mapping, and risk projections.

Applied to files:

  • .github/projects/active/portable-task-planning-agents-2026-08-12/README.md
📚 Learning: 2026-08-10T14:55:43.398Z
Learnt from: CR
Repo: lightspeedwp/.github PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-08-10T14:55:43.398Z
Learning: Applies to agents/**/* : Portable, reusable multi-file agents belong under `agents/{name}-agent/` and must include `AGENT.md` plus provider-specific subdirectories where applicable.

Applied to files:

  • .github/projects/active/portable-task-planning-agents-2026-08-12/README.md
📚 Learning: 2026-07-24T06:16:21.451Z
Learnt from: CR
Repo: lightspeedwp/.github PR: 0
File: agents/prd-agent/agent/instructions/AGENTS.md:0-0
Timestamp: 2026-07-24T06:16:21.451Z
Learning: Act as the LightSpeed Project Planning Manager for internal LightSpeed use, turning briefs, discovery notes, design context, repository context, website references, and client requirements into clear planning artefacts for WordPress delivery.

Applied to files:

  • .github/projects/active/portable-task-planning-agents-2026-08-12/README.md
📚 Learning: 2026-07-31T09:02:05.534Z
Learnt from: CR
Repo: lightspeedwp/.github PR: 0
File: agents/wp-config-agent/agent/instructions/AGENTS.md:0-0
Timestamp: 2026-07-31T09:02:05.534Z
Learning: Applies to agents/wp-config-agent/agent/instructions/**/* : Act as the WordPress Configuration Agent, focusing on WordPress audits, site-state review, configuration guidance, implementation support, Gravity Forms, Yoast SEO, launch readiness, and structured WordPress reporting.

Applied to files:

  • .github/projects/active/portable-task-planning-agents-2026-08-12/README.md
📚 Learning: 2026-07-31T09:02:05.534Z
Learnt from: CR
Repo: lightspeedwp/.github PR: 0
File: agents/wp-config-agent/agent/instructions/AGENTS.md:0-0
Timestamp: 2026-07-31T09:02:05.534Z
Learning: Applies to agents/wp-config-agent/agent/instructions/**/* : For concise audit summaries, use the exact top-level headings `## Confirmed Findings`, `## Unverified Items`, `## Risks`, `## Blockers`, and `## Next Actions` unless a more specific template is required.

Applied to files:

  • .github/projects/active/portable-task-planning-agents-2026-08-12/README.md
🪛 LanguageTool
.github/projects/active/portable-task-planning-agents-2026-08-12/CLARIFYING_QUESTIONS_AND_ANSWERS.md

[uncategorized] ~64-~64: The official name of this software platform is spelled with a capital “H”.
Context: ...|-----------|--------|--------------| | github | Control plane | AGENTS.md, CLAUDE.md...

(GITHUB)


[uncategorized] ~64-~64: The official name of this software platform is spelled with a capital “H”.
Context: ... Control plane | AGENTS.md, CLAUDE.md | .github/labels.yml | {type}/{scope}-{title} ...

(GITHUB)


[uncategorized] ~203-~203: The official name of this software platform is spelled with a capital “H”.
Context: ... Spec-based agents (simple YAML/JSON in .github/agents/)? - (B) Multi-file portabl...

(GITHUB)


[uncategorized] ~208-~208: The official name of this software platform is spelled with a capital “H”.
Context: ...ortable Agents** Why NOT Spec-Based (.github/agents/): - ❌ Limited to 1 file per...

(GITHUB)


[uncategorized] ~226-~226: The official name of this software platform is spelled with a capital “H”.
Context: ...ns, themes) can install and use - No .github/ assumptions in code - Reusable acr...

(GITHUB)


[grammar] ~454-~454: Did you mean the noun “weekend” (Saturday + Sunday)?
Context: ...pecification (Current)** - Duration: 1 week - End date: 2026-08-19 (estimated) - Delivera...

(WEEK_END)

.github/projects/active/portable-task-planning-agents-2026-08-12/README.md

[uncategorized] ~13-~13: The official name of this software platform is spelled with a capital “H”.
Context: ...s LightSpeedWP repositories. Currently, .github/agents/task-planner.agent.md and `.git...

(GITHUB)


[uncategorized] ~13-~13: The official name of this software platform is spelled with a capital “H”.
Context: ...ithub/agents/task-planner.agent.mdand.github/agents/task-researcher.agent.md` are co...

(GITHUB)


[uncategorized] ~15-~15: The official name of this software platform is spelled with a capital “H”.
Context: ... - GitHub Control Plane (LightSpeed .github repository) - **WordPress Block Plugin...

(GITHUB)


[uncategorized] ~22-~22: The official name of this software platform is spelled with a capital “H”.
Context: ...le agents in root agents/ folder (not .github/agents/) 3. ✅ Full Documentation —...

(GITHUB)


[duplication] ~38-~38: Possible typo: you repeated a word.
Context: ...& Scripts** — Framework choice and test scope 5. Scope & Timeline — Phase 1 deliverables and...

(ENGLISH_WORD_REPEAT_RULE)


[uncategorized] ~164-~164: The official name of this software platform is spelled with a capital “H”.
Context: ...thub/pull/1803) - Active Project: [.github/projects/active/portable-task-planning-...

(GITHUB)

Comment thread.github/projects/active/portable-task-planning-agents-2026-08-12/README.md Outdated
Comment thread.github/projects/active/portable-task-planning-agents-2026-08-12/README.md Outdated
@github-actions

Copy link
Copy Markdown
Contributor

🔗 Project Linking Validation

Projects Checked: 39
Projects with Links: 35

❌ Missing Related Issues Section

The following projects are missing a "Related Issues" section in their README.md:

  • release-agentic-workflows-2026-08-11

See Linking Standard for format.


Validation Date: 2026-08-12T10:18:37.274Z
Validator: GitHub Actions

@github-actions

Copy link
Copy Markdown
Contributor

🔗 Project Linking Validation

Projects Checked: 39
Projects with Links: 35

❌ Missing Related Issues Section

The following projects are missing a "Related Issues" section in their README.md:

  • release-agentic-workflows-2026-08-11

See Linking Standard for format.


Validation Date: 2026-08-12T10:25:48.700Z
Validator: GitHub Actions

@github-actions

Copy link
Copy Markdown
Contributor

🔗 Project Linking Validation

Projects Checked: 42
Projects with Links: 39

✅ All projects have Related Issues sections

Detailed issue link validation is deferred to Phase 4.


Validation Date: 2026-08-12T10:49:47.102Z
Validator: GitHub Actions

@github-actions

Copy link
Copy Markdown
Contributor

🔗 Project Linking Validation

Projects Checked: 44
Projects with Links: 41

✅ All projects have Related Issues sections

Detailed issue link validation is deferred to Phase 4.


Validation Date: 2026-08-12T11:09:43.888Z
Validator: GitHub Actions

ashleyshawand others added 10 commits August 12, 2026 13:41
Complete architecture and implementation plan for portable task-planner and
task-researcher agents supporting GitHub control-plane, WordPress plugins, and
WordPress themes. Includes clarifying questions answered, design decisions,
5-6 week implementation timeline, and 17 GitHub issue tracking template.
Phase 1 deliverables:
- Clarifying questions answered with best practices (6 architectural decisions)
- Agent architecture design (two-agent system, folder structure, metadata)
- Skills architecture (5 skills with platform support matrix)
- Scripts & testing strategy (4 scripts, Jest configuration, 80%+ coverage)
- Documentation plan (5 files with 6+ mermaid diagrams)
- Implementation timeline (5-6 weeks, phased delivery)
- Critical files list (~45 files)
- User decisions documented (team ownership, GitHub issues, timeline, validation projects)
Related: Portable Task Planning Agents Initiative (Phase 1C restructuring alignment)
Branch: design/portable-task-planning-agents-specification
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Update project README to reference:
- Phase 1 Epic Issue: #1815
- Phase 1 Specification PR: #1803
- Next steps reflecting completed actions
- Maintainer assignment (ashleyshaw)
Related: #1815 (Phase 1 Epic), #1803 (Specification PR)
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
…contrast
PR Template Updates:
- Add 'Linked Issues' section with resolution reference
- Add 'Changelog' section with Added/Documentation categories
- Add 'Definition of Done (DoD)' checklist for Phase 1 and Phase 2
- Complete all template requirements for design/feature PRs
Mermaid Diagram Updates:
- Add explicit text color to all Mermaid diagrams for WCAG contrast compliance
- Use color:#000 for light backgrounds, color:#fff for dark backgrounds (#81c784)
- Fix contrast on 6 diagrams: decision flow, data flow, repo-type branching, integration points, skills architecture, test coverage
Related: #1815 (Phase 1 Epic), #1803 (Specification PR)
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
All previous fixes committed:
- PR template updated with required sections
- Mermaid diagram color contrast fixed
- Branch name validation confirmed correct
Related: #1815, #1803
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
**Fixes applied:**
1. **Unified agent architecture clarity** — Clarified as two-stage orchestrator (Task Researcher → Task Planner) with shared core logic
2. **Read-only agent configuration** — Changed autofix from true to false for planning agent (read-only mode)
3. **Response property consistency** — Fixed test example to use single property name (clarifyingQuestions) throughout
4. **Repository type values** — Updated ASCII diagram and all references to use canonical names (wordpress-plugin, wordpress-theme) instead of abbreviations
5. **Agent Database removal** — Removed undefined "Agent Database" node from Diagram 4; skills now output directly to schemas
6. **Mermaid color contrast** — Fixed Cov node text color from #fff to #000 for WCAG 2.2 AA compliance on light green background
7. **Ownership definition** — Replaced "TBD" with "ashleyshaw" as primary maintainer for Phase 1 and lead for all roles
8. **Documentation inventory sync** — Updated README to list all 5 Phase 2 documentation files with status markers; aligned with CLARIFYING_QUESTIONS_AND_ANSWERS.md
9. **Agent structure canonicalization** — Updated README and Q3 with canonical two-agent structure: task-researcher-agent and task-planner-agent in separate folders with provider-specific subdirectories (claude/, copilot/, openai/)
10. **Skills and scripts clarity** — Documented all 5 core skills and 4 support scripts in both files consistently
**Files changed:**
- .github/projects/active/portable-task-planning-agents-2026-08-12/CLARIFYING_QUESTIONS_AND_ANSWERS.md (9 fixes)
- .github/projects/active/portable-task-planning-agents-2026-08-12/README.md (3 fixes)
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
…ls, and documentation
**Phase 2 Overview:**
- Duration: 5-6 weeks (2026-08-19 → 2026-09-30)
- Deliverables: 2 agents, 5 skills, 4 scripts, 80%+ test coverage, 5 docs
- 17 GitHub issues (1 epic + 16 component tasks)
- Weekly breakdown with critical path and resource allocation
**Key Sections:**
- Weekly breakdown (Weeks 1-6 deliverables and success criteria)
- Dependencies and critical path analysis
- Risk mitigation strategies (5 identified risks)
- Success metrics and validation criteria (quantitative + qualitative)
- 17 GitHub issue outlines (complete scope mapping)
**Next Steps:**
1. Create 17 GitHub issues (epic + 16 component tasks)
2. Link all issues to project with bidirectional references
3. Update project README with Related Issues section
4. Begin Phase 2 Week 1 implementation
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
**OpenSpec Integration:**
- Created openspec change: phase-2-task-planning-agents-implementation
- Proposal.md: WHY document (motivation, capabilities, impact)
- Design.md: HOW document (architecture decisions, technical approach, risks)
**Key Sections:**
- Proposal: Consolidate task planning agents from .github/agents/ to portable agents/
- Design: 6 architectural decisions with alternatives, risk mitigation, open questions
**Saved to:**
- openspec/changes/phase-2-task-planning-agents-implementation/ (primary)
- portable-task-planning-agents-2026-08-12/OPENSPEC_*.md (project folder copies)
**Next Steps:**
1. Create tasks artifact (GitHub issues)
2. Create specs artifact (capability specifications)
3. Begin Phase 2 implementation (Week 1: Aug 19)
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
…implementation
- Phase 1 specification complete with OpenSpec documentation
- Proposal.md and Design.md formally document WHY and HOW for Phase 2
- 17 GitHub issues created (epic #1838 + 14 component tasks)
- Project README updated with OpenSpec references
- Bidirectional linking established between project, GitHub issues, OpenSpec docs
- Phase 2 ready to begin (estimated 2026-08-19 after PR #1803 merges)
- Phase 1 specification complete with 6 architectural decisions
- OpenSpec proposal and design documents created
- 17 GitHub issues created (epic + 14 component tasks)
- Project README with bidirectional linking to GitHub issues
- Phase 2 implementation ready (estimated 2026-08-19)
@ashleyshaw
ashleyshawforce-pushed the design/portable-task-planning-agents-specification branch from 9105985 to 4891453CompareAugust 12, 2026 11:44
@ashleyshaw
ashleyshaw merged commit 80b3af7 into developAug 12, 2026
15 of 31 checks passed
@ashleyshaw
ashleyshaw deleted the design/portable-task-planning-agents-specification branch August 12, 2026 11:44
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:aiAI and automation systemsarea:documentationDocs & guideslang:mdMarkdown content/docsmeta:needs-changelogRequires a changelog entry before mergepriority:normalDefault prioritystatus:needs-reviewAwaiting code reviewtype:designDesign work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Phase 1: Portable Task Planning Agents — Specification & Design

1 participant

@ashleyshaw