sequencer: add lifecycle logic
Metadata
Current evaluation
Merged PR #37 via commit d670be55, adding sequencer lifecycle planning that derives executable actions from part specifications and current state.
Resolution: closed resolved
Reason: PR #37 was merged into main through merge commit f405ea4b. Resolving commit d670be55 added the requested lifecycle planning logic.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Lifecycle planning is computed by the sequencer based on part specs and
the current state, resulting in a list of actions to be executed.
Lifecycle is implemented according to the following diagram:

Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #37 via commit d670be55, adding sequencer lifecycle planning that derives executable actions from part specifications and current state. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/craft-parts#37 (d670be55): added sequencer lifecycle planning that derives executable actions from part specifications and current state. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in #37 via commit d670be55, adding sequencer lifecycle planning that derives actions from part specifications and current state. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged after approval by two reviewers. The changes add lifecycle logic to the sequencer, computing planning actions based on part specs and current state across five files (+359/-5 lines). | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Added lifecycle planning logic to the sequencer, computing actions from part specs and current state. Merged by maintainer cmatsuoka without discussion. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #25 sequencer: handle step run, rerun and update | craft-parts | merged | Merged via commit 7e06b8a1, adding sequencer handlers for initial runs, reruns, and updates, with lifecycle-state transitions and deferred actions. | |
| #429 sequencer: use plugin properties in action planning | craft-parts | merged | Merged PR #429 as commit 08456c4b, adding missing plugin properties to sequencer action planning so reruns reflect the complete persisted state. | |
| #4 Add lifecycle manager and sequencer stub | craft-parts | merged | Merged PR #4 added the lifecycle manager and sequencer stub, introducing lifecycle coordination foundations in commit ef0159a8 (+953/-12 across 22 files). |