Skip to content

feat: structured clickable artifact links {kind,url,label} (0.27.0)#55

Merged
Shahinyanm merged 2 commits into
mainfrom
feat/structured-artifact-links
Jun 17, 2026
Merged

feat: structured clickable artifact links {kind,url,label} (0.27.0)#55
Shahinyanm merged 2 commits into
mainfrom
feat/structured-artifact-links

Conversation

@Shahinyanm

Copy link
Copy Markdown
Member

Summary

Makes a closed task render as a clickable card on the Loom board.

Artifacts gains a links: [{kind, url, label}] field, rendered in the pack as
[label](url) (kind). Two sources:

  • Auto at close — harvest resolves the repo web URL (gh repo view) and
    emits ready-to-click links for the PR (labelled PR #N), the commit
    (…/commit/<sha>), and the branch (…/tree/<branch>). A bare commit hash
    becomes a real link.
  • artifact_add — new MCP tool + task-journal artifact-add CLI command so
    the agent attaches arbitrary refs (design doc, deploy/preview URL, dashboard):
    artifact_add(task_id, kind, url, label). Stored as a finding event whose
    meta.artifacts is merged by index_event — no new storage.

Flat token vectors (commit_hashes, pr_urls, …) are unchanged and still power
artifact search / task relatedness.

Type of change

  • Feature (non-breaking) — new MCP tool + additive Artifacts.links field

Test 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 doc

CHANGELOG

  • Added ## [0.27.0].

Shahinyanm and others added 2 commits June 17, 2026 16:20
…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>
@Shahinyanm Shahinyanm merged commit f6f0f11 into main Jun 17, 2026
7 checks passed
@Shahinyanm Shahinyanm deleted the feat/structured-artifact-links branch June 17, 2026 12:35
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