Skip to content

skill novelty ground: a --shared-lib pattern error names --library, which the command refuses as a flag #1504

Todo

Description

@antonwolfy

dokimi/dokimi/novelty/symbols.py:_files builds its messages as --{flag} ... with flag = "library" for the shared-library patterns (symbols.py:229), but the flag of skill novelty ground is --shared-lib (commands/skill.py:153); --library is refused by the parser (tests/test_novelty_ground_symbols.py::test_the_shared_library_flag_is_shared_lib_and_library_is_refused).

Repro, on main and at the head of the #1384 fix: python cli.py skill novelty ground --atoms atoms.json --header inc/x.h --shared-lib 'nope/*.so' --prefix cblas_ exits 2 with Error: --library 'nope/*.so' matches no file. A user who retypes --library gets an argparse error.

Fix: pass "shared-lib" as the flag word (and keep header), and change the pinned matches no file test text if it pins --library. The refusal of an unlistable directory added for #1384 uses the same word.

Found while fixing #1384. The fix's PR is #1505.

Activity

  1. self-assigned this
    on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions