Skip to content

Commit f0d8a7c

Browse files
Release 1.0.2
1 parent 9805ec5 commit f0d8a7c

8 files changed

Lines changed: 759 additions & 650 deletions

File tree

.claude/agents/acf-context-agent.md

Lines changed: 603 additions & 601 deletions
Large diffs are not rendered by default.

.codex/agents/acf-context-agent.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
---
22
name: acf-context-agent
3-
version: 1.0.1
43
description: Agent that generates project architecture docs and agent instructions from the actual codebase.
54
tools: ["execute", "read", "search"]
65
---
76

8-
# Agentic Context Framework (ACF) — Agent Specification
7+
# Agentic Context Framework (ACF) — Agent Specification (v1.0.2)
98

109
You are an ACF agent. Your role is to generate and maintain architectural documentation and agent instructions from live codebases. You operate in five stages.
1110

@@ -80,26 +79,27 @@ When asked to run a stage:
8079

8180
## STATE MANAGEMENT
8281

83-
ACF tracks onboarding progress in a `## ACF Setup Progress` section at the bottom of `docs/ARCHITECTURE-OVERVIEW.md`.
82+
ACF tracks onboarding progress in `docs/.acf-state.md`. This file is a permanent record of when each stage was completed and by which model.
8483

8584
On any stage invocation:
86-
1. Read `docs/ARCHITECTURE-OVERVIEW.md` and check for the `## ACF Setup Progress` section.
85+
1. Read `docs/.acf-state.md` if it exists.
8786
2. Use it to determine which stages are already complete and resume from the correct point.
8887
3. Inform the user of current progress before proceeding.
8988

9089
After Stage 1 completes:
91-
- Append the following section to `docs/ARCHITECTURE-OVERVIEW.md`, before the standard doc footer. The footer must always be the last content in the file.
90+
- Create `docs/.acf-state.md` with the following content:
9291

9392
```markdown
94-
## ACF Setup Progress
95-
- [x] Stage 1: Onboard — YYYY-MM-DD
93+
# ACF Onboarding Record
94+
95+
- [x] Stage 1: Onboard — YYYY-MM-DD — model-id
9696
- [ ] Stage 2: Instructions
9797
- [ ] Stage 3: DeepDive
9898
- [ ] Stage 4: Review
9999
```
100100

101101
After each subsequent stage completes:
102-
- Update the corresponding line in `## ACF Setup Progress` to `[x]` with the current date.
102+
- Update the corresponding line in `docs/.acf-state.md` to `[x]` with the current date and the model ID that ran the stage.
103103

104104
Stage 3 partial completion:
105105
- Stage 3 creates multiple deep-dive docs sequentially. If a session ends mid-stage, the agent can detect partial completion by comparing which deep-dive docs exist in `docs/` against the "Deep-Dive Architecture Documents" list in `docs/ARCHITECTURE-OVERVIEW.md`.
@@ -155,7 +155,7 @@ Append the standard doc footer to `docs/ARCHITECTURE-OVERVIEW.md` with `Created
155155
- docs/ARCHITECTURE-OVERVIEW.md exists and contains all 10 required headings.
156156
- The "Deep-Dive Architecture Documents" section contains at least one concrete topic based on actual repo complexity.
157157
- Every claim in the document is traceable to a specific file or directory in the repository.
158-
- The ACF Setup Progress section is appended at the bottom.
158+
- `docs/.acf-state.md` is created with Stage 1 marked complete.
159159

160160
After completing this stage, ask: "Shall I run the next stage, STAGE 2: Instructions?"
161161

@@ -439,6 +439,7 @@ When creating an ADC: follow the template and naming convention in `docs/adc/REA
439439
- Every `See docs/X.md` reference in Technical Pillars has a corresponding bullet in "Deep-Dive Architecture Documents" in docs/ARCHITECTURE-OVERVIEW.md.
440440
- Every file pattern in the repo-specific Retrieval Discipline steps matches at least one real file in the repository.
441441
- Exactly one platform-specific pointer file exists (or none for Codex).
442+
- `docs/.acf-state.md` is updated to mark Stage 2 complete with the current date and model ID.
442443

443444
After completing this stage, ask: "Shall I run the next stage, STAGE 3: DeepDive?"
444445

@@ -496,6 +497,7 @@ Every claim must be traceable to a specific file. Use file paths and code refere
496497
- Every bullet in "Deep-Dive Architecture Documents" has a linked document in docs/.
497498
- docs/ARCHITECTURE-OVERVIEW.md references all created deep-dive documents.
498499
- Output a summary listing each document created and its primary focus.
500+
- `docs/.acf-state.md` is updated to mark Stage 3 complete with the current date and model ID.
499501

500502
After completing this stage, ask: "Shall I run the next stage, STAGE 4: Review?"
501503

@@ -547,7 +549,7 @@ Ask the user: "Are you running this review in a fresh session or with a differen
547549
- If new docs are needed, add them only if they correspond to an item in "Deep-Dive Architecture Documents".
548550
- If you add a new deep dive doc, ensure it follows the naming convention and update docs/ARCHITECTURE-OVERVIEW.md to link it.
549551
- For every doc modified or created: update `Updated by`, `Updated`, `Updated stage: Stage 4: Review`, and set `Review status` to `Reviewed`.
550-
- Remove the `## ACF Setup Progress` section from `docs/ARCHITECTURE-OVERVIEW.md`. It is only needed during onboarding to track partial progress.
552+
- Update `docs/.acf-state.md` to mark Stage 4 complete with the current date and model ID.
551553

552554
### Completion criteria
553555

.cursor/agents/acf-context-agent.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
---
22
name: acf-context-agent
3-
version: 1.0.1
43
description: Agent that generates project architecture docs and agent instructions from the actual codebase.
54
tools: [read_file, grep_search, list_dir, edit_file, write_file, run_terminal_command]
65
---
76

8-
# Agentic Context Framework (ACF) — Agent Specification
7+
# Agentic Context Framework (ACF) — Agent Specification (v1.0.2)
98

109
You are an ACF agent. Your role is to generate and maintain architectural documentation and agent instructions from live codebases. You operate in five stages.
1110

@@ -80,26 +79,27 @@ When asked to run a stage:
8079

8180
## STATE MANAGEMENT
8281

83-
ACF tracks onboarding progress in a `## ACF Setup Progress` section at the bottom of `docs/ARCHITECTURE-OVERVIEW.md`.
82+
ACF tracks onboarding progress in `docs/.acf-state.md`. This file is a permanent record of when each stage was completed and by which model.
8483

8584
On any stage invocation:
86-
1. Read `docs/ARCHITECTURE-OVERVIEW.md` and check for the `## ACF Setup Progress` section.
85+
1. Read `docs/.acf-state.md` if it exists.
8786
2. Use it to determine which stages are already complete and resume from the correct point.
8887
3. Inform the user of current progress before proceeding.
8988

9089
After Stage 1 completes:
91-
- Append the following section to `docs/ARCHITECTURE-OVERVIEW.md`, before the standard doc footer. The footer must always be the last content in the file.
90+
- Create `docs/.acf-state.md` with the following content:
9291

9392
```markdown
94-
## ACF Setup Progress
95-
- [x] Stage 1: Onboard — YYYY-MM-DD
93+
# ACF Onboarding Record
94+
95+
- [x] Stage 1: Onboard — YYYY-MM-DD — model-id
9696
- [ ] Stage 2: Instructions
9797
- [ ] Stage 3: DeepDive
9898
- [ ] Stage 4: Review
9999
```
100100

101101
After each subsequent stage completes:
102-
- Update the corresponding line in `## ACF Setup Progress` to `[x]` with the current date.
102+
- Update the corresponding line in `docs/.acf-state.md` to `[x]` with the current date and the model ID that ran the stage.
103103

104104
Stage 3 partial completion:
105105
- Stage 3 creates multiple deep-dive docs sequentially. If a session ends mid-stage, the agent can detect partial completion by comparing which deep-dive docs exist in `docs/` against the "Deep-Dive Architecture Documents" list in `docs/ARCHITECTURE-OVERVIEW.md`.
@@ -155,7 +155,7 @@ Append the standard doc footer to `docs/ARCHITECTURE-OVERVIEW.md` with `Created
155155
- docs/ARCHITECTURE-OVERVIEW.md exists and contains all 10 required headings.
156156
- The "Deep-Dive Architecture Documents" section contains at least one concrete topic based on actual repo complexity.
157157
- Every claim in the document is traceable to a specific file or directory in the repository.
158-
- The ACF Setup Progress section is appended at the bottom.
158+
- `docs/.acf-state.md` is created with Stage 1 marked complete.
159159

160160
After completing this stage, ask: "Shall I run the next stage, STAGE 2: Instructions?"
161161

@@ -439,6 +439,7 @@ When creating an ADC: follow the template and naming convention in `docs/adc/REA
439439
- Every `See docs/X.md` reference in Technical Pillars has a corresponding bullet in "Deep-Dive Architecture Documents" in docs/ARCHITECTURE-OVERVIEW.md.
440440
- Every file pattern in the repo-specific Retrieval Discipline steps matches at least one real file in the repository.
441441
- Exactly one platform-specific pointer file exists (or none for Codex).
442+
- `docs/.acf-state.md` is updated to mark Stage 2 complete with the current date and model ID.
442443

443444
After completing this stage, ask: "Shall I run the next stage, STAGE 3: DeepDive?"
444445

@@ -496,6 +497,7 @@ Every claim must be traceable to a specific file. Use file paths and code refere
496497
- Every bullet in "Deep-Dive Architecture Documents" has a linked document in docs/.
497498
- docs/ARCHITECTURE-OVERVIEW.md references all created deep-dive documents.
498499
- Output a summary listing each document created and its primary focus.
500+
- `docs/.acf-state.md` is updated to mark Stage 3 complete with the current date and model ID.
499501

500502
After completing this stage, ask: "Shall I run the next stage, STAGE 4: Review?"
501503

@@ -547,7 +549,7 @@ Ask the user: "Are you running this review in a fresh session or with a differen
547549
- If new docs are needed, add them only if they correspond to an item in "Deep-Dive Architecture Documents".
548550
- If you add a new deep dive doc, ensure it follows the naming convention and update docs/ARCHITECTURE-OVERVIEW.md to link it.
549551
- For every doc modified or created: update `Updated by`, `Updated`, `Updated stage: Stage 4: Review`, and set `Review status` to `Reviewed`.
550-
- Remove the `## ACF Setup Progress` section from `docs/ARCHITECTURE-OVERVIEW.md`. It is only needed during onboarding to track partial progress.
552+
- Update `docs/.acf-state.md` to mark Stage 4 complete with the current date and model ID.
551553

552554
### Completion criteria
553555

.gemini/agents/acf-context-agent.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
---
22
name: acf-context-agent
3-
version: 1.0.1
43
description: Agent that generates project architecture docs and agent instructions from the actual codebase.
54
tools: [read_file, grep_search, list_directory, run_shell_command, replace, write_file, glob]
65
---
76

8-
# Agentic Context Framework (ACF) — Agent Specification
7+
# Agentic Context Framework (ACF) — Agent Specification (v1.0.2)
98

109
You are an ACF agent. Your role is to generate and maintain architectural documentation and agent instructions from live codebases. You operate in five stages.
1110

@@ -80,26 +79,27 @@ When asked to run a stage:
8079

8180
## STATE MANAGEMENT
8281

83-
ACF tracks onboarding progress in a `## ACF Setup Progress` section at the bottom of `docs/ARCHITECTURE-OVERVIEW.md`.
82+
ACF tracks onboarding progress in `docs/.acf-state.md`. This file is a permanent record of when each stage was completed and by which model.
8483

8584
On any stage invocation:
86-
1. Read `docs/ARCHITECTURE-OVERVIEW.md` and check for the `## ACF Setup Progress` section.
85+
1. Read `docs/.acf-state.md` if it exists.
8786
2. Use it to determine which stages are already complete and resume from the correct point.
8887
3. Inform the user of current progress before proceeding.
8988

9089
After Stage 1 completes:
91-
- Append the following section to `docs/ARCHITECTURE-OVERVIEW.md`, before the standard doc footer. The footer must always be the last content in the file.
90+
- Create `docs/.acf-state.md` with the following content:
9291

9392
```markdown
94-
## ACF Setup Progress
95-
- [x] Stage 1: Onboard — YYYY-MM-DD
93+
# ACF Onboarding Record
94+
95+
- [x] Stage 1: Onboard — YYYY-MM-DD — model-id
9696
- [ ] Stage 2: Instructions
9797
- [ ] Stage 3: DeepDive
9898
- [ ] Stage 4: Review
9999
```
100100

101101
After each subsequent stage completes:
102-
- Update the corresponding line in `## ACF Setup Progress` to `[x]` with the current date.
102+
- Update the corresponding line in `docs/.acf-state.md` to `[x]` with the current date and the model ID that ran the stage.
103103

104104
Stage 3 partial completion:
105105
- Stage 3 creates multiple deep-dive docs sequentially. If a session ends mid-stage, the agent can detect partial completion by comparing which deep-dive docs exist in `docs/` against the "Deep-Dive Architecture Documents" list in `docs/ARCHITECTURE-OVERVIEW.md`.
@@ -155,7 +155,7 @@ Append the standard doc footer to `docs/ARCHITECTURE-OVERVIEW.md` with `Created
155155
- docs/ARCHITECTURE-OVERVIEW.md exists and contains all 10 required headings.
156156
- The "Deep-Dive Architecture Documents" section contains at least one concrete topic based on actual repo complexity.
157157
- Every claim in the document is traceable to a specific file or directory in the repository.
158-
- The ACF Setup Progress section is appended at the bottom.
158+
- `docs/.acf-state.md` is created with Stage 1 marked complete.
159159

160160
After completing this stage, ask: "Shall I run the next stage, STAGE 2: Instructions?"
161161

@@ -439,6 +439,7 @@ When creating an ADC: follow the template and naming convention in `docs/adc/REA
439439
- Every `See docs/X.md` reference in Technical Pillars has a corresponding bullet in "Deep-Dive Architecture Documents" in docs/ARCHITECTURE-OVERVIEW.md.
440440
- Every file pattern in the repo-specific Retrieval Discipline steps matches at least one real file in the repository.
441441
- Exactly one platform-specific pointer file exists (or none for Codex).
442+
- `docs/.acf-state.md` is updated to mark Stage 2 complete with the current date and model ID.
442443

443444
After completing this stage, ask: "Shall I run the next stage, STAGE 3: DeepDive?"
444445

@@ -496,6 +497,7 @@ Every claim must be traceable to a specific file. Use file paths and code refere
496497
- Every bullet in "Deep-Dive Architecture Documents" has a linked document in docs/.
497498
- docs/ARCHITECTURE-OVERVIEW.md references all created deep-dive documents.
498499
- Output a summary listing each document created and its primary focus.
500+
- `docs/.acf-state.md` is updated to mark Stage 3 complete with the current date and model ID.
499501

500502
After completing this stage, ask: "Shall I run the next stage, STAGE 4: Review?"
501503

@@ -547,7 +549,7 @@ Ask the user: "Are you running this review in a fresh session or with a differen
547549
- If new docs are needed, add them only if they correspond to an item in "Deep-Dive Architecture Documents".
548550
- If you add a new deep dive doc, ensure it follows the naming convention and update docs/ARCHITECTURE-OVERVIEW.md to link it.
549551
- For every doc modified or created: update `Updated by`, `Updated`, `Updated stage: Stage 4: Review`, and set `Review status` to `Reviewed`.
550-
- Remove the `## ACF Setup Progress` section from `docs/ARCHITECTURE-OVERVIEW.md`. It is only needed during onboarding to track partial progress.
552+
- Update `docs/.acf-state.md` to mark Stage 4 complete with the current date and model ID.
551553

552554
### Completion criteria
553555

.github/agents/acf-context-agent.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
---
22
name: acf-context-agent
3-
version: 1.0.1
43
description: Agent that generates project architecture docs and agent instructions from the actual codebase.
54
tools: ["execute", "read", "search", "agent", "todo"]
65
---
76

8-
# Agentic Context Framework (ACF) — Agent Specification
7+
# Agentic Context Framework (ACF) — Agent Specification (v1.0.2)
98

109
You are an ACF agent. Your role is to generate and maintain architectural documentation and agent instructions from live codebases. You operate in five stages.
1110

@@ -80,26 +79,27 @@ When asked to run a stage:
8079

8180
## STATE MANAGEMENT
8281

83-
ACF tracks onboarding progress in a `## ACF Setup Progress` section at the bottom of `docs/ARCHITECTURE-OVERVIEW.md`.
82+
ACF tracks onboarding progress in `docs/.acf-state.md`. This file is a permanent record of when each stage was completed and by which model.
8483

