Commit Graph

224 Commits

Author SHA1 Message Date
bflatastic b51826713d Let the Flatpak create and write its default projects folder
Fixes #505. The Flatpak grants home read-only, so new projects in the default folder
(~/Documents/Craft Anything) failed with "Read-only file system". Both manifests now
also grant xdg-documents/Craft Anything:create; the rest of home stays read-only.
2026-11-03 14:57:01 +07:00
Bently 0ec096c569 Deep mode uses Ghidra when the engine store is under a dot folder such as ~/.config (#484)
On Linux, where the default engine store is under ~/.config, Ghidra is given a dot-free link to the store in a private runtime folder, since it refuses project paths with a dot folder; Deep mode now uses Ghidra there.
2026-11-03 14:51:00 +07:00
Bently c9c263832e Ghidra's pseudo-C uses the names you set, in the code and in its summary (#488)
In Deep mode, Ghidra's pseudo-C uses the names set with native_name_set in the function field, the summary and the code (whole identifiers only, never inside comments, literals or fields); names that can't stand in C or would clash are listed in a limitation.
2026-11-03 14:50:54 +07:00
Bently 473f187c5d doctor says which Java Ghidra runs on as well as the Java on PATH (#489)
doctor reports which Java Ghidra runs on (JAVA_HOME_OVERRIDE in its launch.properties, the Java set for it in Settings, JAVA_HOME, then PATH), and warns when the set folder has no Java or an override wins over it.
2026-11-03 14:50:48 +07:00
Bently 2c7a311dfd Find strings in ELF files with no section headers, read from their loaded segments (#491)
For ELF files with no section headers (common in firmware), native strings are read from the loaded segments, limited to the bytes each segment maps.
2026-11-03 14:50:43 +07:00
Bently c5fce85fe0 In stripped programs, a jump below a function's entry is a tail call to a function of its own (#492)
In a stripped program, an unconditional jump to code below a function's entry that the function hasn't reached otherwise is a tail call to a function of its own (such as frame_dummy jumping to register_tm_clones), instead of pulling that code into the caller.
2026-11-03 14:50:38 +07:00
Afloat 6615caa7e4 Respect stop reasons before running native tool calls (#544)
Native tool calls keep a reported output-limit or refusal stop instead of being run as tool use, and calls left unrun after a pause or other stop get matching non-execution results so the next request stays valid.
2026-11-03 14:50:10 +07:00
Afloat d5e07a8262 Report unavailable cached bodies in stand-in replay (#543)
A stand-in backend no longer replays a recorded 304 without its cached body: such samples are kept for diagnosis, skipped in replay, and a request with no usable answer gets cached_body_unavailable. Builds count them.
2026-11-03 14:50:01 +07:00
Afloat 925d4737d1 Wait for keep-awake cleanup before a rebuild reports it finished (#541)
The rebuild releases its keep-awake helper before reporting Finished, and dropping the guard waits up to five seconds for the helper to stop (logging if it doesn't), so a CLI that exits right away no longer leaves it running.
2026-11-03 14:49:55 +07:00
Afloat 2546042d4c Show upstream provider reasons in API errors (#542)
Refs #369. API errors show the provider's own reason from error.metadata.raw (with the provider's name) instead of only "Provider returned error"; unknown or malformed payloads are not dumped, and the message is bounded.
2026-11-03 14:49:50 +07:00
NetterSilver 821d82fb85 Send Codex its prompt on stdin instead of the command line (#530)
Fixes #528. Codex gets its message on stdin (codex exec -) instead of as the last argument, so a long message no longer passes Windows' command-line limit (os error 206).
2026-11-03 14:48:47 +07:00
Tanish Manku 5a45b3cd78 Record that #490 is settled on Windows and move its macOS run to the live checks (#524)
* Record that #490 is settled on Windows and move its macOS run to the live checks

* Name R5.1's two failures, and say which checks read another worktree
2026-11-02 20:27:16 -07:00
Tanish Manku 4142d1c653 Bump the version to 0.4.0 (#526) 2026-11-02 20:14:06 -07:00
Tanish Manku 8638d6b72b Rebuild the roadmap around what people hit now, and keep finished work in its own file (#512) 2026-11-02 17:38:37 -07:00
Tanish Manku 2e4afc535c A plain HTML site passes the build check as it is, with nothing to build (#500)
* Claim: count a plain HTML site as built (R2.7)

* A plain HTML site passes the build check as it is, with nothing to build

* Note the keep-awake helper seen outliving a CLI run, and a search that found itself

* A blank page, or a game engine's project beside it, doesn't pass as a static site

* A static site with an assets folder isn't sent to Unity
2026-11-02 16:44:21 -07:00
BFlat e56379f062 Keep every character string in a decoded DNS TXT answer (#485)
Fixes #330. Supersedes #342. A DNS TXT answer keeps every length-prefixed character string, joined, instead of only the first; an empty string doesn't end the record.

Co-authored-by: Rahul <rahulsingh.ranjan06@gmail.com>
2026-11-03 02:55:24 +07:00
BFlat 6fef18141c Accept UTF-16 XML plists after either byte-order mark (#483)
Fixes #333. Supersedes #341. parse_xml decodes an XML plist that starts with a UTF-16LE or UTF-16BE byte-order mark as UTF-16 before tokenizing; a lone surrogate is an error.

Co-authored-by: Rahul <rahulsingh.ranjan06@gmail.com>
2026-11-03 02:50:12 +07:00
BFlat c2ad022f50 Page states select the original tab again after photographing another (#475)
Fixes #335. Before a tab is clicked, web_page_states_capture marks the tab its list has selected and clicks it again after the picture, so later states and the next capture see the page as it was.
2026-11-03 02:47:05 +07:00
BFlat 1e8f661673 A builder never continues a session another builder saved (#471)
Fixes #469. craft.json records which coding agent saved the session (agent_session_by). A build or a question continues the session only with that agent; after the builder changes, the new one starts from the brief. A follow-up to an agent with no saved session also gets the brief.
2026-11-03 02:38:46 +07:00
Bently 09401b6458 Changing a setting keeps a test session to its configured engines, and the live browser tests find the installed browser (#479)
settings_set keeps a test session's engines.only_configured across its settings round trip, so a test that changes a setting still doesn't find this computer's engines. New testing::live_session() finds installed engines for the --ignored live tests; the live website tests use it.
2026-11-03 02:29:14 +07:00
BFlat 843099abca Page states at a second width open that width's own controls (#474)
Fixes #339. web_page_states_capture drops the data-craft-state marks an earlier call left before marking, so a capture at a second width opens that width's own controls instead of a hidden one from the first width.
2026-11-03 02:24:26 +07:00
Kushagra Kumar 1c204067dc Scan C# delegate declarations in reconstruction (#463)
Fixes #315. The C# declaration scanner reads delegate declarations (top-level, nested and generic, with tuple return types), so reconciliation no longer reports a published delegate as a missing type; anonymous delegates and function pointers aren't taken for declarations.
2026-11-03 02:22:01 +07:00
Jesse Houston f5ed134bdd Keep building with Claude Code after moving a project to another computer (#458)
Fixes #451, fixes #452, closes #446. Claude Code's result for a --resume session it doesn't have is recognised (StreamParser::session_missing); the build forgets the stale id and starts a new session from the brief, what is in app/ and what the project kept of the old conversation, and questions answer from the project's files. After every builder turn the project keeps a private copy of the session, which is put back under Claude Code's folder on another computer when it isn't there (never over an existing one).
2026-11-03 02:20:28 +07:00
BFlat 5b09ab03ab A website capture says when its HTML was cut at the size limit (#472)
Fixes #336. web_site_capture keeps the first 4 MiB of the page's HTML; when the page has more, the evidence carries an html_cut limitation with both sizes and the README says page.html is the first part, cut at the size limit.
2026-11-03 02:12:11 +07:00
Bently 7bf8220006 Test sessions find only the engines their settings name (#466)
Test sessions set engines.only_configured (never saved), so Settings::ghidra_launcher and engine_path look only where the settings and the managed store say, not on PATH or in the usual install folders. Tests now pass the same on a machine with Ghidra installed. New locate_configured and ghidra::get::headless_configured are the first half of locate and headless, which return the same as before.
2026-11-03 01:53:53 +07:00
Bently 826efdbcb8 native_function_find gives a negative offset for an address below the function's entry (#465)
native_function_find works out the offset as a signed value, so an address in a block below the function's entry gives a negative offset ("-0x70") instead of wrapping to a huge number or panicking with overflow checks.
2026-11-03 01:53:48 +07:00
GGWA ecbd519c6a Read SQLite WITHOUT ROWID tables, rows older than added columns and capped records correctly (#412)
Merges the whole SQLite stack in one commit (#410, #411 and #412): WITHOUT ROWID tables are read in primary-key order, rows older than ALTER TABLE ADD COLUMN show the added columns, and records over the payload cap say which values were cut.

Fixes #406, fixes #407, fixes #408.
2026-11-03 01:43:19 +07:00
NetterSilver 28df99e066 Report folders that couldn't be listed in archive and JS app evidence (#459)
Fixes #294. walk_dir returns an error when the root folder can't be listed and keeps each unlistable folder below it; core_archive_show and js_app_map mark those folders, add an unlisted_folders limitation and report partial coverage.
2026-11-03 01:43:12 +07:00
NetterSilver b11554d7cc Check folder inventory evidence with the scope it was recorded with (#461)
core_archive_show records max_entries and max_total_bytes, and a shared recorded_inventory helper checks a folder's freshness at the scope it was recorded with, so core_archives_compare and the Android, Apple and Harmony graph tools no longer refuse unchanged folders as file_changed.
2026-11-03 01:43:05 +07:00
NetterSilver d4b20027b9 Declare positional record properties in the C# declaration scanner (#448)
Fixes #317. The C# declaration scanner turns a positional record's parameters into properties (unless the body declares a member of the same name), so reconciliation no longer lists them as missing.
2026-11-03 01:42:57 +07:00
NetterSilver f94cbe72db Disclose the serialized-file read limit in Unity bundle listings (#454)
game_unity_bundle_list adds a files_unread limitation when a bundle has more serialized files than it reads (16) and says "at least N object(s)" in its summary.
2026-11-03 01:42:51 +07:00
NetterSilver 5bc54ce64a Keep every tensor in a model summary's saved evidence (#457)
In summary mode formats_ai_weights_show saves every tensor in its evidence record with complete coverage, so core_evidence_browse can page through all of them instead of stopping after the first page.
2026-11-03 01:42:44 +07:00
NetterSilver 977ee5c6b5 Fetch source maps served from the script's own loopback origin (#464)
Declared source maps on the script's own loopback origin (http://127.0.0.1 or [::1] with a port) are now resolved against the script URL and fetched with the bounded HTTP client, reporting fetched, bytes or the reason. Other hosts, ports, schemes and remote https maps are still never requested.
2026-11-03 01:42:37 +07:00
BFlat bbb28b3aa6 An app folder survey says when a file couldn't be opened, and its coverage is partial (#453)
app_folder_explain counts files it couldn't open to look inside (unopened_files) and reports partial coverage then, and when its walk couldn't read something, instead of a complete 'nothing points to a runtime'. Fixes #292.
2026-11-03 00:24:10 +07:00
Afloat fed67edd38 Pinned builds keep runtime models in obj folders (R2.10) (#439)
Frozen and light pins keep a project's runtime models in assets/obj; only obj folders beside a .NET project file are left out as build output. Fixes #274.
2026-11-03 00:16:57 +07:00
muraa-p c6c8f35612 List a remote Frida device without frida-ls-devices -H (#227)
Listing Frida devices with a remote address returns that remote as one device, marked not contacted, instead of running frida-ls-devices with a -H flag it doesn't have.
2026-11-03 00:12:33 +07:00
BFlat 4a6d87a107 ARM32 loads and stores keep their memory operands in pseudo-C (#450)
ARM32 and Thumb loads and stores keep their memory operands, so pseudo-C shows r0 = *(uint32_t*)(r1 + 4); instead of r0 = 0;; write-back and shifted or subtracted index forms are shown as written. Fixes #277.
2026-11-03 00:12:07 +07:00
BFlat d6780ff30e build_file_read shows a line longer than a page, cut, instead of nothing (#447)
build_file_read always shows the first line of a page, cut to 256 KiB with a note when it is longer, so a long minified line no longer reads as an empty page that no offset gets past. Fixes #280.
2026-11-03 00:00:38 +07:00
bently-bot 11166b3589 Deep mode decompiles position-independent programs by name: addresses move between our image base and Ghidra's (#426)
In Deep mode, a position-independent program is decompiled by name: addresses move between our image base and the one Ghidra loaded it at (the bridge now reports it), with engine_entry and an engine_rebased limitation when they differ.
2026-11-02 23:50:33 +07:00
BFlat 531f546dc0 The same files in another archive order are the same content tree (#445)
An inventory's content id hashes its (path, sha256) pairs sorted, so the same files listed in another archive order are the same content tree and compare as identical. Fixes #281.
2026-11-02 23:50:01 +07:00
NetterSilver 923cbc025c Treat explicit interface property accessors as implicit (#443)
Explicit interface property accessors (Interface.get_X) count as implicit once their properties match, instead of showing as missing. Fixes #347.
2026-11-02 23:49:24 +07:00
muraa-p 315ed8d441 Check Simple-mode text sizes with a test (R2.9) (#354)
A test keeps Simple-mode text at 12 pt or more outside the workbench; eight smaller monospace labels now use the caption size. R2.9.
2026-11-02 23:49:21 +07:00
Afloat e80df1da4e Build usage includes context-summary calls (R2.1) (#442)
Build usage and cost include the model calls that summarise earlier work to make room, and each is journaled. Fixes #272.
2026-11-02 23:48:58 +07:00
muraa-p 694b41929e List slash commands and complete them with Tab (#228)
Typing / in the prompt box lists the slash commands, and Tab completes a partial command name when only one matches.
2026-11-02 23:48:55 +07:00
Afloat fa4aae2e79 Compare WebAssembly exported tag parameter types (R0.5) (#441)
WebAssembly comparison reports changes to exported tags' parameter types. Fixes #309.
2026-11-02 23:48:32 +07:00
Afloat 66ffd738ed App comparisons keep every unassigned window (R3.10) (#440)
App version comparisons keep each unassigned window's preference changes instead of folding them into one. Fixes #237.
2026-11-02 23:48:06 +07:00
muraa-p a7a04333c0 Show a pin's folder from its right-click menu (#215)
A pin's right-click menu has Show folder, which opens the pinned build's folder (project_open_folder takes pin).
2026-11-02 23:47:24 +07:00
GGWA 6c615210f6 A Mach-O executable with only __mh_execute_header counts as stripped (#373)
A Mach-O executable whose only local symbol is the linker's __mh_execute_header counts as stripped. Fixes #256.
2026-11-02 23:43:28 +07:00
GGWA 4158083708 Mach-O sections inherit read/write from their segment (#372)
Mach-O sections inherit read and write from their segment, so read-only stub and unwind sections aren't reported as writable. Fixes #255.
2026-11-02 23:43:01 +07:00
Afloat 89bcd06190 Minified esbuild modules keep their dependencies (R0.5) (#438)
Minified esbuild bundles keep the dependencies between their modules: wrapper calls are matched by binding, not by a require_/init_ name. Fixes #270.
2026-11-02 23:42:49 +07:00