feat(dag): integrate optimized DAG core contract#3142
Open
Zpankz wants to merge 9 commits into
Open
Conversation
Implements the full DAG core integration slice: - Migration 108: dag_event, dag_record_projection, dag_link_projection, dag_fact_projection, dag_citation_chain_projection, dag_conflict_state, dag_schema_dependency tables - internal/dagcore: pure Go DVT causality, event validation, inverse-link detection, acyclic schema validation, deterministic fact ordering, citation-chain validation, contradiction detection, concurrent field conflict detection - internal/daggraph: graph analysis (cycles, topological sort, critical path) - internal/service/dag: transactional AppendEvent with projection maintenance - cmd/backfill_dag: one-shot backfill from issue/issue_dependency into DAG - internal/handler/dag: POST /api/dag/events, GET /api/dag/analysis - e2e/dag-api.spec.ts: Playwright E2E tests (4 tests pass) - sqlc queries and generated models for DAG tables All server tests pass (except pre-existing repocache failure). E2E validated against live backend. 👾 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta Code <noreply@letta.com>
|
@Zpankz is attempting to deploy a commit to the IndexLabs Team on Vercel. A member of the Team first needs to authorize it. |
issue_dependency does not have a workspace_id column. Join with issue table to resolve the correct workspace for each dependency. 👾 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta Code <noreply@letta.com>
Automatically append DAG events when issues are created, updated, or deleted: - CreateIssue: emits OperationCreate after tx commit - UpdateIssue: emits OperationUpdate with changed fields (status, priority, title, assignee) after successful update - DeleteIssue: emits OperationDelete (tombstone) after deletion Uses fire-and-forget goroutine so DAG projection never blocks HTTP response. Errors are logged but not surfaced to the caller. Adds DAGService field to Handler struct, initialized in New(). 👾 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta Code <noreply@letta.com>
Restructures docs to reflect completed vs future work. All 8 implementation items are now marked complete. 👾 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta Code <noreply@letta.com>
Adds getDAGAnalysis() and appendDAGEvent() to ApiClient, plus DAGAnalysisResponse and DAGEvent types in packages/core. 👾 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta Code <noreply@letta.com>
Adds `dagAnalysisOptions` query hook and `dagKeys` cache key factory in `packages/core/dag/queries.ts`, exported from `packages/core/index.ts`. 👾 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta Code <noreply@letta.com>
…lls, autopilots Adds complete deferred work tracking section to dag-core.md: - 14 issues across 5 work streams (frontend viz, dependency API, robot CLI, conformance gate, schema validation) - 6 specialized agents with assigned skills - 6 squads with agent leaders - 6 autopilots for continuous work generation All tracked in workspace 'pex' with parent tracker issue. 👾 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta Code <noreply@letta.com>
Machine-readable manifest of all deferred work entities created via multica CLI: 3 projects, 6 agents, 6 squads, 6 skills, 6 autopilots, 15 issues across 5 work streams. 👾 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta Code <noreply@letta.com>
…t and Hallmark design skills Enriches dag-frontend-viz agent with: - 9050 chars of nuanced instructions (up from 1609) - Single-file HTML artifact generation patterns from julianoczkowski/html, thariqs/html-effectiveness, Azhi-ss/html-effectiveness - Hallmark anti-slop design system from nutlope/hallmark: 22 themes, 4 verbs (build/audit/redesign/study), 65 slop-test gates, pre-emit self-critique, macrostructure variety - New skills: dag-html-artifact-viz, dag-hallmark-design - Updated manifest v1.2.0 with design references 👾 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta Code <noreply@letta.com>
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
Integrates the optimized DAG core contract from the calumalpass project into the multica-dag fork.
Changes
Testing
Design notes
Next steps (future PR)
Generated with Letta Code
Co-Authored-By: Letta Code noreply@letta.com