Skip to content

Docs: eliminate temporary work-document sprawl and enforce lifecycle boundaries #9681

Open

Description

@Git-on-my-level

Goal

Reduce documentation sprawl without deleting durable product, developer, or operational knowledge. This issue is the source of truth for the cleanup; do not add another audit report under docs/.

Audit findings

The Mintlify navigation serves docs/doc/** and API reference material. The following internal trees are not part of that public documentation surface:

  • docs/epics/**
  • docs/operational/**
  • docs/rollout/**
  • docs/superpowers/specs/**

The audit also found root-level Ray-Ban documents that are not located with the hardware/developer docs.

Delete after transferring active work to issues

  • docs/superpowers/specs/2026-06-03-desktop-meeting-gated-system-audio-design.md — dated implementation design, not an enduring user/developer reference.
  • docs/operational/systemic_bug_hardening.md — its durable bug-fix guidance now belongs in AGENTS.md and executable checks.
  • docs/rayban-meta-founder-acceptance.md — time-bound founder acceptance checklist.

Split/migrate, then delete

  • docs/epics/memory_firestore_iam_deployment.md
  • docs/epics/memory_rollout_schema_migration.md
  • docs/epics/memory_app_key_memory_grants_readiness.md
  • docs/epics/memory_mcp_app_key_scope_readiness.md
  • docs/epics/memory_vector_repair_outbox_cloud_deployment_contract.yaml

Move durable deployment/runtime instructions into actual code-owned config or a current runbook; move progress, readiness, and open work into issues.

Preserve the contract, but consolidate its location

  • docs/epics/memory_normative_architecture.md and docs/memory/domain_model.md contain real memory-domain contracts. Consolidate them under the product-invariant/domain-model surface; do not delete their content.
  • docs/operational/memory_readiness_evidence_markers.md is consumed by backend scripts/tests. First replace it with structured test/deploy metadata, update every consumer, then delete it.
  • docs/rollout/memory-v3-proof-order.md is referenced by backend/AGENTS.md. Move standing rollout policy into the applicable runbook, move the current-candidate/status material into an issue, update the reference, then delete it.
  • docs/rayban-meta-device.md, docs/rayban-meta-troubleshooting.md, and docs/rayban-meta-dat-setup.md are durable hardware/developer material; move them into the corresponding documentation tree rather than deleting them.

Proposed AGENTS.md guardrail

Add concise, enforceable rules:

  1. Docs are only for durable public/developer docs, product invariants, or current executable runbooks. Audits, plans, acceptance checklists, readiness/status reports, and handoffs belong in GitHub issues or PRs.
  2. A temporary checked-in rollout artifact is allowed only when code/tests consume it; it must live under docs/rollout/ and declare LIFECYCLE plus DELETE-AFTER: <issue URL>.
  3. Add a diff-scoped preflight check that rejects new work-doc names/paths (docs/epics, docs/operational, docs/superpowers, dated audit/report files), while allowing the existing legacy inventory until migration.

Acceptance criteria

  • No new temporary work/audit/status docs can enter docs/ without the explicit lifecycle exception.
  • The documentation guardrail is in AGENTS.md and enforced by a diff-scoped preflight check.
  • Each listed file has a delete, migrate, or retain-with-owner disposition.
  • Code/test references move to structured configuration or durable runbooks before their source documents are deleted.
  • Public and durable developer/hardware documentation remains discoverable from its correct documentation tree.
  • The cleanup PR contains no new prose audit document.

Activity

  1. added
    docs-tooling
    p3
    and removed
    docs-tooling
    p3
    on Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docs-toolingp3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions