Skip to content

chore(history): rehost archived m-tools design docs under .github/docs/history/#17

Merged
rafael5 merged 1 commit into
mainfrom
chore/rehost-archived-m-tools-docs-v2
May 11, 2026
Merged

chore(history): rehost archived m-tools design docs under .github/docs/history/#17
rafael5 merged 1 commit into
mainfrom
chore/rehost-archived-m-tools-docs-v2

Conversation

@rafael5
Copy link
Copy Markdown
Contributor

@rafael5 rafael5 commented May 11, 2026

Summary

Equivalent to PR #14, rebuilt against post-P1-A/P1-D `main`. PR #14 was authored on the pre-P1-A `tools.json` shape and produced unresolvable conflicts when rebased. Same content; same intent; same files. Closing #14 in favor of this one.

Why

The `m-tools` repo is archived on GitHub. Three design documents in it are load-bearing for AI agents trying to understand the m-dev-tools ecosystem:

  • m-tool-gap-analysis.md — the Go/Rust/Python toolchain analogy that drove m-cli's CLI ergonomics
  • m-tooling-tier1.md — Tier-1 strategy that scoped the first m-cli release
  • gap-analysis-and-remediation-strategy.md — phased remediation roadmap that produced both m-cli and m-stdlib

Routing agents to a repo we no longer maintain — and one GitHub could prune at any time — is brittle. Per `AI-discoverability-plan.md` §8 non-goal #4 ("rehost its docs in .github/docs/history/ or drop them from tools.json"): rehost, not drop.

Changes

File Change
`docs/history/gap-analysis-and-remediation-strategy.md` NEW (1313 lines, verbatim from m-tools commit `16fe3f7`)
`docs/history/m-tool-gap-analysis.md` NEW (1146 lines, verbatim)
`docs/history/m-tooling-tier1.md` NEW (260 lines, verbatim)
`docs/history/README.md` NEW — provenance policy + explicit exclusion of `implementation.md` + `ydb-dev-tools-gap-analysis.md`
Each preserved doc + a `> Archived snapshot.` banner after H1 citing upstream commit
`profile/tools.json` Drop the `m-tools` entry (was `status: archived`, no manifest). `build-catalog.py`'s archived-carryover no longer triggers for it because the prior tools.json no longer lists it.
`profile/task_index.json` Retarget 3 `history` category intents from `tool:m-tools` → `doc:m-dev-tools#` typed IDs + in-org doc URLs
`profile/README.md` Cross-references retargeted at in-org paths
`docs/AI-discoverability-plan.md` Mark §3.4 `m-tools` row resolved; expand §8 non-goal #4 to record the resolution
`docs/AI-discoverability-guide.md` Example typed ID change (§11) — `doc:m-tools#gap-analysis` → `doc:m-dev-tools#m-tool-gap-analysis`

Verification (all green)

  • `make check-docs-prose` — `docs/history/` holds only `.md` prose ✓
  • `make validate-catalog` — tools.json + task_index.json schema-strict ✓
  • `make catalog` — byte-idempotent; `m-tools` stays gone (regen confirms)
  • `pytest profile/build/` — 26/26 ✓
  • `make phase0-smoke` — PASS ✓

Test plan

  • All local gates green
  • CI green on this PR

…s/history/

The m-tools repo on GitHub is archived. Three design documents in it
are still load-bearing — they're the *why* behind the m-dev-tools
ecosystem's shape (Go/Rust/Python toolchain analogy that drove m-cli's
CLI ergonomics, Tier-1 strategy that scoped the first m-cli release,
phased remediation roadmap that produced both m-cli and m-stdlib).
Routing agents at a repo we no longer maintain — and one GitHub could
prune at any time — is brittle.

Resolution per AI-discoverability-plan.md §8 non-goal #4 ("rehost its
docs in .github/docs/history/ or drop them from tools.json"):
rehost, not drop.

Changes:

- docs/history/ — verbatim copies of three preserved docs:
  - gap-analysis-and-remediation-strategy.md
  - m-tool-gap-analysis.md
  - m-tooling-tier1.md
  Plus a README.md documenting the provenance policy and the explicit
  exclusion of implementation.md + ydb-dev-tools-gap-analysis.md.
  Each preserved doc carries a single `> Archived snapshot.` banner
  after the H1 citing upstream commit 16fe3f7 (2026-04-27).

- profile/tools.json: dropped the `m-tools` entry (was `status:
  archived`, no manifest by design); build-catalog's archived-carryover
  no longer triggers for it since the prior tools.json doesn't list it.

- profile/task_index.json: retargeted the three `history` category
  intents from `tool:m-tools` to typed-ID `doc:m-dev-tools#<filename>`
  and the new in-org doc URLs.

- profile/README.md, docs/AI-discoverability-plan.md,
  docs/AI-discoverability-guide.md: cross-references retargeted at the
  in-org paths.

Equivalent to the original chore/rehost-archived-m-tools-docs work
(PR #14), rebuilt on top of post-P1-A/P1-D state. PR #14 conflicted
heavily on profile/tools.json because it was authored against
pre-P1-A baseline.

Verification:
- make check-docs-prose      ✓ (docs/history/ holds only .md prose)
- make validate-catalog      ✓ (tools.json + task_index.json strict-validate)
- make catalog               ✓ (regen is byte-idempotent; m-tools stays gone)
- 26/26 pytest in profile/build/
- make phase0-smoke          PASS
@rafael5 rafael5 merged commit feb7a40 into main May 11, 2026
1 check passed
@rafael5 rafael5 deleted the chore/rehost-archived-m-tools-docs-v2 branch May 11, 2026 03:42
rafael5 added a commit that referenced this pull request May 11, 2026
Phase 3 launch state captured. Both upstream blockers from §0 closed:

- Phase 1 (org routing layer) CLOSED 2026-05-10 — A/B/C/D all merged
  (PRs #10/#11/#12/#16); make catalog + make validate-catalog green
  in CI; make catalog byte-idempotent against origin/main.
- Phase 2 (tier-2 + tier-3 manifests) CLOSED 2026-05-10 — all 3 tier-2
  + all 3 tier-3 repos onboarded same day; tools.json carries 9
  manifest-bearing entries; m-tools archived holdout rehosted under
  docs/history/ via PR #17.

§0 status column refreshed; verification commands inlined so any
future session can re-confirm the launch state without spelunking
git history. Recipe 7's MCP-server soft-dep noted as Phase-4
follow-up but not gating.

Pure documentation change; no plan-structure edits beyond §0. Tracks
A → B+C+D → E and stage matrices unchanged.
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