Repository navigation
docs(gaia-npm): fix min core version claim and untangle SPEC 5.2 ordering - #4317
Conversation
…ring README.md, SKILL.md and CHANGELOG.md all told integrators the flagship's npm package needs gaia CLI 0.23.1+, a version that was never released; the manifest's real floor is 0.24.1. README also described the committed lock as carrying PENDING placeholder hashes, which stopped being true once real hashes were committed. SPEC.md's session-retention section opened with an explicit-deletion paragraph ahead of the intro it depends on, and a sentence about omitting session_id had drifted onto an unrelated skill-selection paragraph. Fixes amd#4249
Verdict: ApproveThis fixes a real install-blocker in the flagship's npm docs: they told integrators to install a Nothing blocking. Two small follow-ups worth considering: the changelog check is pinned to whatever version number appears first in the file, which will start fighting you the next time the floor moves and the release notes below it are (correctly) frozen history; and the same version number also lives in the Python package's dependency floor, which this guard doesn't cover — the two sibling agents each have a test for exactly that. Real-world evidenceN/A — docs and tests only; no runnable CLI, API, MCP, or Agent UI surface changes. No 🔍 Technical detailsVerification performed
Issues Found🟢 CHANGELOG assertion will pin frozen release notes to a moving number (
🟢 The fourth copy of the same number is unguarded (
🟢 Path walk is easier to read as an index ( Matches Strengths
|
Summary
An integrator following the flagship's npm package docs to install the
gaiaCLI would install 0.23.1 — a version that was never released — because README.md, SKILL.md and CHANGELOG.md all quoted it as the minimum, when the manifest's real floor is 0.24.1. README also still described the committed lock as carryingPENDING-…placeholder hashes, which stopped being true the moment real hashes were committed. Separately, SPEC.md's session-retention section (§5.2) opened with a paragraph about explicit deletion before the intro paragraph it depends on, and a sentence about omittingsession_idhad drifted onto an unrelated skill-selection paragraph, so both read confusingly out of context.Added a test (
test_npm_doc_min_version.py) that reads the minimum version out of each doc and compares it togaia-agent.yaml'smin_gaia_version— confirmed it fails onorigin/main(0.23.1 documented vs 0.24.1 required) before this fix, and passes after it.Test plan
pytest hub/agents/gaia/python/tests/test_npm_doc_min_version.py -q— 3 passed (all 3 failed against the pre-fix docs)None of the changed files are prompt content the model reads (SKILL.md here is explicitly the integration playbook, not one of the agent's own skills), so no eval run is needed.
Fixes #4249