Repository navigation
Security patch. Upgrade recommended for anyone who connects to Brandcode Studio.
Security
- Studio credentials can no longer be committed to git (#151).
.brand/brandcode-auth.jsonholds a 30-day Studio session token; it was only gitignored when a project started withbrand_init, not the recommendedbrand_start. Saving or reading credentials now ensures.brand/.gitignoreand the project.gitignorecover it, asks git whether the file is actually ignored (a later negation rule can't re-include it), and refuses to save a token git would commit or already tracks.doctorfails in either case. Ignore-rule text from the repository is never echoed into tool output. - Device-code activation hardened (#151). Users now type the code at Brandcode Studio's
/activatepage (a link can no longer approve on its own), the tool checks the approving account matches the requested email, and nothing is stored on a mismatch. Brandcode Studio deployed matching protections the same day. - Hosted dependency updates (#142, #148, #149):
hono4.13.18 and@hono/node-server2.1.8 resolve 7 medium advisories in the hosted runtime.
Fixed
activatesign-in works again (#151). The tool polled with the short user code, which Studio stopped accepting in May; it now polls with the secret device code.- Hosted
brand_runtimeserves real Studio packages (#144). On large production packages every slice was empty or elided; slices are now bounded and populated (visual ~690 tokens, full ~4,400 on a real brand), and the nightly smoke fails if a slice comes back empty. brand_feedbackis offered after failures in the Core profile (#135), without adding a tool to the default list; nothing is sent unless the agent calls it.- Rendered checks survive pages that tear down their own context (#145).