Skip to content

Commit 5be9fe0

Browse files
committed
Updated AGENTS.md
1 parent 74a476e commit 5be9fe0

8 files changed

Lines changed: 15 additions & 52 deletions

File tree

.agents/skills/speckit-plan/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ You **MUST** consider the user input before proceeding (if not empty).
6262
- Evaluate gates (ERROR if violations unjustified)
6363
- Phase 0: Generate research.md (resolve all NEEDS CLARIFICATION)
6464
- Phase 1: Generate data-model.md, contracts/, quickstart.md
65-
- Phase 1: Update agent context by running the agent script
65+
- Phase 1: Leave repository and agent instruction files unchanged; keep feature context in the plan artifacts
6666
- Re-evaluate Constitution Check post-design
6767
6868
4. **Stop and report**: Command ends after Phase 2 planning. Report branch, IMPL_PLAN path, and generated artifacts.

.claude/skills/speckit-plan/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ You **MUST** consider the user input before proceeding (if not empty).
6363
- Evaluate gates (ERROR if violations unjustified)
6464
- Phase 0: Generate research.md (resolve all NEEDS CLARIFICATION)
6565
- Phase 1: Generate data-model.md, contracts/, quickstart.md
66-
- Phase 1: Update agent context by running the agent script
66+
- Phase 1: Leave repository and agent instruction files unchanged; keep feature context in the plan artifacts
6767
- Re-evaluate Constitution Check post-design
6868
6969
4. **Stop and report**: Command ends after Phase 2 planning. Report branch, IMPL_PLAN path, and generated artifacts.

.github/agents/speckit.plan.agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ You **MUST** consider the user input before proceeding (if not empty).
3030
- Evaluate gates (ERROR if violations unjustified)
3131
- Phase 0: Generate research.md (resolve all NEEDS CLARIFICATION)
3232
- Phase 1: Generate data-model.md, contracts/, quickstart.md
33-
- Phase 1: Update agent context by running the agent script
33+
- Phase 1: Leave repository and agent instruction files unchanged; keep feature context in the plan artifacts
3434
- Re-evaluate Constitution Check post-design
3535

3636
4. **Stop and report**: Command ends after Phase 2 planning. Report branch, IMPL_PLAN path, and generated artifacts.

.specify/integrations/claude.manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
".claude/skills/speckit-clarify/SKILL.md": "1a77bd8c24d8dcfa8a883185480ef8a1ee0b68e4059ebe6dac3e66e872407ea5",
99
".claude/skills/speckit-constitution/SKILL.md": "86fd32ace9f5e99b44c6247629f2ef2ddec707459182870b65541e9def309f98",
1010
".claude/skills/speckit-implement/SKILL.md": "bba51e30382cdfab8ef97ba924b7a7b879e0a5ac6733e97f14234e5e188ee42b",
11-
".claude/skills/speckit-plan/SKILL.md": "e4b7e372a06a987bb20d2142aea40460525363c2ad89a65fc050a67d6bb45eec",
11+
".claude/skills/speckit-plan/SKILL.md": "f75c339c468a12eeca8ba4a3a3bcc9b3466c2f48e3de25d9c23abdd7bcab4f45",
1212
".claude/skills/speckit-specify/SKILL.md": "69ac96ba89ae6832c67e4c8c75393b7d50ef5a75c766e0261205040e9d3a4850",
1313
".claude/skills/speckit-tasks/SKILL.md": "67c4419fc40299c9ebd68f677fad362dac7de1041df1bfe14b1d4e5e0adade9d",
1414
".claude/skills/speckit-taskstoissues/SKILL.md": "8a8052fd7489424f9d62cc809042b2a2968ccb231466757aeca5bf47d5747222",
15-
".specify/integrations/claude/scripts/update-context.ps1": "8bce5081fe27ebf414d4eaf127d91b5540b00d24dde4fe1e303e8eb26ad5211a",
16-
".specify/integrations/claude/scripts/update-context.sh": "21a5aa3fc644f693a29d35975ce21e5a949cdc1d0258b11c21940754c3644fa6"
15+
".specify/integrations/claude/scripts/update-context.ps1": "e97ba404738b7f5da9f7912b6392e53ac28afa51cf4f925f6c67e01d29b1dde5",
16+
".specify/integrations/claude/scripts/update-context.sh": "c11f50a2744b0339cc21b886c7bd10e916fbfe876123eb99ec903af083145f43"
1717
}
1818
}
Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,5 @@
1-
# update-context.ps1 — Claude Code integration: create/update CLAUDE.md
2-
#
3-
# Thin wrapper that delegates to the shared update-agent-context script.
4-
# Activated in Stage 7 when the shared script uses integration.json dispatch.
5-
#
6-
# Until then, this delegates to the shared script as a subprocess.
1+
# Retained as a Claude integration compatibility entry point.
2+
# Plan-derived agent context generation is intentionally disabled.
73

