Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions agents/dojoos-api-consumer.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ SPEC_FETCHED_AT: <ISO timestamp when spec was cached this session>

On your first invocation in a session, resolve the spec in this order (stop at the first that works):

1. **Local fallback**: `Read` `/home/kvttvrsis/Documentos/GitHub/dojocoding/dojo-documentation/public/openapi.yaml` if the file exists.
1. **Local fallback**: `Read` `/home/kvttvrsis/Documentos/GitHub/dojocoding/dojocoding-docs/public/openapi.yaml` if the file exists.
2. **Live fetch**: `WebFetch` `https://docs.dojocoding.io/openapi.yaml` with the prompt `"Return the full raw YAML content verbatim, no summarization"`.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 P3 (minor) — The absolute local fallback path is specific to a single developer's machine structure (/home/kvttvrsis/...). If other team members run or develop this plugin locally, the absolute path lookup will fail for them, meaning they won't benefit from local offline mirroring. This forces them to fall back to live network fetches each time, which is slower and won't work in offline scenarios. We could add a sibling relative path fallback check (e.g., ../dojocoding-docs/public/openapi.yaml or checks relative to ~) to make the setup portable across development environments.

[pass 1]

3. **Hard fail**: if both fail, return `STATUS: ERROR` with `ERROR_DETAIL: "OpenAPI spec unreachable — cannot operate"`.

Expand Down Expand Up @@ -361,7 +361,7 @@ Expected trajectory: as @william + @garbanzo ship Launchpad endpoints, the `SPEC
## Reference — where the spec lives

- **Canonical (live)**: `https://docs.dojocoding.io/openapi.yaml`
- **Local mirror (dev)**: `/home/kvttvrsis/Documentos/GitHub/dojocoding/dojo-documentation/public/openapi.yaml`
- **Local mirror (dev)**: `/home/kvttvrsis/Documentos/GitHub/dojocoding/dojocoding-docs/public/openapi.yaml`
- **Stoplight Elements viewer**: served at `https://docs.dojocoding.io/` (the dojo-documentation platform)
- **Shipped via**: DOJ-3170 (2026-04-14)

Expand Down