Skip to main content

Installed ph CLI for Project Handbook

Project description

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.)
  • System scope data root: PH_ROOT/.project-handbook/system/**

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)

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

project_handbook-0.0.25.tar.gz (819.8 kB view details)

Uploaded Source

Built Distribution

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

project_handbook-0.0.25-py3-none-any.whl (237.3 kB view details)

Uploaded Python 3

File details

Details for the file project_handbook-0.0.25.tar.gz.

File metadata

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

File hashes

Hashes for project_handbook-0.0.25.tar.gz
Algorithm Hash digest
SHA256 58f1079254bb8fd885c12bed350823e9f823a5bffc20f5be2f445de20e3e1865
MD5 dcc9f52fd079f9f564470b5bd65c1457
BLAKE2b-256 f37baf4aba9cfffff8baf6c5cb0ef5f68af3a8c14567640b5d2f3e8d900d5eec

See more details on using hashes here.

Provenance

The following attestation bundles were made for project_handbook-0.0.25.tar.gz:

Publisher: release.yml on Spenquatch/project-handbook-cli

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

File details

Details for the file project_handbook-0.0.25-py3-none-any.whl.

File metadata

File hashes

Hashes for project_handbook-0.0.25-py3-none-any.whl
Algorithm Hash digest
SHA256 9ce70f627386f1acd647d7044f1908f619bd08239c2df17c0c25d47e8641f357
MD5 3f6f722baea5be8cfb168e69e72bbc02
BLAKE2b-256 5fa6b22ebb8966c4ea4b1e1192cc522923ee7bf7ae44e2f0773012e40980a7ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for project_handbook-0.0.25-py3-none-any.whl:

Publisher: release.yml on Spenquatch/project-handbook-cli

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