feat: wire CLI to core engine#6
Merged
Merged
Conversation
Replaces all println! stubs in pincher-cli with real pincher-core
function calls:
- status → ReflexEngine::get_status()
- teach → ReflexEngine::teach() interactive loop
- do → ReflexEngine::do_command() with full match pipeline
- pack → migration::pack_nail() with tar.zst archive
- unpack → migration::unpack_nail() with checksum verification
- run → verify_nail() + unpack + ReflexEngine::do_command()
- doctor → Real checks: SQLite, bwrap, embedder, disk, load, fingerprint
- reflexes → Database::get_all_reflexes()
- shell-info → migration::fingerprint() + fingerprint_hash()
- bench → Embedder::embed() latency benchmark
- compile → Workspace-aware compilation guidance
- gastrolith → Create/validate/migrate checkpoint management
- version → env!("CARGO_PKG_VERSION")
Also fixed sqlite-vec KNN query: LIMIT N → k = N syntax.
No new dependencies added.
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.
Replaces all println! stubs in pincher-cli with real pincher-core function calls.
Wired Commands
statusReflexEngine::get_status()teachReflexEngine::teach()interactive loopdoReflexEngine::do_command()full match pipelinepackmigration::pack_nail()tar.zst archiveunpackmigration::unpack_nail()checksum verificationrundoctorreflexesDatabase::get_all_reflexes()shell-infomigration::fingerprint()+ fingerprint_hash()benchEmbedder::embed()latency benchmarkgastrolithBonus Fix
Fixed sqlite-vec KNN query:
LIMIT N→k = Nsyntax (the vec0 virtual table requires this).Technical