Scaffold deterministic graph-based corporate conversation trainer#1
Merged
Merged
Conversation
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.
Motivation
Description
package.json,tsconfig.base.json,.github/workflows/ci.yml,docker-compose.yml,README.md).apps/api/src/graph/engine.tswith deterministic traversal priority (exact/button→regex→intent(cosine similarity) →fuzzy(Levenshtein)), context/history updates, and action execution (setVariable/increment).apps/api/src/graph/loader.ts), SQLite persistence and schema (apps/api/src/db/index.ts), and conversation lifecycle services (startConversationandsendMessageinapps/api/src/services/conversationService.ts) with interaction logging.apps/api/src/routes/conversations.ts,apps/api/src/routes/scenarios.ts) and added three sample scenario JSONs underapps/api/src/scenarios/plus a unit test for the engine (apps/api/src/graph/engine.test.ts).apps/web/src/*) and shared TypeScript types and a basic JSON schema package underpackages/*.docs/adr/0001-deterministic-graph-engine.md),README.md, and a CI workflow that runsnpm install,lint,test, andbuild.Testing
apps/api/src/graph/engine.test.ts) that exercise exact-match transitions and action-based variable updates but these tests were not executed in this environment.npm installto run lint/tests/build, but the install failed with anHTTP 403 Forbiddenerror against the registry which prevented runningvitestor CI steps locally..github/workflows/ci.yml) to runnpm install,npm run lint,npm run test, andnpm run buildon push/pull requests once registry access is available.Codex Task