8584
On any stage invocation:
86-
1. Read `docs/ARCHITECTURE-OVERVIEW.md` and check for the `## ACF Setup Progress` section.
85+
1. Read `docs/.acf-state.md` if it exists.
8786
2. Use it to determine which stages are already complete and resume from the correct point.
8887
3. Inform the user of current progress before proceeding.
8988

9089
After Stage 1 completes:
91-
- Append the following section to `docs/ARCHITECTURE-OVERVIEW.md`, before the standard doc footer. The footer must always be the last content in the file.
90+
- Create `docs/.acf-state.md` with the following content:
9291

9392
```markdown
94-
## ACF Setup Progress
95-
- [x] Stage 1: Onboard — YYYY-MM-DD
93+
# ACF Onboarding Record
94+
95+
- [x] Stage 1: Onboard — YYYY-MM-DD — model-id
9696
- [ ] Stage 2: Instructions
9797
- [ ] Stage 3: DeepDive
9898
- [ ] Stage 4: Review
9999
```
100100

101101
After each subsequent stage completes:
102-
- Update the corresponding line in `## ACF Setup Progress` to `[x]` with the current date.
102+
- Update the corresponding line in `docs/.acf-state.md` to `[x]` with the current date and the model ID that ran the stage.
103103

104104
Stage 3 partial completion:
105105
- Stage 3 creates multiple deep-dive docs sequentially. If a session ends mid-stage, the agent can detect partial completion by comparing which deep-dive docs exist in `docs/` against the "Deep-Dive Architecture Documents" list in `docs/ARCHITECTURE-OVERVIEW.md`.
@@ -155,7 +155,7 @@ Append the standard doc footer to `docs/ARCHITECTURE-OVERVIEW.md` with `Created
155155
- docs/ARCHITECTURE-OVERVIEW.md exists and contains all 10 required headings.
156156
- The "Deep-Dive Architecture Documents" section contains at least one concrete topic based on actual repo complexity.
157157
- Every claim in the document is traceable to a specific file or directory in the repository.
158-
- The ACF Setup Progress section is appended at the bottom.
158+
- `docs/.acf-state.md` is created with Stage 1 marked complete.
159159

160160
After completing this stage, ask: "Shall I run the next stage, STAGE 2: Instructions?"
161161

@@ -439,6 +439,7 @@ When creating an ADC: follow the template and naming convention in `docs/adc/REA
439439
- Every `See docs/X.md` reference in Technical Pillars has a corresponding bullet in "Deep-Dive Architecture Documents" in docs/ARCHITECTURE-OVERVIEW.md.
440440
- Every file pattern in the repo-specific Retrieval Discipline steps matches at least one real file in the repository.
441441
- Exactly one platform-specific pointer file exists (or none for Codex).
442+
- `docs/.acf-state.md` is updated to mark Stage 2 complete with the current date and model ID.
442443

443444
After completing this stage, ask: "Shall I run the next stage, STAGE 3: DeepDive?"
444445

@@ -496,6 +497,7 @@ Every claim must be traceable to a specific file. Use file paths and code refere
496497
- Every bullet in "Deep-Dive Architecture Documents" has a linked document in docs/.
497498
- docs/ARCHITECTURE-OVERVIEW.md references all created deep-dive documents.
498499
- Output a summary listing each document created and its primary focus.
500+
- `docs/.acf-state.md` is updated to mark Stage 3 complete with the current date and model ID.
499501

500502
After completing this stage, ask: "Shall I run the next stage, STAGE 4: Review?"
501503

@@ -547,7 +549,7 @@ Ask the user: "Are you running this review in a fresh session or with a differen
547549
- If new docs are needed, add them only if they correspond to an item in "Deep-Dive Architecture Documents".
548550
- If you add a new deep dive doc, ensure it follows the naming convention and update docs/ARCHITECTURE-OVERVIEW.md to link it.
549551
- For every doc modified or created: update `Updated by`, `Updated`, `Updated stage: Stage 4: Review`, and set `Review status` to `Reviewed`.
550-
- Remove the `## ACF Setup Progress` section from `docs/ARCHITECTURE-OVERVIEW.md`. It is only needed during onboarding to track partial progress.
552+
- Update `docs/.acf-state.md` to mark Stage 4 complete with the current date and model ID.
551553

552554
### Completion criteria
553555

0 commit comments

Comments
 (0)