Skip to content

[DOCS] Document the dedicated .infer/artifacts directory #547

Closed

Description

@edenreich

Summary

Document the CLI's new dedicated artifacts directory introduced in inference-gateway/cli#1058. Agent deliverables - generated images (ImageGeneration/ImageEdit/ImageVariation), WebFetch downloads, and auto-downloaded A2A task artifacts - now land in .infer/artifacts/<session-id>/ (project or userspace config dir), grouped by the conversation that produced them. The .infer/tmp directory remains internal scratch only. The directory is writable through the tool sandbox carve-out, and the GitHub scheduling backend uploads it per run and pulls it back to ~/.infer/artifacts via the artifact poller, preserving the per-session structure.

Acceptance Criteria

  • The CLI configuration/storage docs describe .infer/artifacts (what lands there, per-session grouping, difference from .infer/tmp).
  • The scheduler docs mention that run artifacts are uploaded from .infer/artifacts and pulled back to ~/.infer/artifacts.
  • Image generation tool docs updated: output path is .infer/artifacts/<session-id>/image-<timestamp>.png.

Source PR: inference-gateway/cli#1058

Activity

  1. added theissue type on Aug 12, 2026
  2. added
    documentation
    on Aug 12, 2026
  3. moved this to Todo in 2026on Aug 12, 2026
  4. edenreich commented on Aug 12, 2026

    @edenreich
    ContributorAuthor

    @claude Can you work on this? /ponytail:ponytail

  5. inference-gateway-maintainer commented on Aug 12, 2026

    @inference-gateway-maintainer
    Contributor

    Claude finished @edenreich's task in 2m 48s —— View job • docs/issue-547-20260812-2053


    Done

    What changed

    cli.md

    • New Artifacts directory section under Configuration: .infer/artifacts/<session-id>/ (project config dir, or ~/.infer/artifacts/ in userspace), what lands there (ImageGeneration/ImageEdit/ImageVariation output, WebFetch downloads, auto-downloaded A2A task artifacts), session-id sanitization, the tool-sandbox write carve-out, and a table contrasting it with the internal-scratch .infer/tmp.
    • artifacts/ row added to the configuration-files table.
    • Image Tools now state the output path .infer/artifacts/<session-id>/image-<timestamp>.png; ImageEdit/ImageVariation no longer say .infer/tmp/.
    • WebFetch download parameter now points at the artifacts dir instead of ~/.infer/tmp.

    cli-scheduling.md

    • Artifact pull-back describes uploading the run's .infer/artifacts alongside conversations, and routing non-jsonl files back into ~/.infer/artifacts with the per-session structure preserved.
    • Config-reference description for artifacts.enabled broadened beyond conversations.

    Not done: desktop.md:129 still references ~/.infer/tmp/ for the image download button - that path lives in the desktop app and is tracked by the source PR's own follow-up (inference-gateway/desktop#112), so I left it alone rather than documenting a path the app has not moved yet.

    Create a PR - already opened as #550.
    | Branch

  6. moved this from Todo to In progress in 2026on Aug 12, 2026
  7. moved this from In progress to QA in 2026on Aug 12, 2026
  8. moved this from QA to Done in 2026on Aug 13, 2026
  9. inference-gateway-releaser commented on Aug 17, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.11 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions