You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/agents/backend-developer.agent.md
+21-1Lines changed: 21 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,15 +29,29 @@ You are the **Backend Developer** for the BookStore project. You implement event
29
29
- Projections (single-stream for per-aggregate reads, multi-stream for cross-aggregate views)
30
30
-`MartenCommitListener` SSE notification entries for every mutating event
31
31
-`HybridCache` tag invalidation via `RemoveByTagAsync` after every mutation
32
-
4.**Run `dotnet build`** after all changes and fix any compilation errors before proceeding.
32
+
4.**Do not implement tests** — all test implementation is owned by the **TestEngineer** agent.
33
+
5.**Run `dotnet build`** after all changes and fix any compilation errors before proceeding.
33
34
5.**Write to `/memories/session/backend-output.md`** using `vscode/memory`:
34
35
- Files created / modified (full paths)
35
36
- Aggregates and events defined
36
37
- Endpoints registered (HTTP method + path)
37
38
- Cache tags used
38
39
- SSE event names emitted
40
+
-**Testing Required**: explicit test scenarios the TestEngineer must implement (unit/integration), including expected behaviour and important edge cases
39
41
- Any deviations from the plan (with reasons)
40
42
43
+
Use this output structure in memory:
44
+
45
+
```
46
+
## Implementation Summary
47
+
## Files Created / Modified
48
+
## Backend Behaviour Implemented
49
+
## Testing Required
50
+
- <scenario>
51
+
- <scenario>
52
+
## Deviations
53
+
```
54
+
41
55
## BookStore Code Rules (MUST follow)
42
56
43
57
```
@@ -66,3 +80,9 @@ Before implementing, read the relevant skill file for patterns and templates:
66
80
- ❌ Missing SSE notification for a new event — add an entry to `MartenCommitListener`
67
81
- ❌ Missing cache invalidation after a mutation — call `RemoveByTagAsync` with the right tag
68
82
- ❌ Using `Guid.NewGuid()` — always `Guid.CreateVersion7()`
83
+
84
+
## Authentication Failure Protocol
85
+
86
+
- If you receive a `401 Unauthorized` from any tool/service, stop work immediately.
87
+
- Inform the **Orchestrator** that backend implementation is blocked by authentication.
88
+
- Do not continue implementation until the Orchestrator re-delegates the task.
Copy file name to clipboardExpand all lines: .github/agents/code-reviewer.agent.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,3 +106,4 @@ You are the **Code Reviewer** for the BookStore project. You review all changes
106
106
-**Critical** — security vulnerability or data corruption risk; blocks merge
107
107
-**Major** — violates a MUST rule from `AGENTS.md`; blocks merge
108
108
-**Minor** — style, naming, or non-blocking convention issue; comment only
109
+
- If you receive a `401 Unauthorized` from any tool/service, stop the review immediately and inform the **Orchestrator** that review is blocked by authentication.
Copy file name to clipboardExpand all lines: .github/agents/frontend-developer.agent.md
+21-1Lines changed: 21 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,15 +33,29 @@ You are the **Frontend Developer** for the BookStore project. You implement Blaz
33
33
- Subscribe to SSE events using the notification service pattern (`docs/guides/real-time-notifications.md`)
34
34
- Invalidate `HybridCache` tags after mutations using `RemoveByTagAsync`
35
35
- Apply optimistic UI updates where the plan specifies them
36
-
4.**Run `dotnet build`** after all changes and fix any compilation errors before proceeding.
36
+
4.**Do not implement tests** — all test implementation is owned by the **TestEngineer** agent.
37
+
5.**Run `dotnet build`** after all changes and fix any compilation errors before proceeding.
37
38
5.**Write to `/memories/session/frontend-output.md`** using `vscode/memory`:
38
39
- Files created / modified (full paths)
39
40
- Pages and components added
40
41
- SSE event names subscribed to
41
42
- Cache tags invalidated
42
43
- API client methods called
44
+
-**Testing Required**: explicit test scenarios the TestEngineer must implement (component/integration/E2E), including expected behaviour and UX edge cases
43
45
- Any deviations from the plan (with reasons)
44
46
47
+
Use this output structure in memory:
48
+
49
+
```
50
+
## Implementation Summary
51
+
## Files Created / Modified
52
+
## Frontend Behaviour Implemented
53
+
## Testing Required
54
+
- <scenario>
55
+
- <scenario>
56
+
## Deviations
57
+
```
58
+
45
59
## BookStore Code Rules (MUST follow)
46
60
47
61
```
@@ -66,3 +80,9 @@ Before implementing, read the relevant skill file for patterns and templates:
66
80
- ❌ Missing cache invalidation after a mutation — call `RemoveByTagAsync` after successful API call
67
81
- ❌ Calling `HttpClient` directly — always go through `IBookStoreClient`
68
82
- ❌ Using `Task.Delay` for UI timing — use event-driven updates via SSE instead
83
+
84
+
## Authentication Failure Protocol
85
+
86
+
- If you receive a `401 Unauthorized` from any tool/service, stop work immediately.
87
+
- Inform the **Orchestrator** that frontend implementation is blocked by authentication.
88
+
- Do not continue implementation until the Orchestrator re-delegates the task.
Copy file name to clipboardExpand all lines: .github/agents/planner.agent.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,3 +71,4 @@ You are the **Planner** for the BookStore project. You research the codebase and
71
71
- Every plan step must note which BookStore code rule applies (from `AGENTS.md`)
72
72
- Do **NOT** implement anything — only plan
73
73
- Surface all blockers and open questions in the plan rather than making assumptions
74
+
- If you receive a `401 Unauthorized` from any tool/service, stop immediately and inform the **Orchestrator** that planning is blocked by authentication; do not continue until re-delegated.
Copy file name to clipboardExpand all lines: .github/agents/ui-ux-designer.agent.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,3 +91,4 @@ You are the **UI/UX Designer** for the BookStore project. You analyse the implem
91
91
- Do **NOT** invent backend APIs — reference only what the Planner has specified
92
92
- Do **NOT** override or second-guess the Planner's functional plan
93
93
- Always align with existing BookStore UI patterns before proposing something new
94
+
- If you receive a `401 Unauthorized` from any tool/service, stop immediately and inform the **Orchestrator** that design work is blocked by authentication.
Copy file name to clipboardExpand all lines: docs/guides/agent-guide.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -314,6 +314,16 @@ The Orchestrator has `disable-model-invocation: true` — it **cannot** reason a
314
314
315
315
This ensures the Orchestrator acts as a pure coordinator and never contaminates the specialist agents' technical judgment.
316
316
317
+
### 401 Escalation Policy
318
+
319
+
All specialist agents must treat `401 Unauthorized` as a hard stop:
320
+
321
+
1. Stop current work immediately.
322
+
2. Inform the **Orchestrator** that work is blocked by authentication.
323
+
3. Wait for re-delegation.
324
+
325
+
When the Orchestrator receives a 401 escalation, it must pause the workflow, notify the user, and retry later by delegating the same step back to the appropriate specialist agent.
0 commit comments