refactor: self-contained flow pipeline and pi workflow bridge - #23
Merged
Conversation
- add repo-arch init + flow run/inspect as the stable happy path - write versioned run artifacts (manifest, history, cards, dataset, train plan, eval) - add repo-arch.config.json bootstrap and config resolution - make embedding cache model-aware - ship pi skill + extension suggestions for repo-arch workflow
bearmug
force-pushed
the
feature/flow-pipeline
branch
from
May 14, 2026 21:19
256592a to
57bf6f4
Compare
bearmug
marked this pull request as ready for review
May 14, 2026 21:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Make repo-arch a cleaner self-contained CLI flow with explicit subcommands and no flag-based modes.
CLI shape
repo-arch init— write a starter configrepo-arch flow run— prepare history/cards/dataset/train planrepo-arch flow run full— include embeddings + evalrepo-arch flow inspect— inspect the latest runrepo-arch train prepare— export training planrepo-arch train cycle— continue the persistent training looprepo-arch train resume— resume from the latest checkpointrepo-arch train status— inspect training session staterepo-arch train list— list training sessionsrepo-arch train run— execute one-shot LoRA trainingWhat changed
--full,--run-train, and--runflags from the public flow/train surfacesrc/config.tsandsrc/flow.tsfor a versioned run contract.repo-arch/runs/<run-id>/piskill + extension bridge for guided workflow suggestionsnpm,git, andpi -eexamples)repo-archshim works correctlyValidation
npm run typechecknpm testnpm run buildruby -e "require 'yaml'; YAML.load_file('.github/workflows/publish.yml'); puts 'yaml ok'"Notes
The CLI stays the source of truth; the pi skill/extension are thin guides over the same contract.