Skip to main content

Context Budget#

ackit pack builds a deterministic, budgeted context pack.

Ranking signals (transparent weights)#

Ties break by ascending repo-relative path. No embeddings, no LLM ranking.

Budget#

Greedy fill over the ranked list; a candidate that does not fit is excluded with budget exhausted (needs X, remaining Y). Every manifest entry records {relativePath, action: included|excluded|scrubbed, reason, estimatedTokens, sha256, bytes}.

Safety gates (before scoring)#

  1. Secret-shaped content → excluded outright (ACKIT001/003 shapes).
  2. Duplicate content-hash → excluded as duplicate of the higher-ranked twin.
  3. Machine-local absolute paths scrubbed to <local-path>.

Token counts are character-class estimates (~4 chars/token, CJK-corrected) and are labeled as such in every artifact; a tokenizer adapter seam exists but no model access ever happens.