Repository navigation
docs: fix stale references and wrong instructions in docs and skills - #1065
Conversation
Audited every doc under docs/ against the current code. Fixed moved paths (MCP, chat and ChatSession now live in apps/ai), renamed symbols, wrong commands and env vars, and claims the code no longer backs (self-hosted ClickHouse settings table, service map edge derivation, local store dirty-shutdown behavior, GitHub App permissions, Postgres client setup, Electric shape registry). Dated investigations and plans keep their findings; some gain a one-line verified status note. Prose tightened throughout and em dashes removed.
Service map edges come from joining a client span to its child server span, not peer.service; the audit, style and telemetry-conventions skills now say so. Language style skills get real SDK APIs and package names (Rust 0.32 types and features, Go log exporter path, Kotlin extension artifact, C# AddSource, Node ESM hook). Onboarding points at the public @maple-dev/effect-sdk and the maple_pk_ ingest key. The internal telemetry-conventions skill gets current paths, cache keys, ingest rejection status rules and MV columns. The dashboard widgets skill is regenerated from dashboard-schema-doc.ts, which had drifted from the committed file.
Maple reviewConfidence 5/5 · safe to merge A prose pass over
What was checked
|
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (78)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Note A newer push replaced |
Maple reviewConfidence 5/5 · safe to merge A docs-accuracy pass over
What was checked
|
Audited every doc under
docs/and every Maple-owned skill (skills/*,.agents/skills/maple-telemetry-conventions) against the current code, fixed what was wrong, and tightened the prose (em dashes removed).Docs (53 files)
ChatSessionnow point atapps/ai.self-hosted-clickhouse.mdrewritten aroundorg_clickhouse_settings. Save only runsSELECT 1; the schema is applied byClickHouseSchemaApplyWorkflow. Table and MV counts corrected.attributes.md: service map edges come from joining a client span to its child server span, not frompeer.service.infra.md: EU AI routing (feat(eu): route AI through OpenRouter's EU endpoint and turn chat back on #1052), ARM64 ingest on EC2, thebun devapp list, and moved files.local-mode.md: an unclean shutdown no longer wipes the store. The default is--on-dirty-store fail.persistence.md: now describes thePgClient.makeclient, not the old node-postgres pool.github-app-setup.md:@maple fixpushes commits, so Contents is read and write. The webhook event list now matches what the code handles.electric-sync.md: shape registry paths, theinvestigation_v2shape, and the real window event names.@maple-dev/effect-sdk;Unset;schema_urlscope and resource levels cover different data;Error.sst-fork-workflow.mdis marked obsolete).Skills
maple-auditMAP-01 to MAP-04,maple-effect-styleandmaple-telemetry-conventionsno longer saypeer.servicedraws map edges.SdkTracerProvider), the TLS feature, andHttpBinary;otlplog/otlploghttppath;opentelemetry-extension-kotlin;AddSource;import os.maple-onboard: points at the public@maple-dev/effect-sdk/cloudflare(not the private infra package) and themaple_pk_key under Settings → Ingestion.maple-dashboard-widgets/SKILL.mdis generated. The fix is inapps/ai/src/mcp/lib/dashboard-schema-doc.tsand the generator, and the file is regenerated from them. The committed file had drifted from its source, which explains the larger diff. Thedescribe_dashboard_schematool output changes the same way (prose punctuation, and-instead of—for empty table cells).Verification
bunx vitest run src/mcp/lib/dashboard-schema-doc.test.ts src/mcp/lib/dashboard-docs-drift.test.ts: 76 passed.bun run --cwd apps/ai mcp:docs --check: up to date.Follow-ups not in this PR
apps/landing/src/content/docs/concepts/otel-conventions.mdstill sayspeer.servicedraws service map edges.use-maple-chat.ts(mapleShapeFetch) and.env.example(MAPLE_PG_ELECTRIC_URL).Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by CodeRabbit