Define acquisition recipe and local-use rights schemas #44
Labels
No labels
area/deployment
area/governance
area/metadata
area/pipeline
area/search
type/data
type/design
type/implementation
type/testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
Arkive/arkive#44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Define machine-readable contracts for reviewed user-side acquisition without
turning descriptive source provenance into executable code.
Design requirements
Keep
origin.acquisition_pathdescriptiveorigin.acquisition_pathremains human-readable provenance. It must not containshell commands, executable code, credentials, cookies, tokens, or an implicit
permission decision.
Add a distinct acquisition recipe contract
Define a versioned recipe schema that can represent:
manual_import,official_direct_download, or a futureexplicitly reviewed official API adapter;
Recipes must be declarative data consumed by trusted Arkive adapters, not arbitrary
Python, shell, JavaScript, templates, or commands.
Add a local-use rights profile
Represent independently:
Record local provenance
Define a local acquisition record containing the recipe/version, acquisition time,
final URL, checksums, byte size, adapter/tool version, and user acknowledgement.
Do not require storage of secrets, account identifiers, order receipts, or other
sensitive data.
Inheritance
All documents, chunks, and indexes derived from a user-local acquisition must
inherit a machine-enforced local-only distribution scope.
Deliverables
separate concepts.
Acceptance criteria
local_only.Out of scope
Issue #44 is complete.
PR #56 implemented the machine-readable contracts for reviewed user-side acquisition:
Final review also tightened local provenance so the adapter/tool version is mandatory and a local acquisition must match the exact referenced recipe version, source, acquisition mode, and adapter type.
Final verification passed with 128/128 repository tests plus repository-wide Ruff check/format validation.
Closing as completed by PR #56.