Repository navigation
Fix CI on main; SolidCraft plugin: status/check run, one label per button - #402
Merged
Merged
Conversation
The usage statistics page (#383) left three checks red: the table headers had no scope (every_rendered_page_is_accessible), usage::record, ::overview and ::spawn write without an audit entry and were not on NOT_AUDITED, and `mod usage;` was out of rustfmt's order in src/web/mod.rs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SolidCraft refused status and check with "permission denied: edit command document.metadata from read entry": its command catalog classes document.metadata, assembly.bom and component.links as edit commands, and a read entry may only call read commands. Both entries are now declared edit (they still only read). The four ribbon buttons all read "TeamCraft" because a ribbon slot's name is the button label; they now carry the entry titles. A manifest test pins both; the finding and its source are in docs/src/research/solidcraft-design.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
every_template_renders looked for "Page: /items/PRT-000042", but MiniJinja escapes / in text as /. The copied details are decoded by the browser. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…0.45 Bad input names the field (SolidCraft shows only the reason), damaged teamcraft.pdm data is reported with the fix, and check no longer reports ready when the BOM or the linked designs could not be read. Command failures carry what to do. SolidCraft 0.45 ends a run on any failed command with its own message, so the plugin only calls commands that answer on any design; all four entries were run on the flatpak through solidcraft-cli, also on an empty design. The test host now answers a part with no BOM rows, as SolidCraft does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sebagrei
added a commit
that referenced
this pull request
Nov 22, 2026
Builds on #402 (merge that first; this branch contains its commits). SolidCraft plugins have no network, so the TeamCraft plugin and the desktop app now share one folder, `<working folder>/.teamcraft/solidcraft`. Research page first: `docs/src/research/solidcraft-bridge.md` (channels of SolidCraft 0.45 compared, with sources). **Desktop** (`desktop/src/scbridge.rs`, `desktop/ui/js/solidcraft-bridge.js`) - heartbeat every 30 s (`desktop.json`: the app runs, the server answers `/me`); - revision state on every Workspace refresh (`state-<key>.json`: checked out by, local changes, released); - every 5 s the plugin's requests (`request-<key>.<time>.<action>.json`) are checked – a revision of this working folder, one of three actions, ≤ 10 min old, ≤ 4 KiB, a regular file, name matching content – removed, and handed to the UI: *open* shows the revision, *check out* asks first, *check in* opens the check-in dialog. - Only for a working folder that exists; no secrets in the folder. Threat model row added. **Plugin** - New entries `live`, `check-out`, `check-in`, `open`; folder grant `teamcraft` + clock. The desktop app not running is a message ("not running – as of 3 min ago: …"), never a failure; a request waits 10 minutes. - The old entries never touch files, so they work without the folder grant (test pins it). - `plugins/solidcraft/tests/*.json`: 14 cases, all pass on SolidCraft 0.45.0 via `solidcraft-cli plugin test --require-cases`. - `build.sh` also writes `teamcraft.zip` (what *Install plugin…* takes) when `zip` exists. **Not verified locally:** the desktop Rust (Tauri) was not built here – desktop CI is the check. `cargo test` for the plugin was not run locally (permission); the plugin workflow runs it. Docs: research page, `CHANGELOG.md`, `README.md`, `desktop/README.md`, `docs/src/guide/desktop.md`, `docs/src/dev/threat-model.md`, `docs/OPEN_WORK.md`, `plugins/solidcraft/README.md`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: fork <fork@foo.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Main has been red since the last five merges (their CI runs were cancelled). This fixes what the usage statistics page (#383) broke, and the SolidCraft plugin entries that SolidCraft refused.
CI
templates/admin/usage.html: table headers getscope="col"(every_rendered_page_is_accessible).tests/architecture_guards.rs:usage::record,usage::overview,usage::spawnonNOT_AUDITEDwith their reasons (anonymous report, creating the one settings row, housekeeping).src/web/mod.rs:mod usage;in rustfmt's order.SolidCraft plugin
document.metadata,assembly.bomandcomponent.linksas edit commands, and a read entry may only call read commands. Both entries are now declarededit(they still only read).docs/src/research/solidcraft-design.md.Docs:
CHANGELOG.md,plugins/solidcraft/README.md,docs/src/research/solidcraft-design.md.🤖 Generated with Claude Code