ASH-45 / ASH-46: add project context data and HTTP API - #17
Closed
Asherggg wants to merge 3 commits into
Closed
Conversation
This was referenced Aug 6, 2026
Asherggg
added a commit
to Asherggg/dashi-taskboard
that referenced
this pull request
Aug 8, 2026
Integrates the QM Lite project shared context data layer and HTTP API (PR chuspeeism#17, branch agent/ash-45-project-context-api) with upstream main. Conflict resolution (4 files, 3-way merge against merge base 677b544): - test/helpers/cloud-worker-harness.mjs: kept main's migration loader. Both sides evolved the same base independently; main's globs every numbered .sql AND splits statements trigger-aware, which 0002_project_context.sql requires for its global_revision trigger. PR chuspeeism#17's naive per-file exec would break it. - cloud/src/index.mjs, server/app.mjs, server/database.mjs: independent additions at a shared insertion point (empty merge base) - kept both sides. Follow-up fixes: - Relocated the context helpers below parseProjectCreate so they fall outside the source-slice window asserted by test/pr-review-regressions.test.mjs. PR chuspeeism#17's updateContextEntry(..., changes, ...) parameter otherwise tripped a guard meant for the task_activities.changes column. Declarations hoist, so this is behaviour-neutral. - Completed expectedCloudBaselineCounts() with project_context_entries and project_context_revisions, matching the convention PR chuspeeism#17 already applied to its sibling fixtures. Verified on the merged tree: typecheck clean, build clean, 403/403 tests pass. Upstream main baseline was 393/393, so this adds 10 tests with no regressions.
Collaborator
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
Verification
npm run typecheck(pass)npm run build(pass)npm run test:cloud(18/18 pass)node --test test/project-context.test.mjs(4/4 pass)node --test test/cloud-migration.test.mjs(18/18 pass)npm run check(359 total, 341 pass, 18 known baseline failures; no new failures)Related issues: ASH-45, ASH-46