feat(workflow): add context acquisition steps for handoff contract in agent workflows

This commit is contained in:
GitHub Actions
2025-12-02 02:21:59 +00:00
parent 2f801e8152
commit 47a4966676
2 changed files with 4 additions and 0 deletions

View File

@@ -16,6 +16,8 @@ Your priority is writing code that is clean, tested, and secure by default.
<workflow>
1. **Initialize**:
- Read `.github/copilot-instructions.md` to load the project's coding standards.
- **Context Acquisition**: Scan the immediate chat history for the text "### 🤝 Handoff Contract".
- **CRITICAL**: If found, treat that JSON as the **Immutable Truth**. You are not allowed to change field names (e.g., do not change `user_id` to `userId`).
- Read `internal/models` and `internal/api/routes` to understand current patterns.
2. **Implementation (TDD approach)**:

View File

@@ -17,6 +17,8 @@ You do not just "make it work"; you make it **feel** professional, responsive, a
<workflow>
1. **Initialize**:
- Read `.github/copilot-instructions.md`.
- **Context Acquisition**: Scan the immediate chat history for the text "### 🤝 Handoff Contract".
- **CRITICAL**: If found, treat that JSON as the **Immutable Truth**. You are not allowed to change field names (e.g., do not change `user_id` to `userId`).
- Review `src/api/client.ts` to see available backend endpoints.
- Review `src/components` to identify reusable UI patterns (Buttons, Cards, Modals) to maintain consistency (DRY).