ECDSA verification picked P-256 or P-384 from the public key's point length and never read the curve the key declares, so a real P-256 signature verified even when the key said secp256k1, another curve or none at all. The verifier now reads the key's complete named-curve parameter and checks only a declared P-256 or P-384 key. Missing, malformed, duplicate or unsupported parameters are reported as not checked. Compressed and uncompressed points and the supported curve and digest pairs still work, as RFC 5480 describes.
Cooked Unreal textures in PF_DXT3 were recognised but couldn't be previewed or exported, because the shared pixel decoder had no DXT3 (BC2) layout. It now decodes 16-byte DXT3 blocks: each texel's explicit 4-bit alpha is widened to 8 bits, and the colour block always uses four-colour interpolation. Clipped edge blocks and the image size budget work as for the other block formats. Tests cover every alpha level, low-first endpoints, odd sizes, truncated blocks, output limits and a cooked Unreal package.
Certificate checks read the outer signatureAlgorithm but skipped the algorithm named inside the signed TBSCertificate. A certificate could declare SHA-1 inside, carry a valid SHA-256 signature outside, and still be reported as verified and fully linked. The verifier now reads the signed algorithm, in both the v1 and v3 field layouts, and refuses a certificate whose inner and outer algorithm OIDs differ or whose inner field is malformed, as RFC 5280 requires. RSA with NULL or absent parameters is accepted as before. Tests use real RSA signatures over the changed certificates.
Android string pools capped how many strings were read and how long each could be, but every offset was decoded into its own copy, so a 49 KB chunk pointing thousands of times at one long string kept 128 MiB in memory. Each pool now has a byte budget (64 MiB, or three times the chunk's declared size if larger). Decoding stops at the first string that doesn't fit and keeps what came before it. Binary XML and resource tables mark a capped global, type or key pool as partial and say how many strings were kept. Tests cover shared offsets in UTF-8 and UTF-16, bytes appended after the chunk, small pools and the warnings.
SQLite row and count walks kept visited pages in a list and searched it for every new page, so wide databases spent quadratic time on the check. Both walks now use an ordered set, checking and inserting in one step, with the same traversal order, cycle and repeated-child handling, and page, depth and row budgets. Tests add a 1,023-row multi-level WITHOUT ROWID table and repeated-child and cycle cases.
A Go function table whose later record couldn't be read returned nothing at all, so every complete function before it was lost; unreadable names and the warning limit could drop functions while the table still read as complete. A damaged record now stops the scan with a warning and keeps the functions before it (a wholly unreadable first record is still refused), and the table is marked truncated whenever fewer named functions than declared were recovered. Tests cover Go 1.2, 1.16 and 1.20 layouts, truncated and damaged later records, address overflow, unreadable names and the public ELF inspection.
The JVM tableswitch and lookupswitch decoders reserved room for their declared entries before checking those entries were there, so a truncated 12-byte table could ask for 16 MiB; and a lookup table took duplicate or descending keys, though its signed keys must strictly increase. The whole table must now be present before anything is reserved, a dense table's count is converted without narrowing, and a lookup table with keys out of order isn't decoded (the instructions before it are kept and the coverage is reported incomplete).
A JAR manifest's lines were decoded as UTF-8 one physical line at a time, so a character split at the 72-byte fold became replacement characters; values lost their leading and trailing spaces, and only LF line ends were read. JAR integrity checks could then ask for a different entry name and miss the file meant. Continuation lines are now joined as bytes before decoding, only the space after the colon is dropped, CR, LF and CRLF all end a line, and a continuation after an empty line doesn't join two sections.
In a live run, an agent asked core_evidence_browse for a list by a name that wasn't one and had to run the tool again to find the right one, as neither the result's summary nor the error named its lists. A result's summary now carries its lists and their lengths, by the names core_evidence_browse reaches them with, in a detail: summary answer, the MCP server's summary-first answer and browse's own summary; and browse's errors for a name that isn't a list say which lists there are.
A .NET method body's extra sections were read as an exception table whenever their kind was odd, and clauses were read before the section's whole declared size was checked, so unknown sections, cut-off sections and partial clauses could show up as real exception handlers. A section now needs its complete header and declared size, only the exception-table kind (flags masked off) is read as one, it must hold a whole number of clauses, and an unknown kind is reported and skipped while chained sections are still followed.
The NIB reader limited how many values objects copied but not how big they were, so objects sharing a large data value, a long key or a long class name could turn a 45 KB archive into over 130 MB in memory. Copied data, keys and class names now share one byte budget, 64 MiB or three times the input size, whichever is larger, checked before each copy; the reader says when the budget stopped it.
The Solana sBPF symbol reader took any entry stride and read fields before checking the whole record was there, so a crafted file could panic on its largest offset, a truncated record could become a symbol, and bytes from a section that isn't a string table, or a name with no end, could be reported as an entrypoint or syscall. A symbol table now needs a valid entry size and each complete record before its fields are read, a partial last record is reported, and names come only from string tables with a terminator inside their range.
An Interface Builder NIB integer is up to ten groups of seven bits, and only one bit of the tenth group fits in 64 bits. The reader checked the shift but not the bits it dropped, so a tenth byte above 1 turned an out-of-range value into an unrelated small length or table index. Such an integer is now refused, and the whole unsigned range still reads.
Docs only. A live chat --deep run with Claude Code on a 581 KB comparison of two builds showed it asking for a summary, then paging the result with core_evidence_browse and quoting the rows, with no result over the 80 KB budget, and a page just under the budget reaching it whole. The roadmap line is ticked with what the run showed, and two new lines record the gaps it found: name the lists core_evidence_browse can page, and compare Rust names without their crate hash.
A text file (notes, source code, settings) was a target of unknown kind, so the target list and triage called it a file we don't recognise yet. Text now has its own target kind, found by the same check the text reader uses (a byte-order mark, or valid UTF-8 with no zero bytes and few control characters near the start) after every other format, so lists and triage call it a text file and point to core_text_read. A binary file stays unknown.
A GGUF model's quantized tensors (Q4, Q5, Q8, K and IQ types) had no byte length in the model-header report, so a complete tensor table could describe a truncated payload without that tensor being counted as past the end of the file. Their storage length is now calculated from each type's block layout, scale bytes included; a row width that isn't a whole number of blocks is reported, an unsupported type keeps an unknown length, and the end-of-file checks can't overflow.
A key saved in the app silently wins over the one in the environment, so a rotated key stayed hidden behind the old one unless the backend was removed or the keychain edited by hand. Settings → AI now shows for every API backend whether a key is saved; a saved one can be forgotten, so the environment's is used again, and a new one saved in its place, without removing the backend. The CLI does the same with ai key <name> (--key-env, --key-stdin or --forget), and never prints the key. A new key is read back after saving, and a forget that a locked or failing keychain can't confirm says so instead of reporting success.
Refs #1358
A comment containing 4.5 could satisfy the mechanics check and claim that walk speed uses it, while an equivalent calculation without that literal could fail. The numeric-text match is gone: a readable mechanics sheet passes its readability check with a saved unknown for the unmeasured behavior and makes no claim about what the build uses. A check result another builder turn can't resolve no longer sends the builder to retry it; the builder states it as unverified instead, and the summary counts the comparisons that remain unverified.
Docs only. The roadmap line for live-checking core_text_read in an agent chat is ticked with what live Codex and Claude Code chats showed, STATUS says what was run, and a new line records the gap they found: a text file's kind is still unknown, so the target list and triage call it a file we don't recognise yet.
A text file outside a build (a script, Markdown, settings, a log) could only be searched byte by byte: the native tools refused it and build_file_read works only in a build. The new core_text_read (Deep mode) reads one as text, a page of lines at a time: UTF-8, or UTF-16 with a byte-order mark, invalid bytes shown as U+FFFD and counted, very long lines cut and named, and a file with zero bytes near its start refused as binary. Nothing is run.
Fixes#539
A service that limits requests a second or a minute could only be answered after the fact, by waiting and retrying once it had said it was rate limited. An API backend can now be given requests_per_minute in config.toml, and its requests start at least that far apart, across every conversation on that backend in the app (a crew's workers, a build and a chat). A stop ends the wait; unset or zero sends requests as they come, as before.
Refs #668
A Swift subscript accessor was printed with its type first and the accessor last (Swift.Array.subscript(Swift.Int) -> A.getter), so the accessor read as if it belonged to the result type. It now reads as swift-demangle prints it, the accessor right after subscript and the type after a colon (Swift.Array.subscript.getter : (Swift.Int) -> A), in every symbol that names one; a subscript without an accessor still prints its type straight after.
A Swift symbol ending w and two letters is a value witness, one of the functions the runtime calls to copy, move or destroy a value of a type, or to read and set an enum value's case. These now decode as swift-demangle prints them, for example "destroy value witness for" and the type; an unknown kind, or one whose operand isn't a type, isn't decoded.
A private or fileprivate Swift declaration's symbol carries the name, then an identifier for the file that declares it, then LL, as two declarations in different files may share a name. Such symbols weren't decoded; the name now reads (name in _HASH), as swift-demangle prints it, wherever it appears: a type, a protocol, a function, a variable, a nested type or a generic argument.
When some arguments of a Swift function, initialiser or subscript have labels, the others now read _: as swift-demangle prints them, so append(_:length:) reads append(_: Swift.UnsafeRawPointer, length: Swift.Int) instead of leaving the first argument bare. A single argument not wrapped in a tuple prints bare, as there. About 21,000 symbols from system binaries now match.
A Swift symbol ending Ml is the cache the runtime fills the first time it lays out a type's metadata whose layout is only known at run time, and one ending ML is the type's lazy metadata cache variable. Both were named "lazy cache variable for type metadata for"; Ml symbols now read "type metadata singleton initialization cache for".
Started from the Dock, the app has a short PATH, so a Codex installed inside the ChatGPT or Codex app wasn't found. It's now looked for in those apps' known bundle locations (never the app's own executable), after an explicit program and PATH. Testing a local coding agent in Settings → AI (or `ai test`) now also asks its adapter whether it's signed in, without sending a prompt, and Codex only gives sign-in advice for real authentication failures.
A coding agent's saved session counted as the project's history whatever mode it ran in, so after switching between Clean room and Deep a run could skip its study and build from the other mode's capture. A saved session or transcript now counts only in its own mode (one saved before the mode was kept counts as Deep); one from the other mode makes the run study again and replace the capture before the builder is briefed, including an API follow-up whose transcript was rejected for its mode.
A question answered from a fork of the builder's Claude Code session reported the whole session's running total, so its cost was hidden. It's now what the total added since the builder's last turn, read before the question starts, and unknown when there's no kept total, never the session's total. The question's cost is added to the project's usage, and a build turn and a question saving their costs at the same time no longer overwrite each other.
A GNU long-name or long-link record whose text was complete but whose 512-byte padding was cut off, or whose padded size overflowed, stopped the listing without saying why, so the engine installer could still write the files listed before it and report success. Both cases now count as a cut-short GNU record, and the installer refuses the archive before writing anything.
An ASAR manifest whose nodes aren't objects, are both a folder and a link, have a link that isn't text, have no size, a non-boolean `unpacked` flag, or a packed file with no offset is now reported as damaged instead of being listed with made-up values.
When a tar listing stopped at a GNU long name or link it refused (too long, or cut short), the engine installer still wrote the files listed before it and reported success, which could replace a working engine with part of one. The listing now says why it stopped, and the installer refuses such an archive before writing anything, with a plain-English error. An archive missing only its end marker still installs.
ZIP entries compressed with LZMA (method 14) were listed and not read. They're now extracted with the same output limit, size and CRC checks as other methods, whether the stream gives its size or ends with a marker; the dictionary is held to the output limit, and properties of another size are reported as unsupported.
A GNU sparse member stores only some extents of its file, and was extracted as if those were the whole file. It's now listed as another kind of member with a warning, under the name GNU.sparse.name gives when there is one.
A versioned ELF import names its library while its relocation slot doesn't, so since slots were matched by name and library, such imports lost their slot address. An import now takes a slot of its own library first, then a slot with no library only when the name belongs to one library and has one address.
A standalone LZMA stream's declared size is now checked against the output limit before decoding, and its dictionary is held to the limit, so a damaged stream can't grow a large window before failing.
ZIP entries compressed with bzip2 (method 12) or XZ (method 95) were reported and not read. They're now extracted with the same output limit, size and CRC checks as deflated entries.
A gzip member in a packed bundle was inflated without its trailer being checked, and only its first gzip member was read. Every member is now read, within the size limit, and each trailer's checksum and length must match.
A gzip header with the optional header checksum (FHCRC) is now checked against it. The extra-flags and operating-system bytes, which are only informational, no longer make a valid header be refused, while reserved flags still do.
A member whose stored bytes reach past the start of the archive's table, into the table, cookie or a signature after it, could be read as that member. Such members are now unreadable, with a note counting them, and a PYZ there supplies no nested members.
A method list whose record size was smaller than a method record, or whose last record was only partly in the file, was still read, so methods came from whatever bytes followed. A list now needs records of at least 24 bytes (12 for relative ones), each wholly in the file, and longer extended records still read.
A Godot pack embedded in an executable ends before its trailer, and a member's data could run into the trailer. The file table and members are now read only before it, and a member that would reach past it isn't readable.
A `long` or `double` constant takes two constant-pool slots, and one in the last slot was read past the pool's declared count. Such a constant is now refused as a damaged class, with no overflow at the largest pool size.
Cooked Unreal textures in half- and full-precision float formats (R16F, G16R16F, FloatRGBA, R32_FLOAT, G32R32F, A32B32G32R32F and the filtered half aliases) were reported as unsupported. They're now decoded with the shared float reader: colour becomes 8-bit sRGB, alpha stays linear, and values outside the range are clipped.
The metadata reader took a header offset past the end of a short input and read past the declared metadata into object bytes. The offset and size are now checked against the object data, the declared file length and the bytes supplied, and only that range is parsed.
Each repeated name or producers section got its own allowance, so together they could keep more than the item limit, and the cutoffs left metadata out without saying so. The function-name and producer limits now apply to the whole module, names already kept can still be updated at the limit, and the report says when anything was left out.
A resource chunk could fit in the file while reaching past the size its table or package declares, so string pools, library records and short headers could read unrelated bytes. Each chunk is now read only within its parent, package and known child headers must be complete, package string pools stay inside the package, and only complete library records are kept.
A class-data group cut at the member limit left its unread records where the next group would be read, so they were taken as that group's members, and a typed-handler list that stopped early could turn its remaining bytes into a catch-all address. The class data now ends as incomplete before an unread group, and a catch-all is read only after every typed handler.
A private browser or driven Electron app was stopped only when its process handle was dropped, which a crash, a kill, a force quit or an MCP server stopped by its client never does, so the browser was left running and its profile stayed in the temp folder. On Unix a small watcher now stops the browser's process group and deletes its `craft-*` profile once the app is gone, and ends by itself as soon as the browser does. Windows children are held by a Job Object; whether one outlives an abrupt exit is left as a roadmap line.
Refs #810
The indirect symbol limit applied to each section on its own, so many sections could still read an unbounded number of slots. It now applies across all sections, with a warning when slots are left out.