You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: Node CI scaffold's setup default only works inside reading-stone #467
The Node caller that gaze init --ci writes passes this to the reusable
AI-report workflow:
setup: npm ci && npm run build && npm link
That installs the analyzer only when the scaffolded repository is the analyzer
package, i.e. zero-dot-force/reading-stone. In any other TypeScript repo, npm link links the repo's own package, gaze-analyzer-typescript is never on
PATH, and gaze report --analyzer gaze-analyzer-typescript fails to spawn the
analyzer. The template comment admits the assumption ("assumes the analyzer is
this repository's own root package").
Fix
Default to installing the published analyzer:
setup: npm i -g reading-stone@<pin>
reading-stone on npm installs both reading-stone and gaze-analyzer-typescript bins (latest 0.2.2). Pin the version the scaffold was
validated against, the way gaze-version is pinned. Keep the build-and-link
form only for reading-stone itself, or document it as the override.
The Python template's setup: pip install -e . may carry the same assumption
for snake-eyes; worth checking in the same change.
Evidence
A trial on jflowers/opencode-supervisor ran gaze 2.7.0 against reading-stone
0.2.2 installed from npm and worked end to end (306 functions scored). The
scaffold's default setup: would not have installed the analyzer there.
Activity