feat: establish canonical task dependency reads - #153
Merged
Conversation
Model repository-global depends_on data, strict graph health, SCC cycle attribution, derived gate state, and distinct causal/action blocker projections. Close generic write bypasses, make safe legacy debt advisory, preserve path-faithful diagnostics, and record the two adversarial audit dispositions and downstream contracts.
Document the preservation-only depends_on rollout, graph-aware lint behavior, generic mutation guardrails, and the core/store ownership model. Regenerate the affected CLI reference and schema golden.
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
depends_onpersistence and schema/JSON projection for repository-global prerequisites.healthy,degraded, andbrokenhealth; SCC-based cycle attribution; derived lifecycle/gate state; sound completion; topology; downstream impact; and deterministic blocker paths.Eligiblestate rather than blocker-list emptiness.blocked_by,dependencies, andblocksreferences without migrating them. Exactly resolved, structurally safe references are lint advisories with exit zero; missing, ambiguous, self-referential, or cyclic projections remain errors.lint --fixcannot add, remove, or reinterpret graph-owned dependency fields.Rollout boundary
This is the dependency read and validation foundation. It intentionally does not add public dependency or Thread mutation commands yet.
depends_onis preservation-only until the guardedtask depend add/removeslice lands.task set --forcedoes not bypass graph ownership, malformed dependency frontmatter fails closed, andlint --fixreports rather than normalizes a would-be graph repair.The next implementation slice is the portable store-owned repository mutation boundary, followed by guarded dependency commands and queries.
Design and adversarial review
6g3q4rt7mgjn, and canonical snapshot-loader consolidation on6g3q4rt0wzkq.Documentation
TaskGraphand graph/store ownership in the architecture guide.lint,task set, andtask editreferences with dependency guardrails and advisory/error behavior.Validation
go test ./...go test -race ./...golangci-lint run ./...— zero issuesgo vet ./...go mod tidy -diffgit diff --check