Skip to content

chore(hygiene): doc + contractile currency pass and rot/unused sweep #483

Closed as not planned

Description

@hyperpolymath

Category

Catch-all hygiene currency from the 2026-06 sweep — the parts not done inline.

Scope (hypatia / gitbot-fleet / .git-private-farm)

  1. README / EXPLAINME accuracy pass — verify content matches current main. (Nix-currency + the .git-private-farm broken-homepage README dedup are already done in Scorecard/code-scanning findings recur estate-wide: Hypatia never closes the alert-lifecycle loop #260/SLSA / self-verifying-ref pin-exemption registry (remove harmful SHA mapping) #262/chore: eliminate residual Nix references — Guix-only #446/chore(deps): bump aquasecurity/trivy-action from 0.34.2 to 0.35.0 #72; this is the broader content audit.)
  2. Contractile currency — audit Just / Must / Adjust contractiles for staleness. Not Trust / Intent (held territory in the merge-orchestration realignment).
  3. Rot / unused sweep — systematically find pointless/dead directories + unused code. (The README.md dup + orphan flake.lock gitattributes were cleared opportunistically; no systematic pass yet.)

Out of scope (held — other session's realignment)

6a2 STATE/META/ANCHOR, trust/intend contractiles, bot_directives.

Activity

  1. hyperpolymath commented on Aug 7, 2026

    @hyperpolymath
    OwnerAuthor

    Substantially done 2026-08-07. The doc-currency pass landed; what remains is enumerated rather than left implicit.

    Fixed:

    • README.adoc 562 → 177 lines. Removed a 135-line Haskell-registry section (no registry/, no .hs file exists), a Logtalk engine section (purged 2026-04-14), full ArangoDB + Dragonfly architecture (37 lines after the Overview says ArangoDB was ditched), a phantom repo tree, and a Phase 1-4 roadmap contradicting ROADMAP.adoc. Install said sudo mv hyper /usr/local/bin — the binary is hypatia. Confidence tiers were quoted 0.95/0.80/0.50 against the real 0.95/0.85.
    • .claude/CLAUDE.md — every load-bearing count was wrong by 3-16x (8 core modules → 133, 5 neural networks → 8, 8 GenServers → 24, 7 Zig exports → 18, 3-row VCL table → 7). Deleted the metrics block outright: it had no producer, so it had been copied into five documents and drifted into six mutually inconsistent repo counts (283/292/298/300/302/407). Known Gaps listed three already-resolved items, sending agents to redo finished work.
    • New: docs/rules/catalogue.md + scripts/gen-rule-catalogue.sh — 33 rule modules, 13 ID families. No rule reference existed anywhere; it is now generated from source.
    • New: docs/DEBT-REGISTER.md — evidence-backed, supersedes tech-debt-2026-05-26.md.
    • Deleted ARCHITECTURE.md, GOVERNANCE.md, MAINTAINERS — one unrelated boilerplate drop (e596587), referenced by nothing, contradicting the project (MAINTAINERS named a different person than MAINTAINERS.adoc).
    • just crg-grade/crg-badge had never worked — grepped a root READINESS.md that does not exist and used $$(...), a shell syntax error. Both run now.
    • root_hygiene.ex — hypatia was failing its own root-hygiene rule on four authored files. Now self-conformant.

    Still open (deliberately not attempted here):

    • ~41 surviving Logtalk/SWI-Prolog references across docs/guides/, docs/security/, docs/EXPLAINME.adoc — including an install runbook that says # Install SWI-Prolog and Logtalk, and 7 .audittraining/security-errors/*.md corpus files carrying logtalk blocks that teach agents to write it. This is the remainder of chore(logtalk): categorized purge of stale Logtalk/SWI-Prolog references (engine retired → Elixir) #636.
    • trufflehog still executing in security-policy.yml:94-95, 520-531 despite fix(ci): drop the leftover trufflehog step — the estate retired it for gitleaks #675 retiring it estate-wide.
    • docs/EXPLAINME.adoc claims Julia neural networks (zero .jl files) and hard-codes CLAUDE.md line numbers that have since moved.
    • docs/README.adoc indexes ~60 of 113 files; docs/status/ is absent entirely.
    • 17 dead link:/markdown targets and 6 stale docs/operations/ paths in ROADMAP.adoc.
    • docs/api/cli-reference.adoc documents six commands the CLI rejects (fleet, hooks, deposit, withdraw, search, config).

    Leaving this issue open for that remainder, or close it and let #636 carry the Logtalk purge — your call.

  2. added
    tech-debt
    and removed on Aug 26, 2026
  3. added
    priority:p2
    scope:estate
    status:ready
    on Sep 30, 2026
  4. hyperpolymath commented on Sep 30, 2026

    @hyperpolymath
    OwnerAuthor

    Consolidated into the roadmap tracker #886 during the 2026-09-30 issue sweep. The idea is kept there as a checklist item; reopen this issue when work starts.

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

    priority:p2scope:estatestatus:readytech-debt

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions