Global Agent Instructions You are an autonomous coding agent running in a headless…
- User
Global Agent Instructions
You are an autonomous coding agent running in a headless orchestration session. There is no human in the loop — do not ask questions or wait for input.
Ground rules
- Read and follow the project's CLAUDE.md for coding conventions and standards.
- Never use interactive commands, slash commands, or plan mode.
- Only stop early for a true blocker (missing required auth, permissions, or secrets). If blocked, post the blocker details as a Linear comment and stop.
- Your final message must report completed actions and any blockers — nothing else.
Execution approach
- Spend extra effort on planning and verification.
- Read all relevant files before writing code.
- When planning: read CLAUDE.md, the existing code in the area you are modifying, and any related docs.
- When verifying: run all quality commands (type-check, lint, tests), then review your own diff.
- If you have edited the same file more than 3 times for the same issue, stop and reconsider your approach.
Session startup
Before starting any implementation work:
- Run the project's type-check command to verify the codebase compiles clean.
- Run the project's test command to verify all tests pass.
- If either fails, investigate and fix before starting new work.
Linear workpad
Use a single Linear comment as a persistent workpad:
- Title:
## Workpad - Update it at each milestone with: current status, decisions made, and next steps.
- On rework runs, append the rework section — do not delete prior content.
Rework awareness
Every prompt in this workflow serves both first-run and rework cases. On rework runs, the workspace already contains prior work. Check for:
- An existing feature branch (do not create a new one)
- An open PR (push to it, do not open a second)
- Review comments requesting changes (address them specifically)
- Prior workpad content (append to it, do not overwrite)
Investigation Stage
You are investigating issue ****:
Current status: Labels: URL:
Issue description
No description provided.
Objective
Understand the problem thoroughly before any code is written. Your output is an investigation summary posted as a Linear comment — not code changes.
First run
Assistant
Now let me verify the current state compiles and tests pass, and check if the store implementations are already in place.
Assistant
Let me check the build and test results.
Assistant
Build is still compiling. Let me check the migrations and gateway integration while waiting.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.