Integrate Godplans 1.1 contract#67
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ffa8fb9bf5
ℹ️ 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".
| let unique = [...new Set(files)].slice(0, MAX_SYSTEM_FILES); | ||
| if (id === 'godplans' && exists(projectRoot, siblingArtifacts.PLAN_PATH)) { | ||
| unique = [siblingArtifacts.PLAN_PATH]; | ||
| if (exists(projectRoot, siblingArtifacts.PLAN_VALIDATOR_PATH)) { |
There was a problem hiding this comment.
Track the missing validator in plan imports
When a project is imported with only .godplans/PLAN.mdx, this branch records just the plan path in source-systems.files; sibling-artifacts.staleness() later rehashes that recorded list, so adding the required .godplans/validate-plan.sh to repair the Godplans 1.1 contract does not produce a stale warning or prompt re-import. For PLAN-only imports, include PLAN_VALIDATOR_PATH in the tracked hash set even when it is absent, since the hash helper already fingerprints missing or non-regular validators.
Useful? React with 👍 / 👎.
Summary
Verification