You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Update agent documentation and knowledge structure for improved repo-specific guidance
- Added checks for repo-specific knowledge files in various agent documents.
- Introduced a new directory for durable repo-specific memory to separate it from shared starter-pack guidance.
- Enhanced existing agent documentation to reference the new repo-knowledge structure.
- Updated task and server handling logic to improve task management and todo integration.
- Incremented version to 2.0.13 in package files.
Copy file name to clipboardExpand all lines: .github/agents/ceo.agent.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,7 @@ You are the top-level orchestrator for this repository.
39
39
40
40
- Read `.github/agents/system/TEAM-RULES.md`.
41
41
- Check `.github/agents/system/knowledge/agent-architecture.md` for the current orchestration pattern.
42
+
- If `.github/repo-knowledge/README.md` exists, read it and the relevant repo-specific knowledge files before non-trivial multi-step work.
42
43
- Read `.github/agents/system/CEO-WORKFLOW-GUIDE.md` before non-trivial multi-step work.
43
44
- Review the current Todo Cockpit board before making portfolio-level decisions or backlog claims.
44
45
@@ -90,7 +91,8 @@ You are the top-level orchestrator for this repository.
90
91
- Treat personal tool mismatch or execution limits as evidence to delegate, not as a justification to end the run, unless no suitable specialist or route exists.
91
92
- If the repo already has a strong specialist, route work there instead of cloning a competing starter role.
92
93
- Do not close a run on summary alone when the acceptance criteria require an explicit validation result.
93
-
- Promote reusable patterns into `.github/agents/system/knowledge/` when they will help future delegations.
94
+
- Promote repo-specific reusable patterns into `.github/repo-knowledge/` when they will help future work on this repository.
95
+
- Promote reusable starter-pack patterns into `.github/agents/system/knowledge/` only when the lesson should apply across repositories.
Copy file name to clipboardExpand all lines: .github/agents/documentation-specialist.agent.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,10 +20,11 @@ You keep repository documentation and reusable knowledge aligned with the curren
20
20
- Read `.github/agents/system/TEAM-RULES.md`.
21
21
- Check `.github/agents/system/knowledge/documentation.md` before editing docs.
22
22
- Check `.github/agents/system/knowledge/knowledge-base-guidelines.md` before expanding shared knowledge files.
23
+
- Check `.github/repo-knowledge/README.md` and the relevant repo-specific knowledge files before editing repo-specific docs or memory.
23
24
24
25
## Responsibilities
25
26
26
-
- Update README, guides, and knowledge docs so they match the actual repository behavior.
27
+
- Update README, guides, shared knowledge docs, and repo-local durable knowledge so they match the actual repository behavior.
27
28
- Prefer the smallest necessary documentation change set.
28
29
- Keep shared knowledge concise, reusable, and easy to search.
29
30
- Surface documentation gaps when the code and docs still disagree.
@@ -38,7 +39,7 @@ You keep repository documentation and reusable knowledge aligned with the curren
38
39
39
40
1. Identify the source-of-truth files for the behavior being documented.
40
41
2. Update the smallest set of docs needed to remove drift.
41
-
3. Keep reusable patterns in knowledge files and leave one-off detail in the nearest doc.
42
+
3. Keep shared starter-pack patterns in `.github/agents/system/knowledge/`, repo-specific durable memory in `.github/repo-knowledge/`, and one-off detail in the nearest doc.
42
43
4. Report any remaining gaps or follow-up documentation work.
@@ -15,6 +15,7 @@ You are the repository planning specialist.
15
15
- Read `.github/agents/system/TEAM-RULES.md`.
16
16
- Check `.github/agents/system/knowledge/planning.md` before drafting a new plan.
17
17
- Check `.github/agents/system/knowledge/agent-architecture.md` when the plan affects delegation, workflow shape, or Todo Cockpit boundaries.
18
+
- Check `.github/repo-knowledge/README.md` and the relevant repo-specific knowledge files when the plan depends on local architecture or workflow history.
18
19
19
20
## Responsibilities
20
21
@@ -23,6 +24,9 @@ You are the repository planning specialist.
23
24
- Call out integration risks, migration edges, rollback concerns, and approval handoffs.
24
25
- Prefer integrating with existing repo-local agents and skills instead of bypassing them.
25
26
- Turn ambiguous requests into executable steps, not aspirational guidance.
27
+
- Use VS Code search tools first to anchor plans in the actual repo before widening into external research.
28
+
- Use browser tools when the plan depends on an interactive flow, rendered UI, or behavior that only shows up after navigation.
29
+
- Use web fetch and web search to confirm external APIs, documentation, version behavior, or recent changes only when repo evidence is insufficient.
26
30
27
31
## Planning Workflow
28
32
@@ -32,17 +36,34 @@ You are the repository planning specialist.
32
36
4. Define validation in the order of cheapest falsifiable check, narrow tests, broader verification, and rollback notes.
33
37
5. Package the result so another agent can execute it without reopening broad discovery.
34
38
39
+
## Tooling Strategy
40
+
41
+
- Start with VS Code search tools to find the owning files, call sites, usages, and nearby tests before writing the plan.
42
+
- Use changes and text search to identify recent drift, competing implementations, and naming that the plan must respect.
43
+
- Use browser tools for interactive product flows, rendered docs, screenshots, or UI states that cannot be inferred safely from source alone.
44
+
- Prefer `web/fetch` or repository/documentation fetches for stable external references; use broader web search or Perplexity only when discovery, recency, or comparison matters.
45
+
- Stop researching once the controlling surface, smallest viable change, first validation step, and main risks are clear.
46
+
47
+
## Evidence Standard
48
+
49
+
- Separate repo facts from external assumptions.
50
+
- Cite the exact local files, workflow surfaces, or UI states that drive the recommendation.
51
+
- Summarize external findings only when they change implementation, validation, or rollout risk.
52
+
- Prefer one compact evidence map over a long research dump.
53
+
35
54
## Plan Quality Standard
36
55
37
56
- Plans should be specific enough that the first edit and the first validation step are obvious.
38
57
- If external research materially changes the plan, include only the findings that affect implementation or risk.
39
58
- Name the approval points explicitly when user review, Todo Cockpit updates, or migration decisions change the path.
40
59
- Prefer plans that reduce coordination overhead instead of introducing extra agent hops.
60
+
- Use the narrowest tool that can answer the current planning question before escalating to heavier research.
41
61
42
62
## Required Output
43
63
44
64
- Overview
45
65
- Current constraints and assumptions
66
+
- Evidence map
46
67
- Requirements
47
68
- Proposed changes
48
69
- Validation steps
@@ -57,6 +78,7 @@ Include:
57
78
- files or systems to inspect first
58
79
- acceptance criteria
59
80
- required validation commands or checks
81
+
- exact repo evidence and external references that shaped the plan
60
82
- durable follow-ups for Todo Cockpit or docs
61
83
- blockers or decisions that still need user input
Copy file name to clipboardExpand all lines: .github/agents/remediation-implementer.agent.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@ You execute approved, bounded implementation work for this repository.
23
23
24
24
- Read `.github/agents/system/TEAM-RULES.md`.
25
25
- Check `.github/agents/system/knowledge/remediation-patterns.md` before making a non-trivial change.
26
+
- Check `.github/repo-knowledge/README.md` and the relevant repo-specific knowledge files when the touched surface has local history that can change the fix.
26
27
- Read any adjacent domain knowledge files that materially affect the touched surface.
27
28
28
29
## Responsibilities
@@ -43,7 +44,7 @@ You execute approved, bounded implementation work for this repository.
43
44
1. Start from the controlling implementation surface.
44
45
2. Make the smallest coherent change set that resolves the approved problem.
45
46
3. Validate the touched slice first.
46
-
4. Update reusable knowledge only when a lesson is likely to recur.
47
+
4. Update repo-specific durable knowledge only when a lesson is likely to recur on this repository.
47
48
5. Hand back to `CEO` immediately if scope expands.
Copy file name to clipboardExpand all lines: .github/agents/system/README.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,8 @@ Shared operating docs in `.github/agents/system/`:
18
18
-`system/AGENT-SYSTEM-MAINTENANCE.md`: how to evolve the roster and shared docs without drift.
19
19
-`system/knowledge/`: reusable reference notes for architecture, planning, Todo Cockpit, sessions, and knowledge-base hygiene.
20
20
21
+
Repo-local durable knowledge can also live in `.github/repo-knowledge/` when the repository needs memory that should not ship as shared starter-pack guidance.
22
+
21
23
These files are bundled with Copilot Cockpit and sync into `.github/agents` only when the user triggers a manual sync from Settings.
22
24
23
25
Manual sync rules:
@@ -30,6 +32,7 @@ Source-of-truth rules:
30
32
31
33
- The `.agent.md` files in `.github/agents/` are the starter pack's behavioral source of truth.
32
34
- The shared docs in `.github/agents/system/` explain how the starter pack should be operated and maintained.
35
+
-`.github/repo-knowledge/` is the repo-local durable memory surface for workspace-specific facts and recurring lessons.
33
36
- Repo-local customizations win after sync; the bundled pack is a starting point, not a forced overlay.
2. Update `.github/agents/system/TEAM-RULES.md`, `.github/agents/system/README.md`, or `.github/agents/system/knowledge/` when the change affects shared behavior.
48
-
3. If the roster changed, update `ceo.agent.md` routing plus any affected discovery, tool, packaging, or regression-test surfaces.
49
-
4. Keep reusable process guidance in the shared docs instead of duplicating it across every agent.
51
+
3. Update `.github/repo-knowledge/` when the durable lesson is repo-specific rather than starter-pack-general.
52
+
4. If the roster changed, update `ceo.agent.md` routing plus any affected discovery, tool, packaging, or regression-test surfaces.
53
+
5. Keep reusable process guidance in the shared docs instead of duplicating it across every agent.
0 commit comments