@esotech/contextuate 2.0.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/README.md +169 -1
  2. package/dist/commands/claude.d.ts +21 -0
  3. package/dist/commands/claude.js +213 -0
  4. package/dist/commands/context.d.ts +1 -0
  5. package/dist/commands/create.d.ts +3 -0
  6. package/dist/commands/index.d.ts +4 -0
  7. package/dist/commands/init.d.ts +7 -0
  8. package/dist/commands/init.js +67 -6
  9. package/dist/commands/install.d.ts +28 -0
  10. package/dist/commands/install.js +100 -11
  11. package/dist/commands/monitor.d.ts +55 -0
  12. package/dist/commands/monitor.js +1007 -0
  13. package/dist/commands/remove.d.ts +3 -0
  14. package/dist/commands/run.d.ts +6 -0
  15. package/dist/index.d.ts +2 -0
  16. package/dist/index.js +113 -1
  17. package/dist/monitor/daemon/circuit-breaker.d.ts +121 -0
  18. package/dist/monitor/daemon/circuit-breaker.js +552 -0
  19. package/dist/monitor/daemon/cli.d.ts +8 -0
  20. package/dist/monitor/daemon/cli.js +82 -0
  21. package/dist/monitor/daemon/index.d.ts +137 -0
  22. package/dist/monitor/daemon/index.js +695 -0
  23. package/dist/monitor/daemon/notifier.d.ts +25 -0
  24. package/dist/monitor/daemon/notifier.js +98 -0
  25. package/dist/monitor/daemon/processor.d.ts +89 -0
  26. package/dist/monitor/daemon/processor.js +455 -0
  27. package/dist/monitor/daemon/state.d.ts +80 -0
  28. package/dist/monitor/daemon/state.js +162 -0
  29. package/dist/monitor/daemon/watcher.d.ts +47 -0
  30. package/dist/monitor/daemon/watcher.js +171 -0
  31. package/dist/monitor/daemon/wrapper-manager.d.ts +106 -0
  32. package/dist/monitor/daemon/wrapper-manager.js +374 -0
  33. package/dist/monitor/hooks/emit-event.js +652 -0
  34. package/dist/monitor/persistence/file-store.d.ts +88 -0
  35. package/dist/monitor/persistence/file-store.js +335 -0
  36. package/dist/monitor/persistence/index.d.ts +7 -0
  37. package/dist/monitor/persistence/index.js +10 -0
  38. package/dist/monitor/server/adapters/redis.d.ts +38 -0
  39. package/dist/monitor/server/adapters/redis.js +213 -0
  40. package/dist/monitor/server/adapters/unix-socket.d.ts +33 -0
  41. package/dist/monitor/server/adapters/unix-socket.js +182 -0
  42. package/dist/monitor/server/broker.d.ts +135 -0
  43. package/dist/monitor/server/broker.js +475 -0
  44. package/dist/monitor/server/cli.d.ts +8 -0
  45. package/dist/monitor/server/cli.js +98 -0
  46. package/dist/monitor/server/fastify.d.ts +16 -0
  47. package/dist/monitor/server/fastify.js +184 -0
  48. package/dist/monitor/server/index.d.ts +36 -0
  49. package/dist/monitor/server/index.js +153 -0
  50. package/dist/monitor/server/websocket.d.ts +80 -0
  51. package/dist/monitor/server/websocket.js +453 -0
  52. package/dist/monitor/ui/assets/index-4IssW9On.js +59 -0
  53. package/dist/monitor/ui/assets/index-vo9hLe5R.css +32 -0
  54. package/dist/monitor/ui/favicon.png +0 -0
  55. package/dist/monitor/ui/index.html +14 -0
  56. package/dist/monitor/ui/logo.png +0 -0
  57. package/dist/monitor/ui/logo.svg +1 -0
  58. package/dist/runtime/driver.d.ts +16 -0
  59. package/dist/runtime/tools.d.ts +10 -0
  60. package/dist/templates/README.md +33 -7
  61. package/dist/templates/agents/aegis.md +4 -0
  62. package/dist/templates/agents/archon.md +13 -22
  63. package/dist/templates/agents/atlas.md +4 -0
  64. package/dist/templates/agents/canvas.md +4 -0
  65. package/dist/templates/agents/chronicle.md +4 -0
  66. package/dist/templates/agents/chronos.md +4 -0
  67. package/dist/templates/agents/cipher.md +4 -0
  68. package/dist/templates/agents/crucible.md +4 -0
  69. package/dist/templates/agents/echo.md +4 -0
  70. package/dist/templates/agents/forge.md +4 -0
  71. package/dist/templates/agents/ledger.md +4 -0
  72. package/dist/templates/agents/meridian.md +4 -0
  73. package/dist/templates/agents/nexus.md +4 -0
  74. package/dist/templates/agents/pythia.md +217 -0
  75. package/dist/templates/agents/scribe.md +4 -0
  76. package/dist/templates/agents/sentinel.md +4 -0
  77. package/dist/templates/agents/{oracle.md → thoth.md} +11 -7
  78. package/dist/templates/agents/unity.md +4 -0
  79. package/dist/templates/agents/vox.md +4 -0
  80. package/dist/templates/agents/weaver.md +4 -0
  81. package/dist/templates/commands/consult.md +138 -0
  82. package/dist/templates/commands/orchestrate.md +173 -0
  83. package/dist/templates/framework-agents/documentation-expert.md +3 -3
  84. package/dist/templates/framework-agents/tools-expert.md +8 -8
  85. package/dist/templates/standards/agent-roles.md +68 -21
  86. package/dist/templates/standards/coding-standards.md +9 -26
  87. package/dist/templates/templates/context.md +17 -2
  88. package/dist/templates/templates/contextuate.md +21 -28
  89. package/dist/templates/tools/{agent-creator.tool.md → agent-creator.md} +3 -3
  90. package/dist/types/monitor.d.ts +660 -0
  91. package/dist/types/monitor.js +75 -0
  92. package/dist/utils/git.d.ts +9 -0
  93. package/dist/utils/tokens.d.ts +10 -0
  94. package/package.json +18 -5
  95. package/dist/templates/version.json +0 -8
  96. /package/dist/templates/templates/standards/{go.standards.md → go.md} +0 -0
  97. /package/dist/templates/templates/standards/{java.standards.md → java.md} +0 -0
  98. /package/dist/templates/templates/standards/{javascript.standards.md → javascript.md} +0 -0
  99. /package/dist/templates/templates/standards/{php.standards.md → php.md} +0 -0
  100. /package/dist/templates/templates/standards/{python.standards.md → python.md} +0 -0
  101. /package/dist/templates/tools/{quickref.tool.md → quickref.md} +0 -0
  102. /package/dist/templates/tools/{spawn.tool.md → spawn.md} +0 -0
  103. /package/dist/templates/tools/{standards-detector.tool.md → standards-detector.md} +0 -0
