Skip to content

docs: de-stale README/CHANGELOG/release docs, add cleanroom + heap notes, drop expired shims#197

Merged
theagenticguy merged 3 commits into
mainfrom
roadmap/docs-destale-cleanroom
Jun 6, 2026
Merged

docs: de-stale README/CHANGELOG/release docs, add cleanroom + heap notes, drop expired shims#197
theagenticguy merged 3 commits into
mainfrom
roadmap/docs-destale-cleanroom

Conversation

@theagenticguy
Copy link
Copy Markdown
Owner

What changed

Documentation accuracy sweep aligned to the 0.7.0 cli / 0.8.0 root release (#190) and the single-published-package reality (#189), plus one dead-code cleanup.

README

  • Version: Status corrected from stale 0.1.1 to @opencodehub/cli 0.7.0 / root 0.8.0.
  • Docs site: pointer fixed to the live Astro Starlight site (https://theagenticguy.github.io/opencodehub, source packages/docs/), replacing the false "being bootstrapped" claim.
  • Native scope: the whole-install "zero native builds" claim was false (@ladybugdb/core, @duckdb/node-api, onnxruntime-node are prebuilt native). Reworded so "zero grammar/native builds" is scoped to WASM parsing; added a Platform support section (5-target prebuilt matrix; win32-arm64 / musl hard-fail via GraphDbBindingError, no fallback per ADR 0016).
  • Heap ceiling: Troubleshooting note for analyze OOM (KnowledgeGraph is two in-memory Maps, no spill) with the NODE_OPTIONS=--max-old-space-size escape hatch.

Node floor reconciliation

Was stated four contradictory ways. Decision: standardize on 22/24 — CI matrix is [22,24], root already required >=22, nothing tests Node 20. Aligned packages/cli and packages/ingestion engines >=20 → >=22.

ADRs

  • New ADR 0018 records route_map/tool_map/shape_check/api_impact/group_list/group_sync as independently derived (no renames).
  • ADR 0012: the four M7 Repo-rooted edge kinds never shipped — marked not-pursued; OWNED_BY clarified as blame-level.
  • ADR 0013-m7: corrected the false "now 28" edge claim to the true edges.ts count of 25.

Release/changelog

  • release.yml + RELEASE.md: reframed npm publish as single-package + OIDC live (run chore: release main #176 shipped 0.6.0 w/ provenance).
  • scripts/smoke-mcp.sh: EXPECTED_TOOLS 29 → 28 (functional defect — smoke would fail against the real server) + roster comment corrected.
  • CHANGELOG.md: removed the orphaned [Unreleased] block (release-please owns the file).

Code cleanup

Deleted two dead @deprecated shims (zero in-repo importers): @opencodehub/analysis wiki re-exports, and LSP_PROVENANCE_PREFIXES + its core-types barrel re-export.

⚠️ For reviewers

  • The engines floor bump drops Node 20 (defensible — CI matrix is [22,24]), but it's a user-visible policy decision.
  • Carries deletions (two dead shims) and the broadest doc surface — verified safe, but worth an eyeball.
  • Known small follow-up: packages/core-types/README.md:45 still names the deleted LSP_PROVENANCE_PREFIXES (prose only, not a build break).

🤖 Surfaced by an automated roadmap-survey workflow; implemented + verified in an isolated worktree.

theagenticguy and others added 3 commits June 5, 2026 16:36
…tes, drop expired shims

Documentation accuracy sweep plus one code cleanup, aligned to the
0.7.0 cli / 0.8.0 root release (PR #190) and the single-published-package
reality (PR #189).

README:
- Correct Status from the stale 0.1.1 tag to the real cli 0.7.0 / root
  0.8.0 versions.
- Point the docs link at the live Astro Starlight site
  (theagenticguy.github.io/opencodehub, source in packages/docs/),
  not a 'being bootstrapped' repo.
- Scope the 'zero native builds' claim to grammar/WASM parsing; add a
  Platform support section noting storage/embeddings load prebuilt
  native bindings on a 5-target matrix (darwin/linux x64+arm64,
  win32-x64) and hard-fail on win32-arm64 / musl.
- Reconcile the Node floor to 22/24 (the CI-tested + root-required set)
  and align packages/cli and packages/ingestion engines (>=20 -> >=22)
  with the root engines field; the rest already said >=22.
- Add a Troubleshooting note for analyze OOM on large repos with the
  NODE_OPTIONS=--max-old-space-size escape hatch (KnowledgeGraph is two
  in-memory Maps with no spill).

ADRs:
- Add ADR 0018 documenting that route_map/tool_map/shape_check/
  api_impact/group_list/group_sync are independently derived from
  observable behavior and generic vocabulary (no rename).
- ADR 0012: mark the M7 Repo-rooted edge kinds (T-M7-6/T-M7-7) as
  not-pursued (v1 clean-slate); none shipped, and OWNED_BY is a
  blame-level edge, not the repo-level one sketched.
- ADR 0013-m7: correct the false 'now 28' edge-cardinality claim to the
  true edges.ts count of 25.

Release/changelog:
- release.yml + RELEASE.md: reframe npm publish as single-package
  (@opencodehub/cli only; others private/bundled) and OIDC trusted
  publishing as live (run #176 shipped 0.6.0 with provenance), not
  pending; fix RELEASE.md's stale detect-secrets gate refs to betterleaks
  (ADR 0017).
- smoke-mcp.sh: fix EXPECTED_TOOLS default 29 -> 28 (functional defect)
  and correct the roster comment (drop removed rename/remove_dead_code,
  add signature).
- CHANGELOG.md: remove the orphaned hand-written [Unreleased] block with
  stale 29-tool / 17-package claims (release-please owns this file and
  never emits [Unreleased]).

Code cleanup (post-#189, every library package is private, no external
consumers):
- Drop the dead @opencodehub/analysis wiki re-export shim (generateWiki +
  Wiki* types) and the LSP_PROVENANCE_PREFIXES alias (+ its core-types
  barrel re-export). Verified zero in-repo importers.

Validation: build (all non-docs packages) green; tests green
(core-types 83, analysis 128, storage 161, ingestion 562, cli 286 pass /
16 skip / 0 fail); biome clean; banned-strings PASS.
The symbol was deleted in this PR; its only remaining mention was this
README API list. ADR 0005's historical 'SCIP replaces LSP' reference is
left intact.
@theagenticguy theagenticguy merged commit aa872d6 into main Jun 6, 2026
42 checks passed
@theagenticguy theagenticguy deleted the roadmap/docs-destale-cleanroom branch June 6, 2026 04:34
@github-actions github-actions Bot mentioned this pull request Jun 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant