Skip to main content

project-handbook-cli

Installed Python CLI distribution: project-handbook

Console script: ph

Handbook root marker (v1):

  • .project-handbook/config.json

Rule: ph MUST NOT execute repo-local Python scripts at runtime.

IMPORTANT: Be explicit about PH_ROOT during development

When developing, prefer ph --root /absolute/path/to/handbook so you don’t accidentally operate on the wrong directory.

v1 contract summary:

  • Handbook data root (project scope): PH_ROOT/.project-handbook/** (sprints, features, releases, status, process, etc.) (All handbook data is stored under this root.)

Repo layout (this repo)

  • src/ph/**: CLI implementation
  • cli_plan/**: authoritative v1 contract + spec + planning
  • docs/**: rendered docs (MkDocs)

Local install verification (exact commands)

  1. uv venv
  2. uv pip install -e .
  3. ph --help

If ph is not found, activate the venv first: . .venv/bin/activate.

Dev verification (exact commands)

  • uv pip install -e ".[dev]"
  • uv run ruff format .
  • uv run ruff check .
  • uv run pytest -q

Docs (MkDocs)

  • uv pip install -e ".[dev]"
  • uv run mkdocs serve

Docs source lives in docs/ and is rendered via mkdocs.yml.

End-session (manual verification)

Non---skip-codex mode requires the codex CLI on your PATH (e.g. npm i -g @openai/codex).

Example:

  • ph end-session --log ~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl --root /path/to/project-handbook

Release (exact steps)

  1. update pyproject.toml project.version and src/ph/__init__.py __version__ (must match)
  2. run uv run ruff check . then uv run pytest -q
  3. create git tag v<version> and push
  4. GitHub Actions publishes to PyPI on tag push (see .github/workflows/release.yml)
    • PyPI Trusted Publishing (OIDC)

Metadata

Release files for project-handbook 0.0.28

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

Source distribution (sdist)

Source distribution for project-handbook 0.0.28
File Size Uploaded Provenance Actions
project_handbook-0.0.28.tar.gz 821.9 kB With provenance Details for project_handbook-0.0.28.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for project-handbook 0.0.28
File Interpreter ABI Platform Actions
project_handbook-0.0.28-py3-none-any.whl Python 3 none any Details for project_handbook-0.0.28-py3-none-any.whl

Total release size: 1.1 MB

Release files / project_handbook-0.0.28.tar.gz

Download URL project_handbook-0.0.28.tar.gz
Size 821.9 kB
Tags Source
SHA-256 checksum
How to use checksums
792071271f37e5adfd5a8870aef43b7a671aa08f9f795cdab5ed7f21d53e87b6
BLAKE2b-256 checksum
How to use checksums
55ae28bafc0b3dd13571b419e2f2154046b60ce9b5559e2bdefdf85327376123
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 22, 2026.

Transparency log

Release files / project_handbook-0.0.28-py3-none-any.whl

Download URL project_handbook-0.0.28-py3-none-any.whl
Size 239.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de97449b61561d3dc9c0180cf8a7259fdc17b489cc4cc51963bdd715530c6947
BLAKE2b-256 checksum
How to use checksums
807994283a58a6b2cd219480633480ce10723d6cde813b69fede777c303aa802
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 22, 2026.

Transparency log

Security for project-handbook 0.0.28

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.

Select from 2 files

Attestation for project_handbook-0.0.28.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 Feb 22, 2026.

Transparency log

A 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.

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