manifest: add inception phase + imports[] field support#264
Open
leeovery wants to merge 1 commit into
Open
Conversation
Phase 1 of the inception/discovery-map initiative. Foundational only —
no user-visible behaviour change.
- VALID_PHASES gains `inception` (placed first, reflecting its position
as the entry phase for epics).
- VALID_PHASE_STATUSES restricts inception items to `in-progress`. No
`cancelled` or `completed` — inception items follow a hard-delete
model per the design ("items exist or they don't").
- `cmdPull` now matches array entries by deep equality so object-shaped
records (notably the new `imports[]` entries) can be removed by value.
Previous reference-equality match worked only for scalar arrays.
- SKILL.md documents the inception phase status and the `imports[]`
top-level array convention with example commands.
- Tests cover inception init-phase, status validation (accept
in-progress, reject cancelled/completed), free-form summary/routing,
hard-delete via `delete {wu}.<phase> items.<topic>`, wildcard read,
and imports[] push/pull/round-trip including non-array push rejection.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This was referenced May 9, 2026
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
inceptiontoVALID_PHASES(placed first to reflect epic pipeline order) and restricts inception item statuses toin-progressonly, enforcing the design's hard-delete model (items exist or they don't — nocancelledgraveyard).imports[]array on work-unit manifests — the first non-phasesarray field at the work-unit root. Each entry is a{path, imported_at}record describing seed material copied into.workflows/{wu}/imports/at work-unit creation. Documented as a convention for future top-level array fields.cmdPullto use deep equality instead of reference-onlyindexOf, so object-shaped array entries (notablyimports[]records) can be removed by value. Existing scalar pull paths unchanged — the deep-equal helper short-circuits on===.Test plan
delete {wu}.inception items.{topic}, rejectcancelledstatus, push/pullimports[]round-trip🤖 Generated with Claude Code