Repository navigation
Conversation
BIDSvue can be launched by a NeuroFlow runtime as a workflow step. The runtime sets NEUROFLOW_SESSION and writes context.json there; when the step finishes the tool writes neuroflow.handoff.json in its output directory and appends a line to the session's provenance.jsonl. This adds the plumbing only; nothing calls it yet, so every normal launch is unchanged. - Rust commands: neuroflow_context, neuroflow_session_path, neuroflow_mint_path_token, neuroflow_write_handoff, neuroflow_append_provenance. Outside NeuroFlow (NEUROFLOW_SESSION unset) the reads return null and the writes refuse. - $lib/neuroflow/contract: host-independent context parsing and the handoff and provenance record bodies, with unit tests. - $lib/neuroflow/session: typed wrappers over the commands. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 13, 2026
Contributor
Author
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.
Part 1 of 5 of making BIDSvue a NeuroFlow ingest tool. A NeuroFlow runtime launches a tool with
NEUROFLOW_SESSIONset and acontext.jsonthere; when the step finishes the tool writesneuroflow.handoff.jsonin its output directory and appends a line to the session'sprovenance.jsonl.This PR adds the plumbing only. Nothing calls it yet, so every launch behaves as before.
src-tauri/src/lib.rs):neuroflow_context,neuroflow_session_path,neuroflow_mint_path_token,neuroflow_write_handoff,neuroflow_append_provenance. Outside NeuroFlow the reads return null and the writes refuse.$lib/neuroflow/contract: context parsing and the handoff and provenance record bodies, with no host dependency, plus unit tests.$lib/neuroflow/session: typed wrappers over the commands.Stack (merge in order; each PR is based on the one before):
Checks
bun testbun run typecheckbun run lintcargo check(src-tauri)🤖 Generated with Claude Code