1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-12-04 18:56:44 +01:00

docs: add ecosystem change review guidance

This commit is contained in:
TheGeneralist 2026-10-10 17:39:30 +02:00
parent 3b748fb1d7
commit 63b0480fd8
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4
6 changed files with 57 additions and 0 deletions

15
.github/pull_request_template.md vendored Normal file
View file

@ -0,0 +1,15 @@
## Change
Describe the problem and resulting behavior.
## Verification
List the checks actually run and relevant limitations.
## Ecosystem impact
Complete the [ecosystem change checklist](https://github.com/thegeneralist01/archivr/blob/master/docs/ecosystem-change-checklist.md) for this change. Briefly record each project's applicability, action or reason, verification, and related PR, commit, or named follow-up. Explain any "not applicable" result.
- Archivr:
- Chrome extension:
- MCP server:

2
.gitignore vendored
View file

@ -32,6 +32,8 @@ crates/archivr-server/static/**
!ARCHIVR-MENTAL-MODEL.md !ARCHIVR-MENTAL-MODEL.md
!NEXT.md !NEXT.md
!AGENTS.md !AGENTS.md
!CONTRIBUTING.md
!docs/ecosystem-change-checklist.md
!Dockerfile !Dockerfile
!.dockerignore !.dockerignore

View file

@ -6,6 +6,8 @@ archivr is a self-hosted archival tool that captures and preserves digital conte
Read `ARCHIVR-MENTAL-MODEL.md` before making structural changes. Read `ARCHIVR-MENTAL-MODEL.md` before making structural changes.
For user-facing behavior, API contracts, capture options, shared UI, permissions, docs, or branding, use the [ecosystem change checklist](docs/ecosystem-change-checklist.md) before implementation and again before reporting completion. Record applicability, action or reason, verification, and links for Archivr, the Chrome extension, and the MCP server. This applies to direct agent work as well as PRs; an applicable unfinished companion change needs a named follow-up.
## Architecture & Data Flow ## Architecture & Data Flow
Three crates with a strict ownership split — **core owns truth; CLI and server are adapters**: Three crates with a strict ownership split — **core owns truth; CLI and server are adapters**:

7
CONTRIBUTING.md Normal file
View file

@ -0,0 +1,7 @@
# Contributing to Archivr
Archivr's [architecture guide](ARCHIVR-MENTAL-MODEL.md) explains where behavior lives. The [user guide](docs/README.md) covers supported inputs and setup. Keep changes focused and describe the resulting behavior and checks actually run when proposing a change.
Before starting and before finishing a user-facing or API change, use the [ecosystem change checklist](docs/ecosystem-change-checklist.md). It asks whether the Chrome extension and MCP server need companion changes, and also covers permissions, docs, and branding. Record a reason when a project is not applicable; name a follow-up for applicable work that remains open. This applies to direct commits and agent tasks as well as PRs.
For code changes, run relevant Rust tests with `cargo test -p <crate>` or `cargo test`, and frontend tests with `bun test` from `frontend/`. Report any tests you did not run and why. If you open a PR, use the PR template and link related changes across repositories. A PR is not required to use the checklist.

View file

@ -15,6 +15,8 @@
Archivr is a self-hosted tool for capturing and preserving digital content — YouTube videos and playlists, tweets and threads, Instagram, TikTok, web pages, and local files — into self-contained, locally-owned archives. Content is stored in SQLite with SHA3-256 blob deduplication, hierarchical tags, a browser-based UI, and role-based auth. Archivr is a self-hosted tool for capturing and preserving digital content — YouTube videos and playlists, tweets and threads, Instagram, TikTok, web pages, and local files — into self-contained, locally-owned archives. Content is stored in SQLite with SHA3-256 blob deduplication, hierarchical tags, a browser-based UI, and role-based auth.
Contributing? See the [contributor guide](../CONTRIBUTING.md) and its ecosystem change checklist.
## Table of Contents ## Table of Contents
- [Features](#features) - [Features](#features)

View file

@ -0,0 +1,29 @@
# Ecosystem change checklist
Archivr, the [Chrome extension](https://github.com/thegeneralist01/archivr-extension), and the [MCP server](https://github.com/thegeneralist01/archivr-mcp) form one user-facing ecosystem. This is the shared review for changes that affect behavior, public API contracts, capture options or defaults, shared UI, permissions, documentation, or branding. Use it for direct agent work as well as pull requests. An internal change also needs review when it can change one of those surfaces.
Equivalent capability is the goal where a project's role makes it appropriate. The extension does not need every administrative or local-file feature; the MCP server does not need a visual control. Explain an intentional exception rather than adding a misleading control or tool.
## Record the impact
At the start of work, copy this table into the task, issue, or PR and identify the affected projects. Revisit it before calling the feature complete. For direct commits, include the finished record in the task's completion report. A project marked **No** needs a reason; a **Yes** with unfinished work needs a named follow-up in that project's issue or task tracker.
| Project | Applies? (Yes/No) | Change made, or reason it does not apply | Verification | PR, commit, or follow-up |
| --- | --- | --- | --- | --- |
| Archivr (core, API, web UI, CLI) | | | | |
| Chrome extension | | | | |
| MCP server | | | | |
Check these questions for each applicable project:
- **Archivr:** Does the core behavior, server request/response and defaults, web UI, or CLI need to change? Are authorization, visibility, persistence, and user docs accurate? Update the API contract when clients depend on it.
- **Extension:** Does the shared Capture dialog show the behavior? Does the worker's explicit request allowlist forward it? Check the bridge, browser permissions and privacy boundaries, tests, and the Archivr source revision pinned by extension CI. A visible dialog control alone does not prove the request reaches the server.
- **MCP:** Can an AI client express the operation through the appropriate tool? Check input validation, request forwarding, response schema, role and read-only behavior, tool descriptions, tests, and the README catalogue. The Archivr server remains the authority for access and validation.
- **Across all three:** Do names, defaults, error messages, help text, documentation, and branding still describe the same capability? Start from Archivr's `docs/branding/` for visual identity and the extension's `docs/ui-consistency.md` for browser surfaces. Record deliberate differences.
## Coordinate and finish
When PRs are used, cross-link the related PRs and include the table in each. When work is committed directly, link the related commits in the completion report. Land compatible server API additions first; test the extension and MCP changes against that server revision before landing them. For a breaking contract, support old and new clients during the transition and remove the old shape only after companion changes are ready.
The originating work is complete when every **Yes** row has an implemented and verified change, or the record gives a concrete reason for deferral and a named follow-up. Do not silently treat an unchecked project as **No**. This review is a human and agent practice; it does not require a PR, trigger another PR, or impose a CI gate.