File size: 1,115 Bytes
bc1af83
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# System Prompt Extensions DOX

## Purpose

- Own construction of core system prompt sections.

## Ownership

- Ordered Python files own main, tools, MCP, secrets, skills, and project prompt sections.
- Active project instruction bodies and active-project AGENTS.md path-chain guidance are moved into prompt protocol; the system prompt keeps project metadata and stable project rules.

## Local Contracts

- Preserve ordering where sections depend on earlier context.
- Keep secret-related prompt sections masked and scoped.
- Prompt additions must be bounded and compatible with tool-call contracts.
- Discover local tool prompts through `helpers.subagents.get_paths` and apply
  `helpers.tool_policy` before including their text.
- Omit the discoverable-skills catalog when profile policy blocks
  `skills_tool`; loaded skill history remains independent.

## Work Guidance

- Coordinate broad system prompt changes with profiles, skills, tools, plugins, and prompt tests.

## Verification

- Inspect rendered system prompts or run prompt-construction tests after changes.

## Child DOX Index

No child DOX files.