@@ -1,7 +1,7 @@
1
1
  # Tools Expert Agent
2
2
 
3
3
  > **Inherits:** [Base Agent Configuration](base.md)
4
- > **Role:** Guides usage of Esotech Framework tools and utilities
4
+ > **Role:** Guides usage of Contextuate Framework tools and utilities
5
5
  > **Domain:** `docs/ai/.contextuate/tools/*`, `docs/ai/.contextuate/bin/*`
6
6
 
7
7
  ---
@@ -24,9 +24,9 @@ Guides that AI assistants follow to perform tasks.
24
24
 
25
25
  | Tool | Purpose | Guide |
26
26
  |------|---------|-------|
27
- | Quickref Generator | Generate condensed references from docs | [quickref.tool.md](../.contextuate/tools/quickref.tool.md) |
28
- | Standards Detector | Analyze code to detect coding standards | [standards-detector.tool.md](../.contextuate/tools/standards-detector.tool.md) |
29
- | Agent Creator | Create new AI agent definitions | [agent-creator.tool.md](../.contextuate/tools/agent-creator.tool.md) |
27
+ | Quickref Generator | Generate condensed references from docs | [quickref.md](../tools/quickref.md) |
28
+ | Standards Detector | Analyze code to detect coding standards | [standards-detector.md](../tools/standards-detector.md) |
29
+ | Agent Creator | Create new AI agent definitions | [agent-creator.md](../tools/agent-creator.md) |
30
30
 
31
31
  ### Framework Scripts (`docs/ai/.contextuate/bin/`)
