feat!: reform repository as Kernform 0.1.0 - #43
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5ba8830ca0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| message: "apply requires an existing directory and kernform.plan/v1".to_owned(), | ||
| }); | ||
| } | ||
| validate_plan_id(&plan.plan_id)?; |
There was a problem hiding this comment.
Verify the plan digest before executing operations
When --plan-file or the public PlanResult API supplies JSON, changing an operation's content—or adding a run_command operation—while retaining any 64-character lowercase hexadecimal plan_id passes this validation and is executed. Recompute the canonical digest with plan_id cleared and compare it with the supplied ID before preflight; otherwise plans are mutable between resolution and apply and saved plans can become an arbitrary command-execution surface.
AGENTS.md reference: AGENTS.md:L27-L27
Useful? React with 👍 / 👎.
No description provided.