f/i staged development plan for Reposystem — the railway yard for your repository ecosystem.
- Vision
- Current Status (2026-01-26)
- Technology Stack
- f/i Staged Plan
- f1 — Freeze: MVC Graph + Tagging + Export
- i1 — Seam Review: Graph ↔ Evidence ↔ Export
- f2 — Freeze: Slots/Providers Registry
- i2 — Seam Review: Slot Model ↔ Aspect Model
- f3 — Freeze: Plan Generation + Dry-Run Diff
- i3 — Seam Review: Plan ↔ Apply ↔ Rollback
- f4 — Freeze: Apply + Rollback Execution
- f5 — Freeze: Interactive UI (TUI + Web)
- f6 — Freeze: GUI Railway Yard (Polish)
- Docs & OPSM Next Steps
- "Hello Yard" Milestone
- MVP Definition
- Existing Tool Mapping
- Gap Analysis
- Success Criteria
- OPSM Integration
A visual wiring layer that sits above individual repos, allowing you to:
-
Import repositories (yours + upstreams)
-
Identify components/slots/providers
-
Rewire projects by switching providers (local ↔ ecosystem ↔ fallback)
-
Tag with aspects (security, reliability, etc.) and flip views
-
Reason about the dependency graph including contingency paths
Reposystem is in implementation phase with the core pipeline complete:
-
Local scan + graph store + JSON/DOT export
-
Slots/providers/compatibility registry
-
Plans, diffs, rollback + apply/audit flow
-
TUI explorer
-
Web UI prototype (static graph explorer, ER mode, annotations)
| Layer | Language | Notes |
|---|---|---|
Core data model |
Rust |
Graph store + persistence |
CLI + TUI |
Rust |
Cross-platform with Ratatui for TUI |
State files |
Guile Scheme |
STATE.scm, META.scm, ECOSYSTEM.scm |
Web UI (prototype) |
HTML/CSS/JavaScript |
No-build static UI under |
Graph export |
DOT/SVG + JSON |
Standard formats |
-
✓ Repo importer — Import from local folder of git clones
-
✓ Persistent graph store — Nodes, edges, groups in JSON
-
✓ Manual edges — Create relationships between repos
-
✓ Manual groups — Cluster repos into logical units
-
✓ Manual aspect tags — Tag nodes/edges with aspects
-
✓ View filters — Filter by group, by aspect
-
✓ Export DOT — Graphviz-compatible output
-
✓ Export JSON — Machine-readable graph export
-
✓ Re-import fidelity — Re-import exported JSON → identical graph
-
✓ Lightweight auto-suggestions (non-authoritative)
-
✓ Basic edge auto-detection from config/imports
-
✓ Graph determinism check
-
✓ Tag provenance check
-
✓ Export fidelity check
-
✓ Slot definitions — Declare what can be swapped
-
✓ Provider definitions — Declare what provides a slot
-
✓ Repo-to-provider links — Provider X is implemented by repo Y
-
✓ Slot/provider overlay in graph — Visual indication
-
✓ Provider substitution invariants
-
✓ Aspect attachment invariants
-
✓ No hidden edges
-
✓ Create plan from scenario — Choose switches, generate plan
-
✓ Dry-run diff — Show intended file changes as patches
-
✓ Rollback plan — Define reversal (even if not executed yet)
-
✓ Validate plan against compatibility + smoke-test hooks (declared)
-
✓ Risk assessment per edge change
-
✓ Plan replayability
-
✓ Diff accuracy
-
✓ Rollback completeness
-
✓ Apply plan — Execute changes to repos
-
✓ Rollback — Revert to previous state
-
✓ Audit log — Record all applied changes
-
✓ Switch toggles (local/ecosystem/auto)
-
✓ Preview diffs before apply
-
✓ Show risk flags per change
-
✓ Keyboard navigation
-
✓ Mouse support
-
Refresh documentation across the stack — Update README, ROADMAP, and the six machine-readable SCM files (
STATE.scm,ECOSYSTEM.scm,META.scm,PLAYBOOK.scm,AGENTIC.scm,NEUROSYM.scm) so the current status, blockers, and next actions are explicit for both humans and agents. -
Populate GitHub wiki — Publish developer, platform maintainer, scientist, and layperson sections for Reposystem + Git Dispatcher so contributors can quickly understand the architecture, the OPSM relationship, and the documentation expectations (ASCII diagrams, licensing notes, accessibility goals).
-
Align with OPSM / opsm-ui — Ensure
opsm.toml,Mustfile, and integration-notes cross-reference the OPSM strategy and share the same indigo + high-contrast branding; add explicit references toopsm-ui,git-hud,git-dispatcher, and theodds-and-sodspackage manager in doc artifacts. -
Accessibility + branding — Document the requirements (2.3 AA contrast, keyboard + screen-reader support, crow’s-foot ER mode, zoom/snap controls) inside the roadmap and README so downstream UIs know what to maintain.
-
Dependency hygiene campaign — Track and reduce open Dependabot backlog in highest-load repos first (for example
academic-workflow-suite,pow-the-game,affinescript,candy-crash), then fold recurring updates into grouped automation policies.-
❏ Contingency paths visualisation
-
❏ Multi-user collaboration
-
-
Import repos from local folder
-
Create graph (nodes = repos, edges = relationships)
-
Group repos manually
-
Tag nodes/edges with aspects manually
-
"Flip view" to show chosen aspect
-
Export to DOT + JSON
Where existing tools can help:
| Component | Existing Tool | Notes |
|---|---|---|
Graph visualization |
Graphviz, D2, Mermaid |
DOT export target |
TUI framework |
Ratatui (Rust) |
Terminal UI |
Diagramming reference |
Structurizr, PlantUML |
Concept inspiration |
What doesn’t exist yet (the value proposition):
| Gap | What Reposystem Provides |
|---|---|
Multi-repo component graph |
Graph of repos + components + programmable switches |
Aspect tagging |
Orthogonal view layers on dependency graph |
Component substitution with rollback |
Built-in provider swap with reversibility |
Scenario comparison |
A/B testing with aspect impact analysis |