Repository navigation
feat(dev): add credential-free local AI development - #152
Merged
Merged
Conversation
Fallow audit reportReview needed Found 5 findings: Dependencies 2, Health 3. Dependencies (2)
Health (3)
Generated by fallow.
|
| "@oxlint/plugins": "1.88.0", | ||
| "@types/bun": "latest", | ||
| "@types/node": "^26.6.6", | ||
| "emulate": "0.14.0", |
| "oxlint-tsgolint": "7.0.2005", | ||
| "typescript": "7.0.2" | ||
| "typescript": "7.0.2", | ||
| "zod": "4.6.7" |
| .flatMap((block) => (block.type === "text" ? [block.text] : [])) | ||
| .join(""); | ||
|
|
||
| async function transportSmoke() { |
| ); | ||
| } | ||
|
|
||
| async function applicationSmoke() { |
| ); | ||
| }; | ||
|
|
||
| const observe = async (id: string, accept: (chat: Snapshot) => boolean) => { |
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
Add an opt-in Emulate-backed local development profile so bot chat and local tools can be exercised without live provider credentials.
bun run dev:emulatestarts Crumble and Emulate on loopback with isolated, persistent development data and a preconfigured local provider.history_search, provider errors, and stoppable stalled streams through Pi's real HTTP transport.bun run check:emulate, never in CI.This provides scripted behavior, not real inference or emulation of workspaces and external integrations.
Evidence
bun run check: 1,332 passed, 118 skipped after integrating currentmainand removing Fallow.bun run check:emulate: passed, including streaming, actual tool execution, abort delivery, strict rejection, no fallback, restart persistence on a new endpoint, and occupied-listener preservation.Risk & Rollback
Reversibility: Reversible; no schema migration or public API contract change.
Blast Radius: The opt-in local development profile, account model-catalog construction, and repository analysis tooling.
Normal application startup retains its existing behavior. Local process startup/cleanup and scenario-provider compatibility are the main runtime risks. Reverting the change restores prior behavior; ignored local profile data can remain. Removing Fallow also removes its analysis and boundary checks; lint, formatting, type checks, tests, and documentation checks remain enabled.