Repository navigation
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Updated implementation plan (replaces the Git-first pilot sequence)Let's make the first slice a configurable lifecycle action, not a built-in Git drift detector. The goal is small, verifiable PRs over ~1 week; each PR proves a real behavior, and releases are integration checkpoints. Proposed PR sequence
Working rules: one tracking issue, one PR per logical step, acceptance tests + a reproducible demo in each PR, merge as verified. Reuse one fixture throughout the week. No plugins, global installation, profiles, observer, snapshots, provider-specific tracking, or general policy engine in this initial slice. Please update this roadmap to match and keep the two release checkpoints distinct from individual PRs. |
TabishB
left a comment
There was a problem hiding this comment.
Follow-up on the updated implementation-plan comment: these are the specific documentation changes needed to align the draft PR with the revised non-Git-first pilot. Keeping the existing action/trigger model; changing the first vertical slice and coverage claims.
Replace the Git-first pilot with lifecycle hooks: OpenSpec resolves which actions are configured for a hook, and the calling agent or orchestrator handles them. - Roadmap: five PRs, two release checkpoints, and the `openspec lifecycle actions --at <hook>` command - Pilot proposal and guide: rewritten around actions, triggers, and suggest/auto modes, with two user-defined actions as the proof - Enterprise requirements: coverage re-scored against the revised pilot - Direction and launch docs: cross-references aligned, the Nov 5 lifecycle decision kept as superseded, skill names updated to 2.x
- Remove action chaining: the drift-script action reports its output and no longer invokes the requirements review - Custom hook names must start with `custom.`, so a mistyped built-in name such as `aply.before` is rejected - State that a Store's configuration decides the returned actions when the Store is the resolved root - Guide limits: no enforced blocking, and a hook invoked again returns its actions again because lookup is stateless
- Keep `mode` (auto/suggest) and `policy` (warn/block) as distinct trigger settings. The pilot supports mode only, and a trigger that sets `policy` is reported as unsupported - Record generalized references as a separate exploration with no schema yet, independent of lifecycle hooks - State that detecting and managing drift remains a goal, served in the pilot by user-defined actions - List agent orchestration alongside plugins and native executable actions as future work
Lead with how lifecycle actions work, the five-PR build plan with verification per PR, criteria for both release checkpoints, draft changelog entries, and what comes later. Keep the links to the other docs and the working notes at the bottom.
…ad context on all_done
…and config cheat sheet
Explore lifecycle hooks for OpenSpec: a project defines named actions (instructions for an agent) and attaches them to points in the workflow, such as before Apply starts or after its tasks finish. OpenSpec resolves which actions are configured for a hook, and the calling agent or orchestrator handles them.
Includes a roadmap with five small PRs and two release checkpoints, a pilot proposal, a draft guide, and two example user-defined actions: an agent review of linked requirements against the plan, and a project-provided Git drift script. Git drift detection, source tracking, native executable actions, and plugins are out of scope.
Everything here is proposed, not implemented.