Repository navigation
Linmas 0.9.4
Linmas 0.9.4 adds managed Claude Code MCP registration, extends MCP proof creation to sealed Codex Security scans, hardens proof bundle publication, and tightens the specialist skill output contract.
Fixed
- The Claude provider reports
authMode: "apiKey". This fixes capsule validation for CLI reviews with--capsuleand MCP reviews throughlinmas_review_execute. - Scoped install and uninstall report the path when an existing Linmas lock blocks the operation.
Hardened
- MCP proof creation checks that the source files still match the inspected files and binds sealed scan hashes to the exact bytes included in the bundle. It checks the staged bundle's limits and verifies its integrity before publishing.
- The proof bundle writer checks ownership before deleting locks, destination claims with a known identity, or staging directories recursively. If it cannot obtain the identity of a newly created directory, it attempts only an empty-directory removal. The workspace and destination parent must stay stable during the call.
- MCP proof tools reject workspace roots and inspected proof directories that report inode 0. The CLI and MCP bundle writer also reject a destination parent whose filesystem reports inode 0.
Added
linmas_proof_createaccepts a capsule file or a sealed Codex Security scan directory assource_path. Both prepare and execute check the source tree and compute the unsigned bundle size. Source trees and staged bundles are limited to 32 MiB and 4,096 entries each. Invalid sealed scans returnCONTRACT_VIOLATIONwith reasonSEALED_CODEX_SCAN_INVALID. Other source access failures, including invalid UTF-8 path names, useINVALID_PATH. Exceeded limits useINPUT_TOO_LARGE, and cleanup failures useARTIFACT_WRITE_FAILED. See the MCP error contract.- Scoped
linmas installpreviews the Claude Code MCP entry and registers it after confirmation throughclaude mcp add-json. It maps project scope to Claude'sprojectscope and Linmas global scope to Claude'suserscope. The managed runtime lives under.agents/linmas-mcp. Project registration writes a machine-specific path to.mcp.json, and Claude Code may ask for project approval. - Scoped
linmas doctorreports the Claude MCP registration and runtime status. When the last managed Claude skill in a scope is removed, uninstall attempts to remove the owned registration and runtime. It preserves foreign entries and retains the managed runtime when cleanup cannot verify ownership or finds another entry referring to its server path. See Install managed skills.
Changed
- Specialist skills ask for
Open questionsbetweenFindingsandRecommended deterministic checks. Findings require all contract fields and exactly one ofCritical,High,Medium,Low, orInfoas severity. Partly supported risks useNeeds validation. Unsupported assumptions go underOpen questionsas questions. - Specialist review responses must state “Human review disposition is pending.” until a person chooses a disposition. The official choices are A
fix_requested, Bcontinue_with_note, Cmanual_review_required, and Dcustom_instruction. In the chat fallback, the agent presents the applicable choices and waits. Choice A is omitted when there are no findings. - The router names at most one lead and one alternate. If domain, target, and goal are all unknown, it asks for clarification and gives no recommendation. The compliance reviewer gives effort ranges with explicit assumptions. Exploit-validation plans stay within explicitly authorized scope, including any state changes. Retest recommendations are for the code owner.
- Contributors open pull requests from short-lived branches to
main. CI pins third-party actions by full commit SHA, limits job duration, and cancels superseded PR runs. Text checkouts default to LF.
Upgrade notes
- Scoped Claude Code
linmas install --yesnow attempts MCP registration. Pass--no-mcpfor skills-only installation or--dry-runto preview. An existing foreignlinmasMCP entry is preserved and confirmed setup exits 1. Registration or verification failures can also exit 1 even though the skills were installed. A first-time setup with unambiguous configuration can exit 0 with only the skills when the Claude CLI is missing or cannot be launched. With an existing record and intact runtime, the fallback to exit 0 applies whenclaudeis absent fromPATHor the spawn reportsENOENT. - Alternate Claude user configs or unreadable config directories block global MCP setup and cleanup. A confirmed setup or a blocked cleanup exits 1 and preserves existing MCP data.
linmas doctorreports this configuration as unverified and exits 0. Uninstall can also exit 1 if removal cannot be verified or another entry still references the runtime. - Once MCP proof writing starts, the tool waits for in-flight filesystem work and cleanup. It can return after
timeout_ms, and a rename already in progress can still publish the bundle. - Downstream consumers of specialist responses should allow the new
Open questionssection and pending-disposition line. These are instructions to the agent. Linmas does not enforce this prose format on host responses.
Install or upgrade with Node.js 24 or newer.
npm install --global linmas@0.9.4
linmas --versionAutomated verification used offline tests. The usage guide records a manual MCP registration smoke test with Claude Code 2.1.332 on Linux and Node.js 24 at project scope. User scope was exercised with a simulated Claude CLI only. Registration on macOS and Windows remains untested. Scoped install and uninstall apply fail closed on Windows. No live provider review was run, and MCP form elicitation in Claude Code remains unverified. Release-preparation feedback reports that some Claude Code answers still present unverified impact as fact despite the tightened skill instructions.