Skip to content

Cap price source error and answer to v - #12

Merged
hsnice16 merged 2 commits into
mainfrom
cap-price-source-error-and-answer-to-v
Sep 6, 2026
Merged

hsnice16 merged 2 commits into
mainfrom
cap-price-source-error-and-answer-to-v

Conversation

@hsnice16

@hsnice16 hsnice16 commented Sep 6, 2026

Copy link
Copy Markdown
Owner

No description provided.

hsnice16 and others added 2 commits September 6, 2026 22:15
`remote()` caps and flattens text somebody else wrote at the connector that
received it, because Ink draws text verbatim and `ConnectFlow` renders
`err.message` whole — directly above the refusal it is about. CryptoCompare is
the only price source that puts a remote string in an error at all, and it was
the one place the wrapper was missing: the 200-with-an-error-envelope path
interpolated `body.Message` straight into a `TulaError`. A hostile or
intercepted `min-api.cryptocompare.com` could repaint the connect screen with an
escape sequence, or run to 596 characters and push tula's own remedy line off
the end of its own message. SECURITY.md already promised this was capped "from a
venue or a price source"; now it is.

`--version` printed `0.1.0 (tula)`. It prints `tula 0.1.0`, which is what
`/about` has always printed and what the rest of the machine prints, so
`cut -d' ' -f2` reaches the version. `-v` is accepted beside it: there is no
verbose mode to claim the letter, and it is what node, npm and bun taught people
to type. The bug template's placeholder was the second copy of that string and
moves with it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Closes the changelog's Unreleased section into a dated 0.1.0 and points the
link references at the tag. Every file stating the version already said 0.1.0,
so `release-cut.sh` cut the changelog alone.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
tula Ready Ready Preview Sep 6, 2026 4:52pm UTC

@hsnice16
hsnice16 merged commit afed02e into main Sep 6, 2026
6 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