-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdoc-bridge.config.json
More file actions
154 lines (154 loc) · 5.75 KB
/
Copy pathdoc-bridge.config.json
File metadata and controls
154 lines (154 loc) · 5.75 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"schemaVersion": 1,
"corpus": {
"agent": {
"root": "docs/agent-corpus",
"index": "docs/agent-corpus/OVERVIEW.md"
},
"human": {
"plugin": "plain-markdown",
"options": {
"root": "docs",
"urlPrefix": "/docs"
}
}
},
"reconciliation": {
"scope": "package",
"requiredRelationKinds": ["imports", "re-exports", "depends-on"],
"requiredRelationTargets": "internal"
},
"safety": {
"exclude": ["**/examples/**", "**/public/raw/**", ".changeset/**", ".impeccable.md", "**/CLAUDE.md"]
},
"routing": {
"options": {
"ownership": {
"doc-bridge": {
"path": "src",
"purpose": "CLI, index builder, MCP, gates, and doctor",
"checks": ["pnpm test", "pnpm typecheck"],
"agentDoc": "docs/agent-corpus/doc-bridge.md",
"humanDoc": "/docs/POSITIONING"
},
"doc-bridge-cli": {
"path": "src/cli",
"purpose": "Public ak-docs commands, arguments, output modes, and bundled demo",
"checks": ["pnpm test", "pnpm typecheck", "node examples/verify-handoff.mjs"],
"agentDoc": "docs/agent-corpus/cli.md",
"humanDoc": "/docs/spec/cli"
},
"doc-bridge-index": {
"path": "src/index-builder",
"purpose": "Corpus scanning, handoff generation, hashes, llms.txt, and watch mode",
"checks": ["pnpm test", "pnpm typecheck", "node bin/ak-docs.js index"],
"agentDoc": "docs/agent-corpus/INDEX.md",
"humanDoc": "/docs/recipes/index-pipeline"
},
"doc-bridge-query": {
"path": "src/query",
"purpose": "Deterministic package queries, document search, and index loading",
"checks": ["pnpm test", "pnpm typecheck"],
"agentDoc": "docs/agent-corpus/query.md",
"humanDoc": "/docs/query"
},
"doc-bridge-mcp": {
"path": "src/mcp",
"purpose": "MCP stdio server, tool contracts, and client installation",
"checks": ["pnpm test", "pnpm typecheck", "pnpm smoke:packaged"],
"agentDoc": "docs/agent-corpus/mcp.md",
"humanDoc": "/docs/mcp"
},
"doc-bridge-gates": {
"path": "src/gates",
"purpose": "Freshness, coverage, and documentation link quality gates",
"checks": ["pnpm test", "node bin/ak-docs.js gate run"],
"agentDoc": "docs/agent-corpus/gates.md",
"humanDoc": "/docs/spec/documentation-standard-v1"
},
"doc-bridge-conformance": {
"path": "src/conformance",
"purpose": "Versioned documentation-standard conformance checks and reports",
"checks": ["pnpm test", "node bin/ak-docs.js conformance run documentation-standard-v1 --text"],
"agentDoc": "docs/agent-corpus/conformance.md",
"humanDoc": "/docs/spec/documentation-standard-v1"
},
"doc-bridge-doctor": {
"path": "src/doctor",
"purpose": "Repository health scoring, findings, and remediation guidance",
"checks": ["pnpm test", "node bin/ak-docs.js doctor --text"],
"agentDoc": "docs/agent-corpus/doctor.md",
"humanDoc": "/docs/spec/documentation-standard-v1"
},
"doc-bridge-memory": {
"path": "src/memory",
"purpose": "Reviewable memory ingestion, classification, and documentation promotion",
"checks": ["pnpm test", "pnpm typecheck"],
"agentDoc": "docs/agent-corpus/memory.md",
"humanDoc": "/docs/schemas/memory-candidate-v1"
},
"doc-bridge-chat": {
"path": "src/intelligence",
"purpose": "Optional AgentsKit RAG and chat integration after deterministic resolution",
"checks": ["pnpm test", "pnpm typecheck", "pnpm docs:typecheck"],
"agentDoc": "docs/agent-corpus/chat.md",
"humanDoc": "/docs/chat-and-rag"
}
}
}
},
"gates": {
"preset": "minimal",
"include": ["documentation-standard-v1"]
},
"conformance": {
"documentationStandardV1": {
"rawSources": ["README.md", "docs/getting-started.md", "docs/for-agents.md", "docs/spec/cli.md"],
"contributionPaths": ["CONTRIBUTING.md"],
"metadata": [
{
"path": "docs/landing/index.html",
"contains": ["<title>", "name=\"description\""]
},
{
"path": "apps/docs/app/layout.tsx",
"contains": ["title:", "description:", "openGraph", "twitter"]
}
],
"links": [
{ "url": "https://www.agentskit.io", "paths": ["README.md"] },
{ "url": "https://registry.agentskit.io/", "paths": ["README.md"] },
{ "url": "https://playbook.agentskit.io/llms.txt", "paths": ["README.md"] },
{ "url": "https://chat.agentskit.io", "paths": ["README.md"] },
{ "url": "https://akos.agentskit.io", "paths": ["README.md"] },
{ "url": "https://github.com/AgentsKit-io/code-review-cli", "paths": ["README.md"] }
],
"ecosystemContract": {
"manifest": "ecosystem.json",
"claims": "ecosystem-claims.json",
"productId": "doc-bridge"
},
"quickstarts": [
{
"id": "demo",
"doc": "README.md",
"test": "tests/demo-mcp.test.ts",
"command": "pnpm vitest run tests/demo-mcp.test.ts",
"testContains": ["runs bundled example demo", "runDemo"]
}
],
"visuals": [
"apps/docs/app/icon.svg",
"docs/landing/assets/doc-bridge-hero.webp",
"docs/landing/assets/doc-bridge-two-way.webp",
"docs/landing/assets/doc-bridge-surfaces.webp"
],
"diagrams": [
{
"path": "docs/spec/documentation-standard-v1.md",
"contains": ["```mermaid"]
}
]
}
}
}