GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [Bug]: __SPECKIT_COMMAND_<NAME>__ still can't represent hyphenated command names — #4204 stalled after review · Issue #4328 · github/spec-kit Closed as not planned Closed as not planned Copy link DescriptionBug Description
# src/specify_cli/integrations/base.py r"__SPECKIT_COMMAND_([A-Z][A-Z0-9_]*)__" This was reported in #4198. A fix landed in #4204 by adding a second token form, Suggested fixWiden the character class in both # before r"__SPECKIT_COMMAND_([A-Z][A-Z0-9_]*)__" # after r"__SPECKIT_COMMAND_([A-Z][A-Z0-9_-]*)__" No decode-logic change is needed — Steps to Reproducefrom specify_cli.integrations.base import IntegrationBase as I # actual bundled command: speckit.agent-context.update I.resolve_command_refs("__SPECKIT_COMMAND_AGENT_CONTEXT_UPDATE__", ".") Expected BehaviorThe token resolves to the command id that is actually installed: Actual BehaviorThe hyphen is interpreted as a segment separator, so a three-segment command renders as four segments, with no warning: Same symptom as #4198, still unresolved on Specify CLI Version0.16.0 AI AgentClaude Code Operating SystemmacOS 15.3.1 Python Version3.13.9 Error LogsAdditional ContextSee #4198 (original report) and #4204 (prior attempt + review discussion) for full history. After @mnriem requested Option 2 on #4204, I wasn't sure how to act on it — that PR's branch lives directly in this repo rather than a fork, so I don't have push access to it. I asked about the right process in a comment there, but it's been a few days without a response, so I opened this issue instead with a working reference implementation, hoping that's a more actionable path. That said, this is my first time contributing to this repo, so I'm genuinely unsure if this is the right way to proceed — please let me know if you'd prefer a different approach (e.g. continuing directly on #4204, or something else), and I'm happy to adjust. (+ I reviewed the diff and ran the test suite myself before filing.) ActivityMetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |