Skip to content

Conversation

@kvz
Copy link
Member

@kvz kvz commented Jan 29, 2026

Summary

  • add local Assembly Instructions linting API with template merge and autofix
  • add "assemblies lint" CLI command with fatal handling and stdin/file modes
  • document usage and add unit tests

Testing

  • corepack yarn check

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6b3089f5a7

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines 1322 to 1326
for (const [stepName, step] of Object.entries(stepsRecord)) {
if (stepName !== ':original' && isObject(step) && !('use' in step) && 'robot' in step) {
// Use addUseReference instead of direct assignment
// @ts-expect-error: robot should be good here
addUseReference({ ...step, use: [] }, ':original')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Apply addUseReference result when fixing missing input

In fixMissingInput, addUseReference returns a new StepInput rather than mutating the original step. Because its return value is ignored here, steps without use never get updated when --fix is used, so the “missing input” auto-fix does not actually wire steps to :original and the resulting instructions can still be missing required use references. Assign the returned value back into stepsRecord[stepName] to apply the fix.

Useful? React with 👍 / 👎.

@kvz kvz merged commit 9f6dfa7 into main Jan 29, 2026
9 checks passed
@kvz kvz deleted the node-linting-support branch January 29, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants