WhyKit
Remember why a decision was made.
WhyKit helps you record decisions, link the sources behind them, and see what needs review. Your records are Markdown files you can read, edit and keep in Git. People can use them directly; AI tools can read the same context.
For example, your team chooses to ship SSO before audit logs because of support tickets. Three months later, someone asks why. WhyKit can show the decision, the source it cites and its review status.
Python 3.11+ · No runtime dependencies · Apache-2.0
Status: public alpha. Source version: 0.4.0. Check
PyPI for the latest published version; it
may differ from this source. For an installed release, follow the documentation
links on its PyPI page.
Keep sensitive vaults private; WhyKit's filters are not access controls.
For version 0.4, see the feature status
and the upgrade and recovery guide before using 0.4 data.
Try it
Install uv (0.13.4+) and use Python 3.11+. This example works with the published 0.3.4 release and uses a fictional source. It creates a folder called a vault: just the Markdown files WhyKit works with.
uv tool install whykit
# Create a vault.
whykit init my-ledger
# Record a source, then a draft decision that cites it.
whykit new --root my-ledger evidence \
--source "Support ticket export, Q3" --type dataset \
--location "https://example.com/exports/q3-tickets.csv" \
--claims "Most onboarding tickets mention SSO"
whykit new --root my-ledger decision "Ship SSO before audit logs" \
--owner Platform --status draft --source E-001
# See the connection, then check the vault.
whykit trace --root my-ledger --decision D-001
whykit lint --root my-ledger
whykit review --root my-ledger list --due-days 120
The trace shows the decision and its source:
D-001 06-decisions/d-001-ship-sso-before-audit-logs.md (draft)
E-001 active
D-001 is the decision; E-001 is the source it cites. The decision is
still a draft: open its Markdown file and replace the prompts with your actual
context, choice, reasons, alternatives and consequences before
approving it.
The lint check reports five expected warnings: one for the unfinished decision
and four for unanswered questions in the vault's AGENTS.md. Answer those
questions before letting an agent write to the vault or enabling the strict CI
gate. Replace the starter content before treating the vault as authoritative.
This draft is not yet listed for review, so the review list is empty.
If whykit is not found, run uv tool update-shell and open a new terminal.
Use uv tool upgrade whykit to update an existing installation. For development
or the optional Explorer, see running from a checkout.
What would you like to do?
- Record a decision and revisit it later: record, check and supersede a decision.
- Bring existing notes or ADRs: adopt existing Markdown.
- Review a changed source and share a filtered export: import, review and export.
- Give an AI tool read-only context: connect the MCP server.
- Check decisions in pull requests: set up a GitHub Actions gate.
How it works
source (E-001) → decision and reasons (D-001) → review
WhyKit connects the records, checks their structure and reports review dates. When a decision changes, you can record a successor instead of overwriting the accepted reasoning. An optional Git check can flag edits to accepted records.
WhyKit does not determine whether a source is true or a decision is right. It does not check external sources for changes on its own. Sensitivity labels and filtered outputs are not a substitute for repository access permissions. See when plain ADRs are a better fit.
Documentation
- Start here · Concepts · How-to guides
- Command reference · Configuration · Lint rules
- CI integration · MCP server · Troubleshooting
- Example vaults: tiny and Northline
Contributing · Code of Conduct · Security policy · Release checklist
Copyright 2026 Maciej Zmitrukiewicz (hello@cometweb.io), licensed under Apache-2.0. CometWeb is the product name, not the copyright holder.
Metadata
Release files for whykit 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| whykit-0.4.0.tar.gz | 451.8 kB | With provenance | Details for whykit-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| whykit-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for whykit-0.4.0-py3-none-any.whl |
Total release size: 837.6 kB
Release files / whykit-0.4.0.tar.gz
| Download URL | whykit-0.4.0.tar.gz |
|---|---|
| Size | 451.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a2dae0728c4be2aa2264f7c232fdb3ccf3284a578b9b243818fd5224ce6b802
|
|
BLAKE2b-256 checksum How to use checksums |
fcb7c21d53b709a43312e9fc4222a220883b784760a403e57dcc2d94bf1587a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 6, 2026.
Transparency logRelease files / whykit-0.4.0-py3-none-any.whl
| Download URL | whykit-0.4.0-py3-none-any.whl |
|---|---|
| Size | 385.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d71a319a0159733da9d0714df2d7f579661a83296b0d8a072ecc0cfdf05c850e
|
|
BLAKE2b-256 checksum How to use checksums |
43b8b0d772fa9326b0bcef3805f07eaa39323356dba84c30863e934c565f29ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 6, 2026.
Transparency logSecurity for whykit 0.4.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for whykit-0.4.0.tar.gz
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 Nov 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.