Skip to content

docs(adr): Obsidian plugin releases are attested on GitHub - #13

Merged
Vithanco merged 1 commit into
mainfrom
adr-attested-releases
Nov 12, 2026
Merged

Vithanco merged 1 commit into
mainfrom
adr-attested-releases

Conversation

@Vithanco

@Vithanco Vithanco commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Summary

ADR 0036 gains one paragraph: Obsidian plugin releases are attested by a workflow in the plugin repository (Vithanco/obsidian-vithanco#21), which rebuilds the tag, checks it matches the release byte for byte, and attests its own build. It writes attestations only; releases still come from the maintainer's machine.

Evidence

  • Documentation only.

Merge Danger

Door: two-way

Blast Radius: docs

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Clarified that releases are verified by rebuilding the tagged source, checking that the bundled files match the released files, and recording a build attestation.
    • Documented that this verification workflow cannot publish or modify releases, and that it relies on reproducible builds rather than a specific Node.js version.

The plugin's attest workflow rebuilds each release's tag, checks it
matches the released files byte for byte, and attests that build. It
writes attestations only; releases still come from the maintainer's machine.
@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The ADR now documents the Obsidian release workflow. It describes rebuilding a tag, checking released bundles byte-for-byte, attesting the build, and the workflow’s limits on publishing, pushing, or creating releases.

Changes: Release attestation documentation

Layer / File(s) Summary
Document the Obsidian release workflow
docs/adr/0036-releases-stay-on-the-maintainers-machine.md
The ADR describes rebuilding the release tag, checking main.js and styles.css byte-for-byte, and attesting the build. It states that the workflow cannot publish, push, or create a release, and notes the reproducibility requirement and Node-version independence.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Possibly related PRs

  • Vithanco/VGraph#8: Creates the ADR that this change extends with Obsidian build-attestation details.
  • Vithanco/VGraph#10: Revises the same ADR, which this change extends with Obsidian build-attestation details.
Merge Risk: Minimal · up to d554d

This documentation-only change describes the Obsidian release attestation workflow and has no runtime or release-path impact. No actionable merge-blocking risk was found. The maintainer may want to confirm that the claim about Node-version independence matches the plugin repository's workflow.

Architecture risk: Low · up to d554d

The change affects 1 system.

Changed systems: docs

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — docs (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in docs/adr/0036-releases-stay-on-the-maintainers-machine.md: The Decision section adds documentation of the Obsidian release workflow’s tag rebuild, byte-for-byte bundle checks, and build attestation, and states that it cannot publish, push, or create a release. It also documents the reproducibility requirement and independence from the Node version.
Pre-merge checks: Passed 7

Check name Status Explanation
Title check Passed The title names the documented change: ADR 0036 now records that GitHub attests Obsidian plugin releases. The raw summary says the only change is an 8-line addition to the Decision section describing …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Swiftgraphviz Compatibility Passed The check is not applicable. The changed-file inventory for refs/coderabbit/pre-merge-check/base..head contains one file: M docs/adr/0036-releases-stay-on-the-maintainers-machine.md. The check cover…
Wasm Engine Export Break Disclosure Passed The check applies only when a @JS public func in VGraphWasm/Sources/Main.swift is removed, renamed, or has its parameters or return type changed. The changed-file inventory between the review base a…
Adr Conflicts Are Explicit Passed The PR adds one paragraph to docs/adr/0036-releases-stay-on-the-maintainers-machine.md (the only changed file). The paragraph says a workflow in the plugin repository attests Obsidian plugin releases.…
Full details: Title check

Explanation

The title names the documented change: ADR 0036 now records that GitHub attests Obsidian plugin releases. The raw summary says the only change is an 8-line addition to the Decision section describing the attestation workflow, which matches the title's subject and scope. The title is clear and specific, and it follows the conventional docs(adr) prefix. It is concise and avoids vague terms.

Full details: Swiftgraphviz Compatibility

Explanation

The check is not applicable. The changed-file inventory for refs/coderabbit/pre-merge-check/base..head contains one file: M docs/adr/0036-releases-stay-on-the-maintainers-machine.md. The check covers Package.swift, Package.resolved, VGraphWasm/Package.resolved, and Sources/VGraphvizLib. None of these changed, so the SwiftGraphviz requirement, the resolved versions, and the Sources/VGraphvizLib symbol checks are not triggered. The PR is documentation-only, as its description states.

Full details: Wasm Engine Export Break Disclosure

Explanation

The check applies only when a @JS public func in VGraphWasm/Sources/Main.swift is removed, renamed, or has its parameters or return type changed. The changed-file inventory between the review base and head contains one entry: M docs/adr/0036-releases-stay-on-the-maintainers-machine.md. The diff for VGraphWasm/Sources/Main.swift is empty, so no exported function changed. The file exists in the checkout but is untouched by this PR. The PR description states the change is documentation only. The check's failure condition is not triggered, so the check passes.

Full details: Adr Conflicts Are Explicit

Explanation

The PR adds one paragraph to docs/adr/0036-releases-stay-on-the-maintainers-machine.md (the only changed file). The paragraph says a workflow in the plugin repository attests Obsidian plugin releases. The ADR's Decision still holds: a release is built, tagged and published from the maintainer's machine, and no repository holds a publish or cross-repository credential. The new text says the workflow can write attestations but cannot publish, push or create a release. I found no other ADR in docs/adr/ that addresses attestation, release workflows, or GitHub publishing, so no other recorded decision is reversed. There is some tension in wording. The existing Decision text says "GitHub only checks," and the new paragraph says "GitHub also attests." This extends the GitHub role. It does not reverse the decision that releases stay local. Even if the wording were read as a contradiction, the condition for FAIL would still not hold. The ADR edit itself states the limit ("It can write attestations but not publish, push or create a release, so the release itself still comes only from the maintainer's machine"). The PR description states the same limit ("It writes attestations only; releases still come from the maintainer's machine"). The check therefore passes.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between d69f1d2 and d554db9.

Files selected for processing: 1

  • docs/adr/0036-releases-stay-on-the-maintainers-machine.md
Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

@Vithanco
Vithanco merged commit b35996f into main Nov 12, 2026
5 checks passed
@Vithanco
Vithanco deleted the adr-attested-releases branch November 12, 2026 18:38
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