Skip to content

gaze init never updates commands/gaze.md, so /gaze goes stale on every release #353

Closed

Description

@jflowers

gaze init treats commands/gaze.md as user owned: written once, skipped forever after. Every other file it ships is tool owned and updated when its content changes. That split leaves /gaze stuck at whatever release first scaffolded it.

I don't think anyone is customizing this file. I compared .opencode/commands/gaze.md in the 10 repos we run gaze in against the v2.4.0 asset. None of the differences are local edits. They are all upstream changes that never got delivered:

Repo Lines that differ from v2.4.0 Marker
unbound-force/unbound-force 15 v1.2.7
unbound-force/website 15 v1.4.9
unbound-force/dewey 13 v1.8.0
unbound-force/replicator 13 v1.8.0-rc.1
zero-dot-force/vibe-check 13 dev
zero-dot-force/reading-stone 2 dev and v1.8.0
zero-dot-force/snake-eyes 2 dev and v1.8.0
fullsend-ai/.uf/agents 2 dev and v1.8.0
fullsend-ai/.uf/fullsend 2 dev and v1.8.0

The unbound-force copy (15 lines) matches the v1.8.0 asset within 2 lines, so it is old content, not a customization. What it is missing matters:

  • The <protect> block from chore: add <protect> tags to slash command files for DCP context preservation #221, so DCP can compress the command away.
  • The spec 040 description. The command still says the agent "interprets the JSON output", while v2.4.0's gaze-reporter shows the rendered report and adds judgment. The command and the agent it delegates to now disagree.
  • Analyzer and language detection (.gaze.yaml, then heuristic) in the description.

As well, several copies carry two markers (dev and v1.8.0). The #279 fix strips old markers only when gaze rewrites a file, and it never rewrites this one.

The only way to get the current /gaze today is gaze init --force, which also clobbers anything else marked user owned. Can we make commands/gaze.md tool owned like gaze-fix.md? If someone really does need a custom /gaze, a separately named command (say commands/gaze-local.md) seems like a better escape hatch than freezing the shipped one. docs/guides/opencode-integration.md would need its ownership table updated too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions