Skip to content

docs: fix stale paths in CLAUDE.md and the UI README's transport description - #428

Open
michaelxu2288 wants to merge 1 commit into
scaleapi:mainfrom
michaelxu2288:docs/stale-paths-and-ui-readme
Open

docs: fix stale paths in CLAUDE.md and the UI README's transport description#428
michaelxu2288 wants to merge 1 commit into
scaleapi:mainfrom
michaelxu2288:docs/stale-paths-and-ui-readme

Conversation

@michaelxu2288

@michaelxu2288 michaelxu2288 commented Sep 10, 2026

Copy link
Copy Markdown

What

  • CLAUDE.md pointed at agentex/scripts/lint_migrations.py and a --base-ref flag; the migration linter lives at agentex/scripts/ci_tools/migration_lint.py (what migration-lint.yml runs) and its flag is --base.
  • CLAUDE.md told contributors to edit SQLAlchemy models in database/models/, which does not exist; the models live in src/adapters/orm.py.
  • agentex-ui/README.md described live updates as WebSocket subscriptions. The dev UI subscribes over the HTTP event stream (GET /tasks/{id}/stream via the agentex client with stream: true, proxied by the BFF route); there is no WebSocket in the UI.

Why

These are the first places a new contributor is sent by the repo's own instructions, and each one currently points somewhere that does not exist or describes the wrong mechanism.

Test

Docs-only. Paths verified against the tree and .github/workflows/migration-lint.yml; transport verified in hooks/custom-subscribe-task-state.tsx and node_modules/agentex/resources/tasks.js.

https://claude.ai/code/session_01HCVKnA7LeJZ44nxZz1uzF3

RetriggerConfidence Score: 5/5

The documentation corrections appear safe to merge.

Summary

  • Directs relational model changes to agentex/src/adapters/orm.py.
  • Aligns the documented migration-lint command with the script and CI workflow.
  • Updates UI architecture and hook descriptions to identify the HTTP task event stream.

Reviews (1) · Last reviewed commit: "docs: fix stale paths in CLAUDE.md and t..."

…ription

CLAUDE.md pointed at agentex/scripts/lint_migrations.py (the linter lives at
agentex/scripts/ci_tools/migration_lint.py, as migration-lint.yml runs it, and
its flag is --base, not --base-ref) and at a database/models/ directory that
does not exist (the SQLAlchemy models are in src/adapters/orm.py). The UI README
described live updates as WebSocket subscriptions; the dev UI subscribes over
the HTTP event stream (GET /tasks/{id}/stream) through the BFF proxy.

Claude-Session: https://claude.ai/code/session_01HCVKnA7LeJZ44nxZz1uzF3
@michaelxu2288
michaelxu2288 requested a review from a team as a code owner September 10, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant