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
docs: trim spec for conciseness and remove process references
Remove all references to internal PR evolution (#2052, #8), resolved
open questions, and verbose explanations. Frame everything as current
state → target state.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/proposals/consolidate-optional-services.md
+18-65Lines changed: 18 additions & 65 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,14 @@
4
4
5
5
Optional local dev services (Nango, SigNoz, OTEL Collector, Jaeger) currently live in a separate companion repo (`inkeep/agents-optional-local-dev`). A bootstrap shim (`scripts/setup-optional.sh`) in the monorepo clones this companion repo into `.optional-services/` on demand and delegates to its `scripts/setup.sh` (352 lines of credential automation and Docker lifecycle management). The same shim is auto-synced to `create-agents-template/scripts/setup-optional.sh` via lint-staged.
6
6
7
-
This two-repo architecture (established in recently-merged PRs #2052 and #8) creates coordination overhead (paired PRs, sync issues, merge conflicts across repos) without meaningful benefit — licensing research confirmed there's no legal barrier to inlining, and the companion repo's configs are small (~3.3MB).
7
+
This two-repo architecture creates coordination overhead (paired PRs, sync across repos) without meaningful benefit — there's no legal barrier to inlining, and the companion repo's configs are small (~3.3MB).
8
8
9
9
**Goal:** Fully eliminate the companion repo by moving all optional service configs, Docker Compose definitions, and setup automation directly into the monorepo (and by extension, the `create-agents-template`). Every surface — scripts, docs, deployment guides, gitignore, AI tooling configs — must be updated. The companion repo is archived. No references to `agents-optional-local-dev` or `.optional-services/` remain anywhere in the monorepo. User-facing commands remain identical.
10
10
11
-
**Starting point:** The current merged state on `main` has:
12
-
- Monorepo: `scripts/setup-optional.sh` (57-line shim), `.gitignore` entry for `.optional-services/`, docs referencing the companion repo, lint-staged syncing the shim to the template
No changes needed — all four scripts already point to `scripts/setup-optional.sh`.
208
177
209
178
## 7. Surface Area Inventory — Complete Change List
210
179
@@ -238,11 +207,11 @@ Every file that references the companion repo, `.optional-services/`, or the clo
238
207
| 12 |`agents-docs/_snippets/setup-dev-optional-prereq.mdx`| all | References `pnpm setup-dev`|**No change** — no companion ref |
239
208
| 13 |`agents-docs/_snippets/setup-dev-optional-lifecycle.mdx`| all | References lifecycle commands |**No change** — no companion ref |
240
209
241
-
### 7.4 Contributing / Environment Docs (CHECK)
210
+
### 7.4 Contributing / Environment Docs
242
211
243
212
| # | File | Lines | Current | Change |
244
213
|---|------|-------|---------|--------|
245
-
| 14 |`agents-docs/content/community/contributing/environment-configuration.mdx`| — | May reference optional services setup |**Check and update** if references companion repo |
214
+
| 14 |`agents-docs/content/community/contributing/environment-configuration.mdx`| — | May reference optional services setup |**Update** if references companion repo or `.optional-services/`|
246
215
247
216
### 7.5 Deployment Documentation (UPDATE)
248
217
@@ -256,7 +225,7 @@ These 5 files tell self-hosted deployers to `git clone agents-optional-local-dev
256
225
| 18 |`agents-docs/content/deployment/(docker)/aws-ec2.mdx`| 39 | Same clone command |**Replace** — same approach |
257
226
| 19 |`agents-docs/content/deployment/(docker)/azure-vm.mdx`| 65 | Same clone command |**Replace** — same approach |
258
227
259
-
**Deployment docs update approach:**Replace companion repo clone with instructions to copy `optional-services/` from the monorepo. For self-hosted users who already have the monorepo cloned, this is `cp -r optional-services/ /path/to/deploy/inkeep-external-services`. For users deploying from scratch, they clone the monorepo and use the `optional-services/` directory.
228
+
Replace companion repo clone with instructions to copy `optional-services/` from the monorepo.
260
229
261
230
### 7.6 AI Tooling / Internal Configs (CHECK)
262
231
@@ -267,14 +236,7 @@ These 5 files tell self-hosted deployers to `git clone agents-optional-local-dev
267
236
268
237
### 7.7 Surfaces Confirmed Clean (no changes needed)
269
238
270
-
- Runtime code: `agents-api/`, `packages/agents-core/`, `packages/agents-sdk/`, all other packages
All runtime code (`agents-api/`, `packages/`), CLI, UI, cookbook, CI workflows, `turbo.json`, `pnpm-workspace.yaml`, and core Docker Compose files have no companion repo references.
278
240
279
241
## 8. Migration Path
280
242
@@ -311,8 +273,7 @@ These 5 files tell self-hosted deployers to `git clone agents-optional-local-dev
311
273
| D4 | Drop `OPTIONAL_SERVICES_DIR` env var override | PENDING | No longer needed (no clone), but may be useful for custom locations |
312
274
| D5 | Drop `--no-update` flag | CONFIRMED | No external repo to update |
0 commit comments