You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(artifacts): expose report path, outcome and device in artifact commands - #145
Refs #117 (bullet 4). Stacked on #141; merge after it and after main is merged in.
pickforge-lab artifacts report and MCP artifact_report now return reportPath (the run's report.html when it exists as a regular file inside the run, checked through the catalog's confined root-file helper, null otherwise), outcome (latest outcome record's status and scenario, or null) and device (manifest device metadata, or null). Text mode ends with Report: <path> or Report: not finalized yet while the run is still running. artifacts list, artifact_list and pickforge://runs gain outcome per lab run, read through the existing journal path with a corrupt-journal fallback to null; sort order is unchanged and reads never generate a report. README documents the new fields.
Validation on this branch: typecheck, oxlint, complexity-gate, bun run test:coverage 1676 tests with thresholds held (run by the lead outside the lane sandbox).
Author: Astra lane. Reviewer: separate Fable review.
Merged main (#141 and #142). The per-run outcome lookup moved into core as latestOutcomeStatus and listArtifactRuns now carries outcome for lab runs (null for Rust runs), so CLI, MCP and the runs resource share one listing again. The CLI report command was split into labReport to stay under the complexity limit and the MCP outcome tool registration into its own function for the line limit. Affected CLI, MCP, core and security suites: 547 passed; typecheck, oxlint and complexity-gate clean.
Review fixes pushed (099e4e5): journals are read one at a time in the listing so at most one journal is buffered (cheaper tail-scan or manifest cache tracked in #147); one core latestOutcome helper now serves list, CLI report and MCP report; the text listing prints outcome: none instead of unknown; README states that outcome is the lab journal record only and Rust runs carry their result in status; assertions added for device: null, a completed run without report.html printing no Report line, and the Rust list entry shape. CLI artifacts suite and MCP/core suites green, typecheck and oxlint clean.
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
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.
Refs #117 (bullet 4). Stacked on #141; merge after it and after main is merged in.
pickforge-lab artifacts reportand MCPartifact_reportnow returnreportPath(the run'sreport.htmlwhen it exists as a regular file inside the run, checked through the catalog's confined root-file helper, null otherwise),outcome(latest outcome record's status and scenario, or null) anddevice(manifest device metadata, or null). Text mode ends withReport: <path>orReport: not finalized yetwhile the run is still running.artifacts list,artifact_listandpickforge://runsgainoutcomeper lab run, read through the existing journal path with a corrupt-journal fallback to null; sort order is unchanged and reads never generate a report. README documents the new fields.Validation on this branch: typecheck, oxlint, complexity-gate,
bun run test:coverage1676 tests with thresholds held (run by the lead outside the lane sandbox).Author: Astra lane. Reviewer: separate Fable review.