Help us shape the future of Go! Take the 2026 Go Developer Survey

cardlimits

package
v1.3.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package cardlimits holds the two sizes a card's brief is held to, in one place that nothing is behind: no redis client, no table layer, no store. The sprint's store refuses a brief over MaxBriefBytes, and the card lint advises a brief stays under BriefAdvisoryBytes and says where the refusal is, so both read the numbers here and cannot disagree.

Index

Constants

View Source
const BriefAdvisoryBytes = 12000

BriefAdvisoryBytes is the size the card lint (`nova-swarm lint --card`) advises a card stays under: past it a model stops reading the card in one window. It is advice and refuses nothing; MaxBriefBytes is the refusal.

View Source
const MaxBriefBytes = 16 << 10

MaxBriefBytes is the size `nova-sprint add` refuses a brief over (16 KiB). A brief is a child's whole brief, so it carries every detail the child needs; the bound sits above the lint's advice (BriefAdvisoryBytes) so a brief the lint passes is never refused for size, and well under the table layer's field bound (64 KiB), which holds a brief whole.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL