Skip to main content

Knowledge System

Knowledge System is a local foundation for human-owned, agent-assisted Markdown collections. Markdown is the durable authority. The package inspects and validates collections, resolves stable references, evaluates FLAP and research profiles, computes trust-domain propagation, and applies reviewed changes through compare-and-swap mutation plans.

The package does not provide a database, embedding index, RAG service, MCP server, Obsidian plugin, or credential store. Projection records are contracts for later derived systems; they are not a second authority.

Install

The repository uses uv:

uv sync --all-groups
uv run kn --help

Runtime dependencies are Pydantic, ruamel.yaml, Typer, Loguru, Platformdirs, and typing-extensions.

Collection basics

A managed collection can contain collection.yaml, profiles.lock.yaml, and retired-ids.yaml. A directory without a manifest is still inspectable as generic Markdown, but its notes do not gain durable collection identity or profile semantics.

Registered notes use readable, collection-scoped identities:

---
id: stable-identities-survive-moves
profiles: [research@1]
created_by: human:kyle
origin: human
review:
  status: unreviewed
research_kind: concept
research_depth: studied
sources: [source-version:identity-paper/v1]
---

Canonical references use note:<collection>/<id> and optional block selectors such as note:architecture/stable-identities-survive-moves#^claim.

Safe local changes

kn register and kn mutation plan produce an immutable plan before writing. kn mutation apply treats serialized plans as hostile: it verifies the plan digest, collection snapshot, authorization inputs, file hashes, identity reservations, semantic results, and an optional Git revision before any write. The CLI authenticates the current OS account as its local-filesystem principal; actor and task remain independent attribution. A stale precondition exits with code 3 and performs no writes.

See usage, reference, and design decisions for the complete local-core contract.

Metadata

Release files for knowledge-system 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for knowledge-system 0.0.1
File Size Uploaded
knowledge_system-0.0.1.tar.gz 56.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for knowledge-system 0.0.1
File Interpreter ABI Platform
knowledge_system-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 120.9 kB

Release files / knowledge_system-0.0.1.tar.gz

Download URL knowledge_system-0.0.1.tar.gz
Size 56.8 kB
Tags Source
SHA-256 checksum
How to use checksums
93a0a04aa58586505db9eb561737ee35b526951eb8620d4e0fcab9958c5ca16b
BLAKE2b-256 checksum
How to use checksums
abd1837ebc8f479d24636b95f9b6af45e70c1dfbf6894d0998a7dce6c3484888
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.

Transparency log

Release files / knowledge_system-0.0.1-py3-none-any.whl

Download URL knowledge_system-0.0.1-py3-none-any.whl
Size 64.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9cbfb571d12bbc6029511590153e78e666cefa86c93208218a025efdbf621040
BLAKE2b-256 checksum
How to use checksums
258ea807897d80d4b3fda057b287fcd4bdc70fc20f12c4e8e9bd7211c092a49a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page