84
$ErrorActionPreference = 'Stop'
9-
10-
# Derive repo root from script location (walks up to find .specify/)
11-
$scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Definition
12-
$repoRoot = try { git rev-parse --show-toplevel 2>$null } catch { $null }
13-
# If git did not return a repo root, or the git root does not contain .specify,
14-
# fall back to walking up from the script directory to find the initialized project root.
15-
if (-not $repoRoot -or -not (Test-Path (Join-Path $repoRoot '.specify'))) {
16-
$repoRoot = $scriptDir
17-
$fsRoot = [System.IO.Path]::GetPathRoot($repoRoot)
18-
while ($repoRoot -and $repoRoot -ne $fsRoot -and -not (Test-Path (Join-Path $repoRoot '.specify'))) {
19-
$repoRoot = Split-Path -Parent $repoRoot
20-
}
21-
}
22-
23-
& "$repoRoot/.specify/scripts/powershell/update-agent-context.ps1" -AgentType claude
5+
Write-Output 'Plan-derived agent context generation is disabled; maintain AGENTS.md directly.'
Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,8 @@
11
#!/usr/bin/env bash
2-
# update-context.sh — Claude Code integration: create/update CLAUDE.md
3-
#
4-
# Thin wrapper that delegates to the shared update-agent-context script.
5-
# Activated in Stage 7 when the shared script uses integration.json dispatch.
6-
#
7-
# Until then, this delegates to the shared script as a subprocess.
82

9-
set -euo pipefail
3+
# Retained as a Claude integration compatibility entry point.
4+
# Plan-derived agent context generation is intentionally disabled.
105

11-
# Derive repo root from script location (walks up to find .specify/)
12-
_script_dir="$(cd "$(dirname "$0")" && pwd)"
13-
_root="$_script_dir"
14-
while [ "$_root" != "/" ] && [ ! -d "$_root/.specify" ]; do _root="$(dirname "$_root")"; done
15-
if [ -z "${REPO_ROOT:-}" ]; then
16-
if [ -d "$_root/.specify" ]; then
17-
REPO_ROOT="$_root"
18-
else
19-
git_root="$(git rev-parse --show-toplevel 2>/dev/null || true)"
20-
if [ -n "$git_root" ] && [ -d "$git_root/.specify" ]; then
21-
REPO_ROOT="$git_root"
22-
else
23-
REPO_ROOT="$_root"
24-
fi
25-
fi
26-
fi
6+
set -euo pipefail
277

28-
exec "$REPO_ROOT/.specify/scripts/bash/update-agent-context.sh" claude
8+
echo "Plan-derived agent context generation is disabled; maintain AGENTS.md directly."

.specify/integrations/codex.manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
".agents/skills/speckit-clarify/SKILL.md": "a429d1af7bf00c65c6be2766a11c2571e9d18ede2b77ec4fd538db4d5ec242d1",
99
".agents/skills/speckit-constitution/SKILL.md": "7310adee465ee6a439a689518e6c133ce851d808c7a6e64d66f659ad8b4bd56e",
1010
".agents/skills/speckit-implement/SKILL.md": "b39c4de2e794a96302cd36cc7b6796711aee0f3bcedba0d0c01ccf3b1036f898",
11-
".agents/skills/speckit-plan/SKILL.md": "1cd13274eb35a18d87e6f43bc69801910437ce9543286b13f87c4e3cbc33b9d8",
11+
".agents/skills/speckit-plan/SKILL.md": "d0033856f26b7e5ff683f181ceb20de7ca4f247c290b2c76241719be40e09012",
1212
".agents/skills/speckit-specify/SKILL.md": "164542c78d6415ea9e16bb063652e989e14524a9a273176273e6c9b5ffa0b942",
1313
".agents/skills/speckit-tasks/SKILL.md": "0b36b19eb61347406afea1953c1e5983f084931eaa34d1b10c6c6e67f828f29f",
1414
".agents/skills/speckit-taskstoissues/SKILL.md": "32d8ee0f0482a7b2b9e6bee4dfd6947465754f2f82c404bfc7ef64f4a3b63bdd"

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,4 @@ Before handing off changes, verify the following when applicable:
8585

8686
- Keep this file limited to stable, repository-wide guidance. Feature-specific plans and historical change summaries belong in `specs/`, not here.
8787
- Agent-specific instruction files should defer to this file instead of duplicating or generating plan-derived content.
88+
- Follow the global Codex workroom model and fallback policy for orchestration and delegation. That policy is authoritative for model order and for distinguishing model unavailability from delegation timeout or failure; do not duplicate its details here.

0 commit comments

Comments
 (0)