@@ -13,7 +13,7 @@ The update command SHALL update OpenSpec instruction files to the latest templat
1313- ** WHEN** a user runs ` openspec update `
1414- ** THEN** the command SHALL:
1515 - Check if the ` openspec ` directory exists
16- - Replace ` openspec/README .md ` with the latest template (complete replacement)
16+ - Replace ` openspec/AGENTS .md ` with the latest template (complete replacement)
1717 - Update ** only existing** AI tool configuration files (e.g., CLAUDE.md)
1818 - Check each registered AI tool configurator
1919 - For each configurator, check if its file exists
@@ -40,7 +40,7 @@ The update command SHALL handle file updates in a predictable and safe manner.
4040#### Scenario: Updating files
4141
4242- ** WHEN** updating files
43- - ** THEN** completely replace ` openspec/README .md ` with the latest template
43+ - ** THEN** completely replace ` openspec/AGENTS .md ` with the latest template
4444- ** AND** update only the OpenSpec-managed blocks in ** existing** AI tool files using markers
4545- ** AND** use the default directory name ` openspec `
4646- ** AND** be idempotent (repeated runs have no additional effect)
@@ -64,7 +64,7 @@ The update command SHALL always update the core OpenSpec files and display an AS
6464#### Scenario: Successful update
6565
6666- ** WHEN** the update completes successfully
67- - ** THEN** replace ` openspec/README .md ` with the latest template
67+ - ** THEN** replace ` openspec/AGENTS .md ` with the latest template
6868- ** AND** update existing AI tool configuration files within markers
6969- ** AND** display the message: "Updated OpenSpec instructions"
7070
0 commit comments