Skip to content

bug: Node CI scaffold's setup default only works inside reading-stone #467

Backlog

Description

@jflowers

Problem

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.

🤖 Generated with Claude Code

Activity

  1. added
    bug
    ci
    on Dec 3, 2026
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

    bugci

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions