Focus — Phoenix Agentic Engine Interface
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:
.github/instructions/interface-private-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-Engine-Interface", issueNumber=<N>, labels=["task", "set:status:in-progress", "set:area:<area>"])
Valid Interface areas: sdk-client, sdk-core, contracts, tests, 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-Engine-Interface", 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-Engine-Interface", 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. An Interface Feature can be a sub-issue of a Backend or Engine 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 Interface SDK repo (TypeScript contracts + client). Related repos:
- Engine:
rivie13/Phoenix-Agentic-Engine
- Backend:
rivie13/Phoenix-Agentic-Engine-Backend
Both Engine and Backend depend on this repo's contracts. Changes here may require updates in both.
Project board
Reference docs
- Full workflow:
.github/docs/PROJECT_WORKFLOW.md — Ralph Loop, issue hierarchy, cloud agent flow
- Roadmap:
docs/ENGINE_MIGRATION_0.2.0-rc.1.md
Privacy rules
This repo is public. When writing issue/PR comments or board fields:
- 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 Engine Interface78## 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-Engine-Interface`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 - `.github/instructions/interface-private-roadmap.instructions.md`363. Check the project board for items in "Ready" (and only use Backlog if explicitly requested)374. Recommend the highest-priority unblocked task based on phase order and dependencies385. Ask user to confirm assignment396. Create a GitHub issue if one doesn't exist407. Move the issue to **In Progress** and set its Area on the project board using signal labels:41 ```42 mcp_github_github_issue_write(method="update", owner="rivie13", repo="Phoenix-Agentic-Engine-Interface", issueNumber=<N>, labels=["task", "set:status:in-progress", "set:area:<area>"])43 ```44 Valid Interface areas: `sdk-client`, `sdk-core`, `contracts`, `tests`, `docs`, `ci`4546### Update checkpoint (user says "save progress", "checkpoint", "update task")47481. Read the active board issue and latest PR/comment context492. Ask what was accomplished and what's next503. Post/update concise progress in issue/PR comments and board status fields5152### Complete task (user says "task done", "finished", "close task")53541. Read active board issue and verify acceptance criteria are met552. **Close the GitHub issue** — do NOT rely solely on `Closes #N` in the PR body. Explicitly close it:56 ```57 mcp_github_github_issue_write(method="update", owner="rivie13", repo="Phoenix-Agentic-Engine-Interface", issueNumber=<N>, state="closed", stateReason="completed")58 ```593. **Close related sub-issues** — list sub-issues of the current issue and verify each completed one is closed:60 ```61 mcp_github_github_issue_read(owner="rivie13", repo="Phoenix-Agentic-Engine-Interface", issueNumber=<PARENT_N>)62 ```63 For each sub-issue whose work is merged/done, close it explicitly if still open:64 ```65 mcp_github_github_issue_write(method="update", owner="rivie13", repo="<SUB_ISSUE_REPO>", issueNumber=<SUB_N>, state="closed", stateReason="completed")66 ```674. **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.685. Move the issue/epic to "Done" on the project board696. Report completion and await/confirm next assignment7071> **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.7273### Assign to Copilot cloud agent (user says "assign to copilot", "cloud agent this")74751. Confirm the issue is well-scoped with clear acceptance criteria762. **Move the issue to "Ready" status on the project board** (required — the workflow rejects non-Ready issues)773. Add the `cloud-agent` label to the issue784. The `cloud-agent-assign.yml` workflow will:79 - Verify the issue is in Ready status (rejects Backlog / No Status / other)80 - Assign @copilot to the issue81 - Update board Status → **In Progress** automatically82 - Update board Work mode → **Cloud Agent** automatically835. Ensure board status/work mode reflect cloud delegation and link the issue/PR context8485> **Do NOT** add the `cloud-agent` label to issues in Backlog — the workflow will remove the label and post a rejection comment.8687## Issue hierarchy8889Use sub-issues for structured work. See `.github/docs/PROJECT_WORKFLOW.md` for full details.9091- **Epic** (label: `epic`) — Multi-repo milestone, spans weeks–months92- **Feature** (label: `feature`) — Single-repo deliverable, days–weeks93- **Task** (label: `task`) — Single PR unit of work, hours–days9495Sub-issues can cross repos. An Interface Feature can be a sub-issue of a Backend or Engine Epic.9697### Issue–branch mapping9899| Issue type | Label | Branch pattern | PR target |100|---|---|---|---|101| Epic | `epic` | `feature/<topic>` | `main` |102| Task | `task` | `subfeature/task/<description>` | `feature/<topic>` |103| Bug | `bug` | `subfeature/bugfix/<description>` | `feature/<topic>` |104| Refactor | `refactor` | `subfeature/refactor/<description>` | `feature/<topic>` |105| Test | `test` | `subfeature/test/<description>` | `feature/<topic>` |106| Docs | `docs` | `subfeature/docs/<description>` | `feature/<topic>` |107| Chore | `chore` | `subfeature/chore/<description>` | `feature/<topic>` |108109When executing an assigned task, identify which `feature/*` branch it belongs to and create the subfeature branch from there.110111## Cross-repo awareness112113This is the **Interface SDK** repo (TypeScript contracts + client). Related repos:114- Engine: `rivie13/Phoenix-Agentic-Engine`115- Backend: `rivie13/Phoenix-Agentic-Engine-Backend`116117Both Engine and Backend depend on this repo's contracts. Changes here may require updates in both.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- **Roadmap:** `docs/ENGINE_MIGRATION_0.2.0-rc.1.md`128129## Privacy rules130131This repo is **public**. When writing issue/PR comments or board fields:132- Do NOT include API keys, secrets, or credentials133- Do NOT include private strategy details134- Keep descriptions technical and public-safe