Focus — Phoenix Agentic Website Frontend
Mandatory first step
Always read board state first (single source of truth):
Workflows
Resume (user says "resume", "what am I working on?", or starts a new session)
- Read board items for this repo in
In Progress (and, if needed, Ready)
- If an in-progress item exists: summarize in 3 lines — what, current state, next step
- If no active item: say "No active assigned board task" and ask for assignment source/intent
Confirm assigned task (dispatcher/local/cloud assignment)
- Read assignment input from prompt/context (dispatcher payload, direct user-assigned issue, or cloud assignment)
- Validate assignment against board state and verify lock/dependency fields (
Area, Depends On, Lock Key, Needed Files)
- Study assignment context (issue body, acceptance criteria, linked comments/PRs) before implementation
- Confirm branch target and execution mode (Local IDE / CLI / Cloud)
- If assignment is valid, proceed and post checkpoints during execution
Pick next task (fallback only; user explicitly asks)
- Confirm there is no conflicting in-progress work for this repo on the board
- Read the roadmap docs:
docs/IMPLEMENTATION_PLAN.md
.github/instructions/website-frontend-roadmap.instructions.md
- Check the project board for items in "Ready" (and only use Backlog if explicitly requested)
- Recommend the highest-priority unblocked task based on phase order and dependencies
- Ask user to confirm assignment
- Create a GitHub issue if one doesn't exist
- Move the issue to In Progress and set its Area on the project board using signal labels:
mcp_github_github_issue_write(method="update", owner="rivie13", repo="Phoenix-Agentic-Website-Frontend", issueNumber=<N>, labels=["task", "set:status:in-progress", "set:area:<area>"])
Valid Website Frontend areas: app-pages, components, content, public, contracts, docs, ci
Update checkpoint (user says "save progress", "checkpoint", "update task")
- Read the active board issue and latest PR/comment context
- Ask what was accomplished and what's next
- Post/update concise progress in issue/PR comments and board status fields
Complete task (user says "task done", "finished", "close task")
- Read active board issue and verify acceptance criteria are met
- Close the GitHub issue — do NOT rely solely on
Closes #N in the PR body. Explicitly close it:mcp_github_github_issue_write(method="update", owner="rivie13", repo="Phoenix-Agentic-Website-Frontend", issueNumber=<N>, state="closed", stateReason="completed")
- Close related sub-issues — list sub-issues of the current issue and verify each completed one is closed:
mcp_github_github_issue_read(owner="rivie13", repo="Phoenix-Agentic-Website-Frontend", issueNumber=<PARENT_N>)
For each sub-issue whose work is merged/done, close it explicitly if still open:mcp_github_github_issue_write(method="update", owner="rivie13", repo="<SUB_ISSUE_REPO>", issueNumber=<SUB_N>, state="closed", stateReason="completed")
- Check parent epic — if this issue was a sub-issue of an epic, read the parent epic and check whether all sibling sub-issues are now closed. If all are done, close the parent epic too.
- Move the issue/epic to "Done" on the project board
- Report completion and await/confirm next assignment
Why explicit closing? GitHub's Closes #N auto-close only works when the PR merges into the repo's default branch. Subfeature PRs that merge into a feature/* branch will NOT auto-close their linked issues. Always close issues explicitly via MCP tools.
Assign to Copilot cloud agent (user says "assign to copilot", "cloud agent this")
- Confirm the issue is well-scoped with clear acceptance criteria
- Move the issue to "Ready" status on the project board (required — the workflow rejects non-Ready issues)
- Add the
cloud-agent label to the issue
- The
cloud-agent-assign.yml workflow will:
- Verify the issue is in Ready status (rejects Backlog / No Status / other)
- Assign @copilot to the issue
- Update board Status → In Progress automatically
- Update board Work mode → Cloud Agent automatically
- Ensure board status/work mode reflect cloud delegation and link the issue/PR context
Do NOT add the cloud-agent label to issues in Backlog — the workflow will remove the label and post a rejection comment.
Issue hierarchy
Use sub-issues for structured work. See .github/docs/PROJECT_WORKFLOW.md for full details.
- Epic (label:
epic) — Multi-repo milestone, spans weeks–months
- Feature (label:
feature) — Single-repo deliverable, days–weeks
- Task (label:
task) — Single PR unit of work, hours–days
Sub-issues can cross repos. A Frontend Feature can be a sub-issue of a cross-repo Epic.
Issue–branch mapping
| Issue type |
Label |
Branch pattern |
PR target |
| Epic |
epic |
feature/<topic> |
main |
| Task |
task |
subfeature/task/<description> |
feature/<topic> |
| Bug |
bug |
subfeature/bugfix/<description> |
feature/<topic> |
| Refactor |
refactor |
subfeature/refactor/<description> |
feature/<topic> |
| Test |
test |
subfeature/test/<description> |
feature/<topic> |
| Docs |
docs |
subfeature/docs/<description> |
feature/<topic> |
| Chore |
chore |
subfeature/chore/<description> |
feature/<topic> |
When executing an assigned task, identify which feature/* branch it belongs to and create the subfeature branch from there.
Cross-repo awareness
This is the Website Frontend repo (public Next.js site). Related repos:
- Website Backend:
rivie13/Phoenix-Agentic-Website-Backend
The frontend communicates with the website backend via API. Changes to API contracts may affect both repos.
Project board
Reference docs
- Full workflow:
.github/docs/PROJECT_WORKFLOW.md — Ralph Loop, issue hierarchy, cloud agent flow
- Dispatcher + QA pilot plan:
.github/docs/DISPATCHER_QA_PILOT_PLAN.md — docs-first sequencing and target status model
- Roadmap:
docs/IMPLEMENTATION_PLAN.md
Privacy rules
This repo is public. In board/issue/PR updates:
- Do NOT include API keys, secrets, or credentials
- Do NOT include private strategy details
- Keep descriptions technical and public-safe
1---2name: focus3description: Resume assigned work, confirm active task context, update checkpoints, or complete assigned tasks. Use when user says resume, what am I working on, task done, update checkpoint, what's my focus, or starts a new session.4---56# Focus — Phoenix Agentic Website Frontend78## Mandatory first step910Always read board state first (single source of truth):1112- Project board: https://github.com/users/rivie13/projects/313- Repository: `rivie13/Phoenix-Agentic-Website-Frontend`1415## Workflows1617### Resume (user says "resume", "what am I working on?", or starts a new session)18191. Read board items for this repo in `In Progress` (and, if needed, `Ready`)202. If an in-progress item exists: summarize in 3 lines — what, current state, next step213. If no active item: say "No active assigned board task" and ask for assignment source/intent2223### Confirm assigned task (dispatcher/local/cloud assignment)24251. Read assignment input from prompt/context (dispatcher payload, direct user-assigned issue, or cloud assignment)262. Validate assignment against board state and verify lock/dependency fields (`Area`, `Depends On`, `Lock Key`, `Needed Files`)273. Study assignment context (issue body, acceptance criteria, linked comments/PRs) before implementation284. Confirm branch target and execution mode (Local IDE / CLI / Cloud)295. If assignment is valid, proceed and post checkpoints during execution3031### Pick next task (fallback only; user explicitly asks)32331. Confirm there is no conflicting in-progress work for this repo on the board342. Read the roadmap docs:35 - `docs/IMPLEMENTATION_PLAN.md`36 - `.github/instructions/website-frontend-roadmap.instructions.md`373. Check the project board for items in "Ready" (and only use Backlog if explicitly requested)384. Recommend the highest-priority unblocked task based on phase order and dependencies395. Ask user to confirm assignment406. Create a GitHub issue if one doesn't exist417. Move the issue to **In Progress** and set its Area on the project board using signal labels:42 ```43 mcp_github_github_issue_write(method="update", owner="rivie13", repo="Phoenix-Agentic-Website-Frontend", issueNumber=<N>, labels=["task", "set:status:in-progress", "set:area:<area>"])44 ```45 Valid Website Frontend areas: `app-pages`, `components`, `content`, `public`, `contracts`, `docs`, `ci`4647### Update checkpoint (user says "save progress", "checkpoint", "update task")48491. Read the active board issue and latest PR/comment context502. Ask what was accomplished and what's next513. Post/update concise progress in issue/PR comments and board status fields5253### Complete task (user says "task done", "finished", "close task")54551. Read active board issue and verify acceptance criteria are met562. **Close the GitHub issue** — do NOT rely solely on `Closes #N` in the PR body. Explicitly close it:57 ```58 mcp_github_github_issue_write(method="update", owner="rivie13", repo="Phoenix-Agentic-Website-Frontend", issueNumber=<N>, state="closed", stateReason="completed")59 ```603. **Close related sub-issues** — list sub-issues of the current issue and verify each completed one is closed:61 ```62 mcp_github_github_issue_read(owner="rivie13", repo="Phoenix-Agentic-Website-Frontend", issueNumber=<PARENT_N>)63 ```64 For each sub-issue whose work is merged/done, close it explicitly if still open:65 ```66 mcp_github_github_issue_write(method="update", owner="rivie13", repo="<SUB_ISSUE_REPO>", issueNumber=<SUB_N>, state="closed", stateReason="completed")67 ```684. **Check parent epic** — if this issue was a sub-issue of an epic, read the parent epic and check whether all sibling sub-issues are now closed. If all are done, close the parent epic too.695. Move the issue/epic to "Done" on the project board706. Report completion and await/confirm next assignment7172> **Why explicit closing?** GitHub's `Closes #N` auto-close only works when the PR merges into the repo's *default branch*. Subfeature PRs that merge into a `feature/*` branch will NOT auto-close their linked issues. Always close issues explicitly via MCP tools.7374### Assign to Copilot cloud agent (user says "assign to copilot", "cloud agent this")75761. Confirm the issue is well-scoped with clear acceptance criteria772. **Move the issue to "Ready" status on the project board** (required — the workflow rejects non-Ready issues)783. Add the `cloud-agent` label to the issue794. The `cloud-agent-assign.yml` workflow will:80 - Verify the issue is in Ready status (rejects Backlog / No Status / other)81 - Assign @copilot to the issue82 - Update board Status → **In Progress** automatically83 - Update board Work mode → **Cloud Agent** automatically845. Ensure board status/work mode reflect cloud delegation and link the issue/PR context8586> **Do NOT** add the `cloud-agent` label to issues in Backlog — the workflow will remove the label and post a rejection comment.8788## Issue hierarchy8990Use sub-issues for structured work. See `.github/docs/PROJECT_WORKFLOW.md` for full details.9192- **Epic** (label: `epic`) — Multi-repo milestone, spans weeks–months93- **Feature** (label: `feature`) — Single-repo deliverable, days–weeks94- **Task** (label: `task`) — Single PR unit of work, hours–days9596Sub-issues can cross repos. A Frontend Feature can be a sub-issue of a cross-repo Epic.9798### Issue–branch mapping99100| Issue type | Label | Branch pattern | PR target |101|---|---|---|---|102| Epic | `epic` | `feature/<topic>` | `main` |103| Task | `task` | `subfeature/task/<description>` | `feature/<topic>` |104| Bug | `bug` | `subfeature/bugfix/<description>` | `feature/<topic>` |105| Refactor | `refactor` | `subfeature/refactor/<description>` | `feature/<topic>` |106| Test | `test` | `subfeature/test/<description>` | `feature/<topic>` |107| Docs | `docs` | `subfeature/docs/<description>` | `feature/<topic>` |108| Chore | `chore` | `subfeature/chore/<description>` | `feature/<topic>` |109110When executing an assigned task, identify which `feature/*` branch it belongs to and create the subfeature branch from there.111112## Cross-repo awareness113114This is the **Website Frontend** repo (public Next.js site). Related repos:115- Website Backend: `rivie13/Phoenix-Agentic-Website-Backend`116117The frontend communicates with the website backend via API. Changes to API contracts may affect both repos.118119## Project board120121- **Board URL:** https://github.com/users/rivie13/projects/3122- **Columns:** Backlog → Ready → In Progress → In Review → Done123124## Reference docs125126- **Full workflow:** `.github/docs/PROJECT_WORKFLOW.md` — Ralph Loop, issue hierarchy, cloud agent flow127- **Dispatcher + QA pilot plan:** `.github/docs/DISPATCHER_QA_PILOT_PLAN.md` — docs-first sequencing and target status model128- **Roadmap:** `docs/IMPLEMENTATION_PLAN.md`129130## Privacy rules131132This repo is **public**. In board/issue/PR updates:133- Do NOT include API keys, secrets, or credentials134- Do NOT include private strategy details135- Keep descriptions technical and public-safe