32
32
 
@@ -47,7 +47,7 @@ Generates AI-friendly quick references from full documentation.
47
47
 
48
48
  **Type:** AI Tool Guide (not a script)
49
49
 
50
- **Guide Location:** `docs/ai/.contextuate/tools/quickref.tool.md`
50
+ **Guide Location:** `docs/ai/.contextuate/tools/quickref.md`
51
51
 
52
52
  **How to use:**
53
53
  1. Read the tool guide
@@ -71,7 +71,7 @@ Analyzes project source files to detect and document coding standards.
71
71
 
72
72
  **Type:** AI Tool Guide (not a script)
73
73
 
74
- **Guide Location:** `docs/ai/.contextuate/tools/standards-detector.tool.md`
74
+ **Guide Location:** `docs/ai/.contextuate/tools/standards-detector.md`
75
75
 
76
76
  **How to use:**
77
77
  1. Read the tool guide
@@ -99,7 +99,7 @@ Creates new AI agent definitions following framework standards.
99
99
 
100
100
  **Type:** AI Tool Guide (not a script)
101
101
 
102
- **Guide Location:** `docs/ai/.contextuate/tools/agent-creator.tool.md`
102
+ **Guide Location:** `docs/ai/.contextuate/tools/agent-creator.md`
103
103
 
104
104
  **How to use:**
105
105
  1. Read the tool guide
