Skip to content

[codex] Update skills for Tool API v3#5

Merged
rodion-m merged 5 commits into
mainfrom
codex/tool-api-v3-skills
Jul 10, 2026
Merged

[codex] Update skills for Tool API v3#5
rodion-m merged 5 commits into
mainfrom
codex/tool-api-v3-skills

Conversation

@rodion-m

@rodion-m rodion-m commented Jul 1, 2026

Copy link
Copy Markdown
Member

Summary

  • Updates CodeAlive skill scripts to call Tool API v3 /api/tools/{name} endpoints.
  • Defaults CLI output to agentic format where appropriate and adds repository/artifact query commands.
  • Refreshes README/SKILL guidance for the v3 tool contract.

Cross-repo rollout

  • Depends on backend Tool API v3 PR and aligns with codealive-mcp v3 tool names.
  • Companion documentation PR publishes the updated setup instructions.

Verification

  • Full skills test suite: 13 passed.
  • Targeted checks: pytest tests/test_tool_api_v3.py tests/test_fetch_format.py: 13 passed.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the CodeAlive context engine skill to version 3.0.0, transitioning to the stateless Tool API v3. It introduces several new scripts (metadata.py, ontology.py, read_file.py, schema.py, tree.py) and refactors existing scripts and the shared api_client.py to route requests through the new tool method, defaulting to backend-rendered agentic output. The review feedback identifies a serialization bug in the api_client.py CLI, outdated documentation regarding identifier limits in fetch.py, dead code in fetch.py that can be cleaned up, and a lack of exception handling for integer parsing in read_file.py and tree.py.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread skills/codealive-context-engine/scripts/lib/api_client.py Outdated
Comment thread skills/codealive-context-engine/scripts/fetch.py
Comment thread skills/codealive-context-engine/scripts/fetch.py
Comment thread skills/codealive-context-engine/scripts/read_file.py Outdated
Comment thread skills/codealive-context-engine/scripts/tree.py Outdated
@rodion-m

rodion-m commented Jul 1, 2026

Copy link
Copy Markdown
Member Author

Self-review pass completed.

Finding addressed before reviewer wait:

  • The context explorer agent guidance still used codebase_consultant as an example trigger. I replaced it with canonical chat wording and pushed 85522fb.

Rechecked:

  • No legacy alias strings remain in the repository.
  • uv run pytest -q: 13 passed.
  • Left unrelated untracked FRESHNESS_DESIGN.md out of the PR.

@rodion-m

rodion-m commented Jul 1, 2026

Copy link
Copy Markdown
Member Author

Review follow-up pushed in 52e35d3.

Addressed Gemini findings:

  • datasources CLI now requests output_format="json" before JSON-printing.
  • Updated fetch identifier limit docs from 20 to 50.
  • Removed obsolete fetch formatter dead code and its obsolete formatter tests.
  • Added graceful integer parsing errors for read_file.py and tree.py numeric options.
  • API client now sends relationship profiles as canonical snake_case values.

Rechecked: uv run pytest -q: 7 passed.

@rodion-m rodion-m marked this pull request as ready for review July 10, 2026 18:55
@rodion-m rodion-m merged commit 1134a2f into main Jul 10, 2026
4 checks passed
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