Skip to content

docs: scrub stale cli.py / _bin/ references after #7#12

Merged
zackees merged 1 commit into
mainfrom
fix/11-doc-drift
Jun 22, 2026
Merged

docs: scrub stale cli.py / _bin/ references after #7#12
zackees merged 1 commit into
mainfrom
fix/11-doc-drift

Conversation

@zackees

@zackees zackees commented Jun 22, 2026

Copy link
Copy Markdown
Owner

Summary

Followup to #7 (raw wheel script) and #9/#10 (test + gate cleanup). Same failure shape as fbuild#748 — a refactor that was correct at the wheel-build level but left documentation describing the dead shape. #9 fixed the runtime tools; this PR fixes the human-reader entry points.

Files updated: README.md, CLAUDE.md, ENHANCE.md, crates/template-cli/README.md, docs/ARCHITECTURE.md, docs/RELEASE.md. All references to cli.py (deleted in #7) and the _bin/ staging directory (also gone in #7) replaced with the actual current shape (cargo → maturin → inject into .data/scripts/).

Test plan

  • grep -rn '_bin\|template_python_rust_cmd\.cli\|cli\.py' in docs returns only historical-context references (acceptance-criterion-allowed).
  • ./ci.sh test → 34 pass, 2 skip.
  • ./ci.sh action_yaml → ok.
  • ./ci.sh action_surface → ok.
  • No code changes; only Markdown.

Closes #11. Refs #7, #9, fbuild#748.

🤖 Generated with Claude Code

Followup to #7 (raw wheel script) and #9/#10 (test + gate cleanup). #9
fixed the tools that broke at runtime; this PR fixes the docs that
broke at the human-reader level. Same failure shape as fbuild#748: a
packaging refactor was correct at the wheel-build path but downstream
readers walking artifacts a different way still saw the dead shape.

Files touched (doc-only; no behavioral change):

- README.md: tree diagram no longer shows cli.py/_bin/. Packaging
  section describes the actual raw-wheel-script mechanism.
- CLAUDE.md: agent-routing doc now describes the post-#7 wheel layout
  + the pinned CARGO_TARGET_DIR build pipeline. No more cli.py shim
  invariants.
- ENHANCE.md: invariants updated — "no Python shim, raw wheel script,
  re-adding [project.scripts] would re-introduce the Windows os.execv
  race" replaces the old shim invariants.
- crates/template-cli/README.md: describes the inject_cli_into_wheel
  step instead of the deleted _bin/ staging step.
- docs/ARCHITECTURE.md: package contents accurately reflect what's
  actually in src/template_python_rust_cmd/ today (no cli.py listed).
- docs/RELEASE.md: build_wheel.py described as cargo → maturin →
  inject into .data/scripts/, not stage into _bin/.

Verified:
- `grep -rn '_bin\|template_python_rust_cmd\.cli\|cli\.py' README.md
  CLAUDE.md ENHANCE.md docs/ crates/template-cli/README.md` returns
  only historical-context references explicitly explaining the
  migration (acceptance-criterion-allowed).
- `./ci.sh test` → 34 pass, 2 skip.
- `./ci.sh action_yaml` → ok.
- `./ci.sh action_surface` → ok.

Closes #11. Refs #7, #9, fbuild#748.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@zackees zackees merged commit ca54452 into main Jun 22, 2026
@zackees zackees deleted the fix/11-doc-drift branch June 22, 2026 07:15
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.

Docs still describe deleted cli.py + _bin/ layout (followup to #7/#9)

1 participant