@@ -234,7 +234,7 @@ chmod +x ./docs/ai/.contextuate/bin/*.sh
234
234
 
235
235
  To add a new AI tool guide:
236
236
 
237
- 1. Create `docs/ai/.contextuate/tools/{name}.tool.md`
237
+ 1. Create `docs/ai/.contextuate/tools/{name}.md`
238
238
  2. Follow the structure:
239
239
  - When to use
240
240
  - Input requirements
@@ -1,34 +1,81 @@
1
1
  # Agent Roles (Team Roster)
2
2
 
3
- Overview of the specialized agents available in this framework. Each agent has a dedicated definition file in `.contextuate/agents/` containing their specific responsibilities and context.
3
+ > **Purpose:** Authoritative registry of all specialist agents. Reference this when deciding which agent to delegate to.
4
4
 
5
- ## Core Team
5
+ All agents have dedicated definition files in `docs/ai/agents/` containing their full responsibilities and context.
6
6
 
7
- ### [Archon (Orchestrator)](../agents/archon.md)
8
- Project Manager & Technical Lead. Parses user requests and manages the creation of tasks.
7
+ ---
9
8
 
10
- ### [Forge (Infrastructure)](../agents/forge.md)
11
- Cloud Architect. Handles Docker, Kubernetes, Secrets, and CI/CD pipelines.
9
+ ## Specialist Agents
12
10
 
13
- ### [Chronos (Data)](../agents/chronos.md)
14
- DBA. Manages database schemas, migrations, and performance indexing.
11
+ | Agent | Model | Domain | When to Delegate |
12
+ |-------|-------|--------|------------------|
13
+ | [**PYTHIA**](../../agents/pythia.md) | Opus | Planning/Research | Pre-implementation research, ideation, specification (use for complex/unfamiliar work requiring deep planning) |
14
+ | [**ARCHON**](../../agents/archon.md) | Opus | Orchestration | Complex multi-agent tasks requiring coordination (sub-orchestration) |
15
+ | [**AEGIS**](../../agents/aegis.md) | Sonnet | Quality/Review | Code review, best practices, quality assurance |
16
+ | [**ATLAS**](../../agents/atlas.md) | Sonnet | Navigation | Codebase exploration, file search, pattern discovery |
17
+ | [**CANVAS**](../../agents/canvas.md) | Sonnet | Frontend/UX | UI components, state management, theming, design systems |
18
+ | [**CHRONICLE**](../../agents/chronicle.md) | Sonnet | Documentation | Comments, markdown, changelogs |
19
+ | [**CHRONOS**](../../agents/chronos.md) | Sonnet | Data/State | Database administration, caching, state management, performance |
20
+ | [**CIPHER**](../../agents/cipher.md) | Sonnet | Data Transformation | Data utilities, formatting, transformations |
21
+ | [**CRUCIBLE**](../../agents/crucible.md) | Sonnet | Testing | Test writing, execution, coverage |
22
+ | [**ECHO**](../../agents/echo.md) | Sonnet | Frontend JS | JavaScript, UI interactions, client-side |
23
+ | [**FORGE**](../../agents/forge.md) | Sonnet | Infrastructure | Scaffolding, deployment, DevOps, tooling |
24
+ | [**LEDGER**](../../agents/ledger.md) | Sonnet | Task Management | Multi-step tasks, session continuity, progress tracking |
25
+ | [**MERIDIAN**](../../agents/meridian.md) | Sonnet | Schema/Migrations | Database schema changes, migrations |
26
+ | [**NEXUS**](../../agents/nexus.md) | Sonnet | Backend/Services | Service classes, external APIs, business logic |
27
+ | [**THOTH**](../../agents/thoth.md) | Opus | Database/Queries | Complex database queries, schema design, data operations |
28
+ | [**SCRIBE**](../../agents/scribe.md) | Sonnet | Documentation | API docs, technical writing, user guides |
29
+ | [**SENTINEL**](../../agents/sentinel.md) | Opus | Security | Validation, permissions, sanitization, security analysis |
30
+ | [**UNITY**](../../agents/unity.md) | Sonnet | Version Control | Git merges, conflict resolution, release management |
31
+ | [**VOX**](../../agents/vox.md) | Sonnet | Media/Communications | WebRTC, streaming, audio/video processing |
32
+ | [**WEAVER**](../../agents/weaver.md) | Sonnet | Controllers/Views | Page actions, view rendering, permissions |
15
33
 
16
- ### [Vox (Media)](../agents/vox.md)
17
- Communications Specialist. Handles WebRTC, SIP, and audio/video processing.
34
+ ---
18
35
 
19
- ### [Ledger (Finance)](../agents/ledger.md)
20
- Billing Engineer. Manages invoicing, payments, and financial reporting.
36
+ ## Quick Reference by Task Type
21
37
 
22
- ### [Nexus (Backend)](../agents/nexus.md)
23
- API Engineer. Implements business logic, REST/GraphQL APIs, and security.
38
+ ### Planning & Research
39
+ - **PYTHIA** - Use BEFORE implementation for complex/unfamiliar work
24
40
 
25
- ### [Canvas (Frontend)](../agents/canvas.md)
26
- UI/UX Engineer. Builds user interfaces, state management, and design systems.
41
+ ### Code Implementation
42
+ - **NEXUS** - Backend services, APIs, business logic
43
+ - **ECHO** - Frontend JavaScript, client-side
44
+ - **CANVAS** - UI components, design systems
45
+ - **WEAVER** - Controllers, views, page actions
46
+ - **CIPHER** - Data transformations, utilities
27
47
 
28
- ## Support Team
48
+ ### Data & Database
49
+ - **THOTH** - Complex queries, schema design
50
+ - **CHRONOS** - Database admin, caching, performance
51
+ - **MERIDIAN** - Schema migrations
29
52
 
30
- ### [Unity (Versioning)](../agents/unity.md)
31
- Git Specialist. Resolves merge conflicts and manages release branches.
53
+ ### Quality & Security
54
+ - **AEGIS** - Code review, best practices
55
+ - **CRUCIBLE** - Testing, coverage
56
+ - **SENTINEL** - Security, validation, permissions
32
57
 
33
- ### [Scribe (Docs)](../agents/scribe.md)
34
- Technical Writer. maintains documentation, logs, and long-term memory.
58
+ ### Infrastructure & Ops
59
+ - **FORGE** - Scaffolding, DevOps, deployment
60
+ - **UNITY** - Git, version control, releases
61
+
62
+ ### Documentation & Communication
63
+ - **CHRONICLE** - Comments, changelogs
64
+ - **SCRIBE** - API docs, technical writing
65
+ - **VOX** - Media, WebRTC, streaming
66
+
67
+ ### Coordination
68
+ - **ARCHON** - Multi-agent orchestration
69
+ - **LEDGER** - Task tracking, progress management
70
+ - **ATLAS** - Codebase navigation, exploration
71
+
72
+ ---
73
+
74
+ ## Delegation Guidelines
75
+
76
+ 1. **Check this roster** before delegating to ensure you pick the right specialist
77
+ 2. **Provide context** - Include relevant files, patterns, and constraints
78
+ 3. **Be specific** - Clear objectives get better results
79
+ 4. **Consider dependencies** - Some tasks need sequential agents (e.g., THOTH before NEXUS for data-heavy APIs)
80
+
81
+ For full orchestration protocols, see [ARCHON](../../agents/archon.md).
@@ -8,27 +8,17 @@
8
8
 
9
9
  When looking up coding standards for a specific language, follow this order:
10
10
 
11
- 1. **User Standards (First Priority)**
12
- Check `docs/ai/standards/{language}.standards.md`
11
+ 1. **Project Standards (First Priority)**
12
+ Look for `docs/ai/standards/{language}.standards.md` in the project
13
13
  - Example: `docs/ai/standards/php.standards.md`
14
- - These are project-specific customizations
14
+ - These are project-specific customizations created by the user
15
15
 
16
- 2. **Framework Standards (Fallback)**
17
- Check `docs/ai/.context/templates/standards/{language}.standards.md`
18
- - Example: `docs/ai/.context/templates/standards/php.standards.md`
19
- - These are framework-provided defaults
20
-
21
- 3. **General Principles (Always Apply)**
16
+ 2. **General Principles (Always Apply)**
22
17
  The general principles below always apply regardless of language.
23
18
 
24
- ### Supported Framework Standards
25
-
26
- | Language | Template Location |
27
- |----------|-------------------|
28
- | PHP | `templates/standards/php.standards.md` |
29
- | JavaScript/TypeScript | `templates/standards/javascript.standards.md` |
19
+ ### Creating Language-Specific Standards
30
20
 
31
- *Use the [Standards Detector](../tools/standards-detector.tool.md) to generate project-specific standards.*
21
+ Use the [Standards Detector](../tools/standards-detector.md) to analyze your codebase and generate project-specific standards automatically.
32
22
 
33
23
  ---
34
24
 
@@ -149,18 +139,11 @@ ORDER BY column_name;
149
139
  To customize standards for your project:
150
140
 
151
141
  1. **Run Standards Detector** (recommended)
152
- Have AI analyze your codebase using the [Standards Detector](../tools/standards-detector.tool.md) tool.
142
+ Have AI analyze your codebase using the [Standards Detector](../tools/standards-detector.md) tool.
153
143
  This creates files in `docs/ai/standards/` based on your existing code.
154
144
 
155
- 2. **Copy and Modify Template**
156
- Copy a framework template to `docs/ai/standards/`:
157
- ```bash
158
- cp docs/ai/.context/templates/standards/php.standards.md docs/ai/standards/
159
- ```
160
- Then customize the placeholders.
161
-
162
- 3. **Create from Scratch**
163
- Create `docs/ai/standards/{language}.standards.md` with your own format.
145
+ 2. **Create from Scratch**
146
+ Create `docs/ai/standards/{language}.standards.md` with your own format following the patterns in this document.
164
147
 
165
148
  ### Common Customizations
166
149
 
@@ -1,7 +1,22 @@
1
1
  # Project Context
2
2
 
3
- > **Purpose:** Master index for AI assistants working with this project. This is the primary entry point for all AI context.
4
- > **Directive:** Read this file first. It is the "Brain" of the project.
3
+ > **Purpose:** User-defined project context for AI assistants. This file contains project-specific identity, tech stack, and custom configurations.
4
+ > **Directive:** This file is linked from the framework entry point (`docs/ai/.contextuate/contextuate.md`). Edit this file freely to customize your project context.
5
+
6
+ ---
7
+
8
+ ## File Ownership
9
+
10
+ | Path | Owner | Editable? |
11
+ |------|-------|-----------|
12
+ | `docs/ai/.contextuate/` | Framework (Contextuate) | No - overwritten on updates |
13
+ | `docs/ai/context.md` | User (You) | Yes - customize freely |
14
+ | `docs/ai/agents/` | User | Yes - your custom agents |
15
+ | `docs/ai/standards/` | User | Yes - your custom standards |
16
+ | `docs/ai/quickrefs/` | User | Yes - your generated quickrefs |
17
+ | `docs/ai/tasks/` | User | Yes - your multi-session tasks |
18
+
19
+ The `.contextuate/` folder contains immutable framework definitions that bootstrap AI context loading. The framework entry point (`contextuate.md`) links to this file for project-specific details.
5
20
 
6
21
  ---
7
22
 
@@ -2,11 +2,11 @@
2
2
 
3
3
  <!--
4
4
  CONTEXTUATE MANAGED FILE - DO NOT MODIFY
5
- This file is generated by the Esotech Framework and will be overwritten during updates.
5
+ This file is generated by the Contextuate Framework and will be overwritten during updates.
6
6
  Customize your project context in: docs/ai/context.md
7
7
  -->
8
8
 
9
- > **Purpose:** Master entry point for AI assistants. This file bootstraps the Esotech Framework.
9
+ > **Purpose:** Master entry point for AI assistants. This file bootstraps the Contextuate Framework.
10
10
  > **Directive:** Read this file first, then follow instructions to load project context.
11
11
 
12
12
  ---
@@ -29,7 +29,7 @@ This folder (`docs/ai/.contextuate/`) contains the immutable framework definitio
29
29
  2. **Select**: Identify the specific agent, tool, or standard relevant to your current task.
30
30
  3. **Load**: Read only that specific file.
31
31
 
32
- For example, if you need to create a new agent, read `docs/ai/.contextuate/tools/agent-creator.tool.md`. You do not need to read the entire standards library unless you are writing code that specifically requires it.
32
+ For example, if you need to create a new agent, read `docs/ai/.contextuate/tools/agent-creator.md`. You do not need to read the entire standards library unless you are writing code that specifically requires it.
33
33
 
34
34
  ---
35
35
 
@@ -40,9 +40,9 @@ For example, if you need to create a new agent, read `docs/ai/.contextuate/tools
40
40
  ### Agent Registry
41
41
  | Task Domain | Agent | Context File |
42
42
  | -------------- | ------------ | ---------------------------------------------------------------------------------------- |
43
- | General Coding | Base Agent | [.contextuate/agents/base.md](.contextuate/agents/base.md) |
44
- | Documentation | Docs Expert | [.contextuate/agents/documentation-expert.md](.contextuate/agents/documentation-expert.md) |
45
- | Tools Expert | Tools Expert | [.contextuate/agents/tools-expert.md](.contextuate/agents/tools-expert.md) |
43
+ | General Coding | Base Agent | [agents/base.md](agents/base.md) |
44
+ | Documentation | Docs Expert | [agents/documentation-expert.md](agents/documentation-expert.md) |
45
+ | Tools Expert | Tools Expert | [agents/tools-expert.md](agents/tools-expert.md) |
46
46
 
47
47
  ### Custom Agents
48
48
  Custom agents are stored in `docs/ai/agents/`. Create new agents using the Agent Creator tool.
@@ -54,29 +54,25 @@ Custom agents are stored in `docs/ai/agents/`. Create new agents using the Agent
54
54
  ### Framework Tools
55
55
  | Tool | Purpose | Instruction Guide |
56
56
  | ---------------------- | ----------------------------- | ---------------------------------------------------------------------------------------------- |
57
- | **Standards Detector** | Analyze code to find patterns | [.contextuate/tools/standards-detector.tool.md](.contextuate/tools/standards-detector.tool.md) |
58
- | **Quickref Generator** | Condense docs for AI usage | [.contextuate/tools/quickref.tool.md](.contextuate/tools/quickref.tool.md) |
59
- | **Agent Creator** | Generate new agent personas | [.contextuate/tools/agent-creator.tool.md](.contextuate/tools/agent-creator.tool.md) |
57
+ | **Standards Detector** | Analyze code to find patterns | [tools/standards-detector.md](tools/standards-detector.md) |
58
+ | **Quickref Generator** | Condense docs for AI usage | [tools/quickref.md](tools/quickref.md) |
59
+ | **Agent Creator** | Generate new agent personas | [tools/agent-creator.md](tools/agent-creator.md) |
60
60
 
61
61
  ---
62
62
 
63
63
  ## 4. Standards & Conventions
64
64
 
65
- ### Coding Standards
66
- | Language | Standards File |
67
- | --------------------- | -------------------------------------------------------------------------------------------------------------------- |
68
- | PHP | [.contextuate/templates/standards/php.standards.md](.contextuate/templates/standards/php.standards.md) |
69
- | JavaScript/TypeScript | [.contextuate/templates/standards/javascript.standards.md](.contextuate/templates/standards/javascript.standards.md) |
70
- | Python | [.contextuate/templates/standards/python.standards.md](.contextuate/templates/standards/python.standards.md) |
71
- | Go | [.contextuate/templates/standards/go.standards.md](.contextuate/templates/standards/go.standards.md) |
72
- | Java | [.contextuate/templates/standards/java.standards.md](.contextuate/templates/standards/java.standards.md) |
65
+ ### Framework Standards
66
+ | Standard | Purpose | File |
67
+ |----------|---------|------|
68
+ | **Coding Standards** | General coding principles | [standards/coding-standards.md](standards/coding-standards.md) |
69
+ | **Behavioral Guidelines** | AI interaction rules | [standards/behavioral-guidelines.md](standards/behavioral-guidelines.md) |
70
+ | **Task Workflow** | Multi-session task structure | [standards/task-workflow.md](standards/task-workflow.md) |
71
+ | **Agent Workflow** | Multi-agent coordination | [standards/agent-workflow.md](standards/agent-workflow.md) |
72
+ | **Agent Roles** | Specialist agent roster | [standards/agent-roles.md](standards/agent-roles.md) |
73
73
 
74
- Custom standards can be added in `docs/ai/standards/`.
75
-
76
- ### Behavioral Guidelines
77
- **[Behavioral Guidelines](.contextuate/standards/behavioral-guidelines.md)**
78
- - Verified Truth: Do not speculate.
79
- - Minimal Intervention: Only change what is requested.
74
+ ### Project-Specific Standards
75
+ Create language-specific standards in `docs/ai/standards/` using the [Standards Detector](tools/standards-detector.md) tool.
80
76
 
81
77
  ---
82
78
 
@@ -94,16 +90,13 @@ Custom standards can be added in `docs/ai/standards/`.
94
90
  | **Custom Commands** | `docs/ai/commands/` |
95
91
 
96
92
  ### Multi-Session Tasks
97
- For complex tasks that span multiple sessions:
98
- 1. Read **[Task Workflow](.contextuate/standards/task-workflow.md)**.
99
- 2. Create a folder in `docs/ai/tasks/{task-name}/`.
100
- 3. Maintain a `00-project-scope.md` and log files.
93
+ For complex tasks that span multiple sessions, follow the Task Workflow standard (see section 4).
101
94
 
102
95
  ---
103
96
 
104
97
  ## 6. Framework Information
105
98
 
106
- **Esotech Framework** is a standardized AI context framework.
99
+ **Contextuate Framework** is a standardized AI context framework.
107
100
 
108
101
  - **Documentation:** https://contextuate.md
109
102
  - **Version:** Check `.contextuate/version.json`
@@ -46,7 +46,7 @@ Before creating the agent, ensure documentation exists:
46
46
  | Comprehensive docs | `docs/{topic}.md` |
47
47
  | API/method reference | `docs/ai/quickrefs/{name}.quickref.md` |
48
48
 
49
- Use the [Quickref Generator](quickref.tool.md) if needed.
49
+ Use the [Quickref Generator](quickref.md) if needed.
50
50
 
51
51
  ### Step 3: Create Agent File
52
52
 
@@ -78,7 +78,7 @@ Verify:
78
78
  ```markdown
79
79
  # {Name} Expert Agent
80
80
 
81
- > **Inherits:** [Base Agent Configuration](../.context/agents/base.md)
81
+ > **Inherits:** [Base Agent Configuration](../.contextuate/agents/base.md)
82
82
  > **Role:** {One-line description of expertise}
83
83
  > **Domain:** `{file patterns covered}`
84
84
 
@@ -179,7 +179,7 @@ File: `docs/ai/agents/database-expert.md`
179
179
  ```markdown
180
180
  # Database Expert Agent
181
181
 
182
- > **Inherits:** [Base Agent Configuration](../.context/agents/base.md)
182
+ > **Inherits:** [Base Agent Configuration](../.contextuate/agents/base.md)
183
183
  > **Role:** Expert in database operations, queries, and schema design
184
184
  > **Domain:** `*.sql`, `migrations/`, `**/db/**`
185
185