Skip to content

star devlore package validate fails in devlore-registry but passes in devlore-cli: 'function run missing 1 argument (ctx)' #695

Open

Description

@David-Noble-at-work

devlore-registry's Validate workflow has failed on every run since at least 2026-08-02, at
star devlore package validate --target=..:

Error: Traceback (most recent call last):
  devlore-cli/star/extensions/com.noblefactor.devlore.Package/commands/validate.star:62:14: in run
Error: function run missing 1 argument (ctx)

It blocks nothing today because only quality-gate is required there. That is about to change:
devlore-registry is getting a ruleset requiring all pull-request checks, deliberately, so this
becomes the thing that freezes the repository.

What it is not

Not a stale signature. def run(command, ctx) has been the definition since 2026-03-23
(4ff4ec2f, "Move star from noblefactor-ops to devlore-cli"), five months before the failing run of
2026-08-12. The definition was already correct when it failed.

Not a stale checkout. validate.yaml checks out NobleFactor/devlore-cli with no ref, so it
takes the default branch, which carries the correct definition.

The lead

devlore-cli runs the same command and passes. knowledge-extract.yaml:68:

./build/star devlore package validate \

That check is green on every devlore-cli pull request. So the same extension, invoked through the
same command path, succeeds there and fails here — which points at the binary, not the .star.

The difference worth checking first is how each repository obtains star:

  • devlore-cli builds it in-tree and runs ./build/star.
  • devlore-registry builds it from a devlore-cli checkout and runs ../star.

The Makefile resolves star to a last-known-good snapshot at build/star.lkg when present,
falling back to the in-tree build. An LKG binary predating the two-argument dispatcher contract
would produce exactly this error: a current validate.star expecting (command, ctx), invoked by an
older dispatcher that passes only command.

That is a hypothesis, not a diagnosis. It is cheap to test — print star --version and the resolved
path in the registry's Build step and compare with devlore-cli's.

Why it matters now

Requiring validate-yaml-schemas in devlore-registry freezes that repository for anyone who is not
a bypass actor until this is fixed. That is the intended behaviour — a twelve-day-old failure should
not be quietly survivable — but it makes this the critical path.

update-indexes fails at the same step for the same reason, and is separately tracked in
devlore-registry#75, which is about the direct push it performs after that step.

Activity

  1. David-Noble-at-work commented on Nov 9, 2026

    @David-Noble-at-work
    ContributorAuthor

    star github triage sweep added this issue to Triage: devlore, for the rules it breaks:

    • severity: a Bug whose Severity is blank; a bug is Critical, High, Medium or Low
    • no-evidence: no Evidence of completion section
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions