Skip to content

chore: prune docs/ bloat — keep only screenshots, fix cross-link rot#551

Merged
MartinCastroAlvarez merged 1 commit into
mainfrom
chore/prune-docs-bloat
May 28, 2026
Merged

chore: prune docs/ bloat — keep only screenshots, fix cross-link rot#551
MartinCastroAlvarez merged 1 commit into
mainfrom
chore/prune-docs-bloat

Conversation

@MartinCastroAlvarez
Copy link
Copy Markdown
Owner

Follow-up to #550 (the React-super-layer collapse). After the local API was deleted, most of docs/ either described it or was agent-governance overhead that no longer applies in sole-agent mode.

Deleted (47 files)

Path Why
docs/agents/ Agent governance — sole-agent mode now.
docs/api-contract.md Wire contract; belongs in django-admin-rest-api repo.
docs/extensions.md Was already "not yet implemented"; impl lives in API repo.
docs/threat-model.md Per-endpoint threat surface is now an API-repo concern.
docs/data-layer.md Frontend internals; code is its own doc.
docs/ux/, docs/consumer/ PM-agent internal docs.

Kept

  • docs/screenshots/ (6 PNGs + README) — referenced by README for the PyPI landing page.
  • docs/README.md — trimmed to a one-paragraph pointer.

Cross-link rot fixed

Verification

Tier 1 (docs only).

🤖 Generated with Claude Code

Owner directive: minimal docs, focused on shipping. After #550 collapsed
this repo to the React-super-layer, most of `docs/` either described
the local API (now gone, in `django-admin-rest-api`) or agent
governance (sole-agent mode now).

## Deleted (47 files)
- `docs/agents/` — agent governance, autonomy policy, decisions log, PR
  workflow, per-role subdirs. None of it applies in sole-agent mode.
- `docs/api-contract.md` — wire contract for `django-admin-rest-api`;
  belongs in that repo, not duplicated here.
- `docs/extensions.md` — extension API doc that was already marked
  "not yet implemented" + the wiring lives in the API repo.
- `docs/threat-model.md` — STRIDE threat model. SECURITY.md is the
  durable security document; per-endpoint threat surface is now an
  API-repo concern.
- `docs/data-layer.md` — frontend data-layer internals; SPA-only and
  the code is its own documentation.
- `docs/ux/` — UX principles / nav / responsive / a11y / PWA. Was the
  PM agent's internal doc — sole-agent mode has no PM agent.
- `docs/consumer/` — pilot requirements; internal-only.

## Kept
- `docs/screenshots/` (6 PNGs + README) — referenced from `README.md`
  for the PyPI landing page.
- `docs/README.md` — trimmed to a 1-paragraph pointer at the screenshots
  + the root docs.

## Cross-link rot fixed
- `README.md`: dropped the "see `docs/extensions.md`" ref (API-repo
  concern) and "Full wire contract: `docs/api-contract.md`" (the API
  repo owns it).
- `ARCHITECTURE.md`: dropped 3 references to deleted docs/ files
  (decisions log, M2M ADR pointer, `installation.md`).
- `SECURITY.md`: surgically removed every ref to `docs/agents/`,
  `docs/threat-model.md`, `tests/test_security.py` (deleted with the
  API in #550), and the now-obsolete CI-revisit prose. The §10
  cross-references now point at README + ARCHITECTURE + the API
  repo's SECURITY.

## Verification
- 42 SPA tests pass (unchanged from #550).
- No remaining dead `docs/*` references in any of the 4 surviving
  root `.md` files.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@MartinCastroAlvarez MartinCastroAlvarez deleted the chore/prune-docs-bloat branch May 28, 2026 13:10
@MartinCastroAlvarez MartinCastroAlvarez restored the chore/prune-docs-bloat branch May 28, 2026 13:10
@MartinCastroAlvarez MartinCastroAlvarez merged commit 418a730 into main May 28, 2026
9 checks passed
@MartinCastroAlvarez MartinCastroAlvarez deleted the chore/prune-docs-bloat branch May 28, 2026 13:14
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.

2 participants