Skip to content

CoS tip: read JSON ACP resource links as text (#51069) #96

Description

@kvnloo

Origin

anomalyco#51069

Intent

ACP resource_link blocks with application/json or *+json MIME (e.g. .ipynb) must be ingested as text so notebook/JSON content reaches the model — not left as opaque binary file attachments.

Proof (fail → pass)

cd packages/opencode && bun test test/acp/content.test.ts -t "JSON notebook is read as text|PDF remains a file attachment"
# NEGATIVE: 1 pass / 1 fail (JSON mime stays application/x-ipynb+json)
# GREEN: 2 pass / 0 fail
# restore: 1 pass / 1 fail

Notes

  • Base: dev
  • github_writes_origin=0
  • Codex promote: parked

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions