Skip to content

Commit f1d9a98

Browse files
committed
docs: switch session-log instructions from entry to turn
1 parent e10cc85 commit f1d9a98

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/copilot-instructions.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
# Copilot Instructions — GrapghRAG
22

3-
See `AGENTS-README-FIRST.yaml` in the workspace root for MCP server connection details, session logging procedures, and agent conduct guidelines.
3+
For specific operational instructions (session bootstrap, session log turn workflow, and helper command sequence), follow `AGENTS-README-FIRST.yaml`.
4+
5+
**Agent Identity:** When posting to the MCP session log, use `sourceType: copilotcli`.
6+

AGENTS.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ Before doing ANY work on ANY user request, you MUST complete these steps in orde
88

99
1. **Read `AGENTS-README-FIRST.yaml`** in the repo root for the current API key and endpoints
1010
2. **GET `/health`** to verify the MCP server is running
11-
3. **POST `/mcp/sessionlog`** with your session entry — do NOT proceed until this succeeds
11+
3. **POST `/mcp/sessionlog`** with your session turn — do NOT proceed until this succeeds
1212
4. **GET `/mcp/sessionlog?limit=5`** to review recent session history for context
1313
5. **GET `/mcp/todo`** to check current tasks
1414
6. **THEN** begin working on the user's request
1515

1616
On EVERY subsequent user message:
17-
1. POST an updated session log entry BEFORE starting work
18-
2. Complete the user's request
19-
3. POST the final session log with results, actions taken, and files modified
17+
1. Post a new session log turn (`Add-McpSessionTurn`) before starting work.
18+
2. Complete the user's request.
19+
3. Update the turn with results (`Response`) and actions (`Add-McpAction`) when done.
2020

2121
**If you skip any of these steps, STOP and go back and do them before continuing.**
2222
Session logging is not optional, not deferred, and not secondary to the task.
23-
Failure to maintain the session log is a compliance violation.
23+
Failure to maintain the session log is a compliance violation.

0 commit comments

Comments
 (0)