Skip to content

feat(artifacts): list Rust evidence runs read-only - #142

Merged
ElbertePlinio merged 2 commits into
mainfrom
feat/117-rust-runs-listing
Sep 9, 2026
Merged

ElbertePlinio merged 2 commits into
mainfrom
feat/117-rust-runs-listing

Conversation

@ElbertePlinio

Copy link
Copy Markdown
Member

Refs #117 (bullet 4, reconciling the Rust evidence path without migrating stored runs).

pickforge evidence record runs (evidence.json + report.md) in the shared runs/ tree now appear in pickforge-lab artifacts list/report, MCP artifact_list/artifact_report and the pickforge://runs resource with a source: "rust" discriminator next to source: "lab". The reader opens evidence.json through the confined directory handles with no symlink following and a 1 MiB cap; malformed documents surface as corrupt entries. Reports for Rust runs are short redacted Markdown summaries pointing at the existing report.md; no HTML, manifest or per-file resources are created, and --finalize-orphans ignores Rust runs (checked by hashing the directory).

Lead fix after the lane delivered: the lane had wrapped CLI and MCP results in a blanket redaction pass that rewrote the report's Session: line to [REDACTED]; removed, since the reader already redacts its strings.

Validation: bun run typecheck, bun run lint, complexity-gate check --changed, full bun run test:coverage before the fix (the only failures were the redaction defect and one browser relay test that passes alone), then the affected CLI, MCP, core and security suites after the fix (183 passed).

Author: Astra lane. Reviewer: separate Fable review.

@ElbertePlinio

Copy link
Copy Markdown
Member Author

Review fixes pushed: removed the second redaction pass over composed report lines (a check named Login session no longer becomes [REDACTED]), skipped dot-prefixed Rust staging directories, one catalog open and one manifest walk per report call with the lab-empty probe replaced by the listed entries, only storage-access and missing errors are swallowed when scanning a root, and reportPath is emitted only when report.md exists as a regular file. Regression tests added for the staging skip, the empty report path and the keyword-like check name. Affected suites 185 passed, typecheck and oxlint clean.

@ElbertePlinio
ElbertePlinio merged commit 739efa3 into main Sep 9, 2026
14 of 15 checks passed
@ElbertePlinio
ElbertePlinio deleted the feat/117-rust-runs-listing branch September 9, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant