feat: structured clickable artifact links {kind,url,label} (0.27.0)#55
Merged
Conversation
…card Adds Artifacts.links rendered as [label](url) (kind) in the pack. Fed by: - harvest at close: resolves repo web URL (gh repo view) and emits clickable PR / commit / branch links (a bare commit hash becomes a real link) - artifact_add: new MCP tool + `task-journal artifact-add` CLI command so the agent can attach a doc / deploy / dashboard. Stored as a finding event whose meta.artifacts is merged by index_event — no new storage. Flat token vectors unchanged (still power search / relatedness). Bump 0.27.0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The path deps pinned task-journal-core = "0.26.1" (^0.26.1 excludes 0.27.0); the first minor bump broke registry resolution in CI. Match the pin to the workspace version. Co-Authored-By: Claude Opus 4.8 (1M context) <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.
Summary
Makes a closed task render as a clickable card on the Loom board.
Artifactsgains alinks: [{kind, url, label}]field, rendered in the pack as[label](url) (kind). Two sources:gh repo view) andemits ready-to-click links for the PR (labelled
PR #N), the commit(
…/commit/<sha>), and the branch (…/tree/<branch>). A bare commit hashbecomes a real link.
artifact_add— new MCP tool +task-journal artifact-addCLI command sothe agent attaches arbitrary refs (design doc, deploy/preview URL, dashboard):
artifact_add(task_id, kind, url, label). Stored as afindingevent whosemeta.artifactsis merged byindex_event— no new storage.Flat token vectors (commit_hashes, pr_urls, …) are unchanged and still power
artifact search / task relatedness.
Type of change
Artifacts.linksfieldTest plan
build_keeps_real_refs_and_emits_links+…without_repo_url…(harvest)merge_dedupes_links_by_full_identity(model)artifact_add_renders_clickable_link_in_pack(E2E CLI → pack)cargo fmt/clippy -D warnings/cargo test --workspace/cargo docCHANGELOG
## [0.27.0].