Skip to main content

CLI for the Alfred document management system

Project description

alfred

A minimal, self-consistent document management system built on PDCA + Johnny Decimal.

Quick Start

git clone git@github.com:frankyxhl/alfred.git
cd alfred

Structure

.alfred/          ← COR (Core) meta-layer documents (universal, apply to all projects)
docs/             ← ALF (Alfred) business-layer documents (project-specific)

For LLMs: How This System Works

1. Read these files first

  • .alfred/COR-0001-REF-Glossary.md — all terms and abbreviations
  • .alfred/COR-0000-REF-Document-Index.md — index of all meta-layer documents
  • docs/ALF-0000-REF-Document-Index.md — index of all business-layer documents

2. File naming format

<PREFIX>-<ACID>-<TYP>-<Title>.md
  • PREFIX: COR (universal) or 3-letter project code (ALF, BLA, CLR)
  • ACID: 4-digit Johnny Decimal number (Area + Category + Item)
  • TYP: 3-letter type code (SOP, ADR, CHG, INC, PLN, PRP, REF)

3. PDCA areas (meta layer)

Area Phase What it covers
10xx Do Create and read documents
11xx Plan Decision records and change requests
12xx Check Session retrospective
13xx Act Update, deprecate, maintain index
14xx Constraint Universal rules (atomicity, language policy)
15xx Development TDD, GitHub issues, git branch naming

4. Key rules

  • COR-1400: Every SOP does exactly one thing (atomic)
  • COR-1401: All documents in English
  • COR-1402: Always declare which SOP is being followed before starting a task

5. To create a new document

Follow COR-1001 (Create Document) for naming and numbering, then the type-specific SOP.

Supported types: adr, chg, inc, pln, prp, ref, sop

# Specify an exact ACID
af create sop --prefix ALF --acid 2100 --title "My SOP"

# Auto-assign the next available ACID in an area
af create adr --prefix ALF --area 21 --title "Use PostgreSQL"

The index is updated automatically after each create. To update it manually, run af index.

Installing into another project

Copy .alfred/ into the target project:

cp -r .alfred/ /path/to/other-project/.alfred/

The target project keeps its own docs/ for business-layer documents.

Version control

This project uses jj (Jujutsu) colocated with git.

jj log              # view history
jj status           # current changes
jj git push         # push to GitHub

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fx_alfred-0.4.0.tar.gz (36.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fx_alfred-0.4.0-py3-none-any.whl (49.2 kB view details)

Uploaded Python 3

File details

Details for the file fx_alfred-0.4.0.tar.gz.

File metadata

  • Download URL: fx_alfred-0.4.0.tar.gz
  • Upload date:
  • Size: 36.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fx_alfred-0.4.0.tar.gz
Algorithm Hash digest
SHA256 583eaf4c2fc1edd97d8d73d63ac272e7671648208e4b797546d6cc0bd8034328
MD5 ffc5c56f84809e64f618f80a2f0e66c1
BLAKE2b-256 148e7f6ff6eae23fdeedb558e3de82150a1e92b9e51e59a3bc81f1ab33105178

See more details on using hashes here.

Provenance

The following attestation bundles were made for fx_alfred-0.4.0.tar.gz:

Publisher: publish.yml on frankyxhl/alfred

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fx_alfred-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: fx_alfred-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 49.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fx_alfred-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ceb4a7d5a50eb6564831d6cdf3d0dc76b7bfc936be6f70c6ec9af55a666db8d6
MD5 c59df0a0c45a7e776c27ab1cf3ffa026
BLAKE2b-256 b1c15dd9cf0776c0d466f98afe3ac318ceb26b8c8530b83862e19d083714ced0

See more details on using hashes here.

Provenance

The following attestation bundles were made for fx_alfred-0.4.0-py3-none-any.whl:

Publisher: publish.yml on frankyxhl/alfred

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page