Skip to content

WP2: Swarm history purge (untrack .vreko-swarm archives + state/, delete .devagents, .qoder, swarm-assets genesis dump) #9

Description

@qmarcelle

Finding

.vreko-swarm/ is ~70% history (800 of 1,138 tracked files). Live core is ~120 files. Plus SnapBack-era precursors and orphaned editor copies are tracked and drifted.

Targets:

  • Untrack under .vreko-swarm/: archive/ (279), archived specs (~200 of 357), ~90 dead campaign dirs, knowledge/repowiki (147, duplicate of .devagents/repowiki), session by-products (audits/, activations/, tasks/, dogfood/, dispatch/, merge-plans/, status/, outreach/, drift-checks/).
  • Untrack .vreko-swarm/state/ (incl. current.json): live mutable coordination state churning every session, matches the canon-portability ledger direction.
  • Delete .devagents/ (295 files, SnapBack-era precursor, nothing consumes it).
  • Delete .qoder/ (3 files, orphaned .claude/skills copies for an abandoned editor).
  • Dedupe .vreko-swarm/molds/contracts/ vs swarm-assets/molds/contracts/ (same 4 files, drifted); relocate swarm-assets/observability/ (live) under .vreko-swarm/ or scripts/, drop the rest of swarm-assets/ genesis dump.
  • Residue: tracked package-lock.json + on-disk node_modules inside molds/contracts/.

Preserve live core: agents/, scripts/, meta-canon.md, docs/, audit-templates/, role-prompts/, guards/, protocols/, config/.

Action

Untrack (keep on disk where mutable, e.g. state/) via git rm --cached + gitignore; delete the dead precursors. Verify only exclusion-pattern references point at the removed dirs before acting.

Acceptance

  • git ls-files .vreko-swarm | wc -l drops toward the ~120 live-core count
  • .vreko-swarm/state/ gitignored; git check-ignore .vreko-swarm/state/current.json returns the path
  • .devagents/ and .qoder/ absent from git ls-files
  • No script or workflow references a removed path (grep evidence per dir in commit)

Note

Prerequisite for the generic-swarm extraction (Theme 6): extracting while 70% is dead history would port the debt. Audit source Theme 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions