project-guide 2.16.1__tar.gz → 2.18.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {project_guide-2.16.1 → project_guide-2.18.0}/.github/workflows/ci.yml +3 -3
- {project_guide-2.16.1 → project_guide-2.18.0}/.github/workflows/deploy-docs.yml +1 -1
- {project_guide-2.16.1 → project_guide-2.18.0}/.github/workflows/publish.yml +1 -1
- {project_guide-2.16.1 → project_guide-2.18.0}/.github/workflows/test.yml +2 -2
- {project_guide-2.16.1 → project_guide-2.18.0}/.project-guide.yml +2 -2
- {project_guide-2.16.1 → project_guide-2.18.0}/CHANGELOG.md +20 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/CONTRIBUTING.md +7 -7
- {project_guide-2.16.1 → project_guide-2.18.0}/PKG-INFO +15 -35
- {project_guide-2.16.1 → project_guide-2.18.0}/README.md +14 -34
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/site/developer-guide/contributing.md +9 -9
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/site/developer-guide/development.md +13 -13
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/site/developer-guide/testing.md +1 -1
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/site/index.html +1 -1
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/site/user-guide/commands.md +1 -25
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/site/user-guide/configuration.md +1 -1
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/site/user-guide/modes.md +5 -4
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/concept.md +2 -2
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/features.md +13 -7
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/phase-q-subphase-strategy-for-large-phases.md +1 -1
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/project-essentials.md +11 -3
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/pyve/concept.md +20 -4
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/pyve/features.md +29 -3
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/stories.md +266 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/tech-spec.md +34 -21
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/cli.py +0 -270
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/.metadata.yml +2 -2
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/developer/best-practices-guide.md +1 -1
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/developer/python-editable-install.md +11 -11
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/artifacts/pyve-essentials.md +10 -10
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/modes/_header-common.md +1 -0
- project_guide-2.18.0/project_guide/templates/project-guide/templates/modes/_header-cycle.md +44 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/modes/_phase-letters.md +6 -3
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/modes/plan-envs-mode.md +2 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/modes/plan-production-phase-mode.md +1 -1
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/modes/plan-tech-spec-mode.md +1 -1
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/version.py +1 -1
- {project_guide-2.16.1 → project_guide-2.18.0}/pyproject.toml +1 -1
- {project_guide-2.16.1 → project_guide-2.18.0}/tests/test_cli.py +43 -127
- {project_guide-2.16.1 → project_guide-2.18.0}/tests/test_render.py +53 -0
- project_guide-2.16.1/.envrc.prev +0 -15
- project_guide-2.16.1/.gitignore.prev +0 -53
- project_guide-2.16.1/project_guide/templates/project-guide/templates/modes/_header-cycle.md +0 -27
- {project_guide-2.16.1 → project_guide-2.18.0}/.github/FUNDING.yml +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/.github/dependabot.yml +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/.gitignore +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/.tool-versions +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/LICENSE +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/SECURITY.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/site/.gitignore +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/site/about/changelog.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/site/about/license.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/site/getting-started.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/site/images/project-guide-banner-landing.png +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/site/images/project-guide-header-readme.png +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/site/user-guide/install-options.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/site/user-guide/overrides.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/site/user-guide/workflow.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/.archive/phase-j-modes-plan.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/.archive/phase-k-release-lifecycle-plan.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/.archive/phase-l-no-input-init-plan.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/.archive/phase-m-project-essentials-plan.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/.archive/phase-n-mode-naming-cli-memory-plan.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/.archive/phase-o-pyve-quiet-embedding-subplan.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/.archive/phase-o-quiet-non-interactive-embedding-feature.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/.archive/phase-p-auto-heal-plan.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/.archive/project-guide-no-input-spec.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/.archive/stories-v1.3.1.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/.archive/stories-v2.0.20.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/.archive/stories-v2.10.2.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/.archive/stories-v2.3.9.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/.archive/stories-v2.4.19.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/.archive/stories-v2.5.15.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/.archive/ux-problems-v2.0.10.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/brand-descriptions.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/phase-q-dx-subphases-plan.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/phase-q-plan-envs-mode-env-dependences-artifact-roughdraft.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/phase-q-plan-envs-mode-roughdraft.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/phase-q-pyve-toolchain-hosting.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/phase-q-subphase-2-plan-envs-plan.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/phase-q-subphase-3-pyve-hosting-plan.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/phase-q-subphase-4-local-install-warning-readiness-gate.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/phase-q-subphase-4-readiness-gate-plan.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/phase-q-wizard-env-contract.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/pyve/README.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/pyve/sync.sh +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/docs/specs/pyve/tech-spec.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/mkdocs.yml +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project-guide-old-template.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/__init__.py +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/__main__.py +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/actions.py +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/config.py +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/exceptions.py +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/metadata.py +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/render.py +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/runtime.py +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/stories.py +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/sync.py +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/.project-guide.yml.template +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/README.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/developer/brand-descriptions-guide.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/developer/codecov-setup-guide.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/developer/debug-guide.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/developer/landing-page-guide.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/developer/production-github-guide.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/developer/project-guide.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/artifacts/brand-descriptions.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/artifacts/concept.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/artifacts/env-dependencies.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/artifacts/features.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/artifacts/project-essentials.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/artifacts/stories.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/artifacts/tech-spec.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/llm_entry_point.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/modes/_header-sequence.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/modes/archive-stories-mode.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/modes/code-direct-mode.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/modes/code-test-first-mode.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/modes/debug-mode.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/modes/default-mode.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/modes/document-brand-mode.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/modes/document-landing-mode.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/modes/plan-concept-mode.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/modes/plan-features-mode.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/modes/plan-phase-mode.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/modes/plan-stories-mode.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/modes/refactor-document-mode.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/modes/refactor-plan-mode.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/project_guide/templates/project-guide/templates/modes/scaffold-project-mode.md +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/pyve.toml +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/requirements-dev.txt +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/tests/__init__.py +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/tests/conftest.py +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/tests/test_actions.py +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/tests/test_archive_stories_mode.py +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/tests/test_config.py +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/tests/test_cross_repo_contract.py +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/tests/test_integration.py +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/tests/test_metadata.py +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/tests/test_purge.py +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/tests/test_runtime.py +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/tests/test_stories.py +0 -0
- {project_guide-2.16.1 → project_guide-2.18.0}/tests/test_sync.py +0 -0
|
@@ -15,7 +15,7 @@ jobs:
|
|
|
15
15
|
python-version: ['3.11', '3.12', '3.13']
|
|
16
16
|
|
|
17
17
|
steps:
|
|
18
|
-
- uses: actions/checkout@
|
|
18
|
+
- uses: actions/checkout@v7
|
|
19
19
|
|
|
20
20
|
- name: Set up Python ${{ matrix.python-version }}
|
|
21
21
|
uses: actions/setup-python@v5
|
|
@@ -41,7 +41,7 @@ jobs:
|
|
|
41
41
|
|
|
42
42
|
- name: Upload coverage to Codecov
|
|
43
43
|
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
|
|
44
|
-
uses: codecov/codecov-action@
|
|
44
|
+
uses: codecov/codecov-action@v7
|
|
45
45
|
with:
|
|
46
46
|
file: ./coverage.xml
|
|
47
47
|
fail_ci_if_error: false
|
|
@@ -51,7 +51,7 @@ jobs:
|
|
|
51
51
|
needs: test
|
|
52
52
|
|
|
53
53
|
steps:
|
|
54
|
-
- uses: actions/checkout@
|
|
54
|
+
- uses: actions/checkout@v7
|
|
55
55
|
|
|
56
56
|
- name: Set up Python
|
|
57
57
|
uses: actions/setup-python@v5
|
|
@@ -19,7 +19,7 @@ jobs:
|
|
|
19
19
|
python-version: ['3.11', '3.12', '3.13']
|
|
20
20
|
|
|
21
21
|
steps:
|
|
22
|
-
- uses: actions/checkout@
|
|
22
|
+
- uses: actions/checkout@v7
|
|
23
23
|
|
|
24
24
|
- name: Set up Python ${{ matrix.python-version }}
|
|
25
25
|
uses: actions/setup-python@v5
|
|
@@ -42,7 +42,7 @@ jobs:
|
|
|
42
42
|
|
|
43
43
|
- name: Upload coverage
|
|
44
44
|
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
|
|
45
|
-
uses: codecov/codecov-action@
|
|
45
|
+
uses: codecov/codecov-action@v7
|
|
46
46
|
with:
|
|
47
47
|
file: ./coverage.xml
|
|
48
48
|
flags: unittests
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
version: '2.0'
|
|
2
|
-
installed_version: 2.
|
|
2
|
+
installed_version: 2.17.0
|
|
3
3
|
target_dir: docs/project-guide
|
|
4
4
|
metadata_file: .metadata.yml
|
|
5
|
-
current_mode:
|
|
5
|
+
current_mode: code_test_first
|
|
6
6
|
test_first: false
|
|
7
7
|
pyve_version: pyve version 2.6.2
|
|
8
8
|
project_name: project-guide
|
|
@@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.18.0] - 2026-07-11
|
|
11
|
+
|
|
12
|
+
**Removed the `bump-version` command (Story Q.ac).** project-guide no longer ships a mechanical version writer. The command (added Story O.o, v2.5.13) was Python-/`pyproject.toml`-centric — it stamped `X.Y.Z` into `pyproject.toml`, an auto-detected `__version__` source, and `CHANGELOG.md`. project-guide is now tightly integrated into Pyve, which is polyglot; generalizing a mechanical version-write across every ecosystem's manifest and changelog conventions would be brittle, and version stamping is per-ecosystem and increasingly Pyve's domain. Hard removal, no deprecation shim: an audit found no programmatic consumer (Pyve invokes it nowhere in code — only in doc text that refreshes on its next `project-guide update`).
|
|
13
|
+
|
|
14
|
+
### Removed
|
|
15
|
+
- **`project-guide bump-version`** and its helpers (`_bump_pyproject_version`, `_bump_version_file`, `_bump_changelog`, `_find_version_file`, `_SEMVER_RE`) from `project_guide/cli.py`, plus the Story O.p CLI test suite. Invoking `project-guide bump-version` now exits 2 with click's standard "No such command" error.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
- **Replacement guidance — manual bumps per the Version Cadence rule.** The `plan_production_phase` end-of-phase release step and `developer/best-practices-guide.md` now direct the developer to bump the version manually per the Version Cadence rule (edit the per-ecosystem version sites + `CHANGELOG.md` when the owning story/phase ships) instead of invoking the removed command. `README.md`, `tech-spec.md`, `concept.md`, `docs/site/user-guide/commands.md`, and `CONTRIBUTING.md` drop their `bump-version` sections/rows accordingly.
|
|
19
|
+
|
|
20
|
+
## [2.17.0] - 2026-06-22
|
|
21
|
+
|
|
22
|
+
**Cycle-mode story-guidance & strategic-context grounding (Stories Q.w, Q.x).** Two template-only edits to the rendered mode headers that shape LLM behavior across modes. Q.w loosens the cycle modes' story scope/sequencing guidance — the previous absolute "work strictly in document order, regardless of any developer signal" framing was too rigid and even contradicted the shipped `git-push` Q.p single-story out-of-sequence opt-in. Q.x adds a universal "ground yourself in the strategic context" instruction so a fresh-context LLM reads the *why* / *what* before the *how*, curbing short-sighted, mechanics-only implementation. No Python change; ships as a deliberate minor release because the rendered-prompt surface is project-guide's product.
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
- **Q.w — loosened story scope & sequencing guidance (`_header-cycle.md`, `_phase-letters.md`).** The **Story execution order** section is rewritten from an absolute rule ("binds regardless of any explicit developer signal … corrupting whether or not the developer asked") to a graduated policy: sequential is the strong default, pulling a *single* story out of order is allowed (mirroring the `git-push` Q.p single-story opt-in), but *cherry-picking* multiple stories non-sequentially remains the disallowed corrupting pattern `git-push` hard-errors on; an *overall* mis-sequence is raised with the developer (offering a token-expensive resequence pass) rather than silently reordered, and **Recovery when already out of order** now fires only when the result looks wrong, leaving a deliberate sanctioned out-of-order story in place. A new **Story scope & splitting** section adds implementation-time scope reassessment (`X.y` → `X.y.#` split), sub-numbering as a pure ordering device for non-children, the hard no-4th-level rule, and brittle-cross-story-dependency reshuffle guidance (extreme cases only). `_phase-letters.md` is reconciled to agree: "Sub-numbered stories" gains an *Ordering convenience* situation and an implementation-time-reassessment clause, and Option 2 (Sub-number extension) is broadened so proximity/ordering is a valid trigger, not only conceptual follow-up.
|
|
26
|
+
|
|
27
|
+
### Added
|
|
28
|
+
- **Q.x — strategic-context grounding instruction (`_header-common.md`).** A new universal **Rules** entry directs the LLM, at the start of a working session or fresh context, to read the strategic documents that exist — `concept.md` (*why*), `features.md` / `tech-spec.md` (*what* / *how*), and the repo-root `README.md` — and to discover any phase/subphase plan for the active phase (`phase-<letter>-*.md`, `phase-<letter>-subphase-<n>-*.md`). It degrades gracefully (absent docs are skipped silently, never an error) and is framed as a session-start grounding pass, not a re-read-every-turn instruction. Rendered into every mode via the common header.
|
|
29
|
+
|
|
10
30
|
## [2.16.1] - 2026-06-11
|
|
11
31
|
|
|
12
32
|
**Story parser recognizes `###`–`#####` heading depths (Story Q.v).** The story-heading parser was anchored to exactly `###`, so a sub-numbered cluster that nests a group header above deeper children (`### Story J.m` / `##### Story J.m.1`) was invisible at H4/H5 — `git-push`, `status`, and `archive-stories`' version scan all silently dropped the deeper headings. The colon after the ID stays required at every depth.
|
|
@@ -42,8 +42,8 @@ cd project-guide
|
|
|
42
42
|
pyve run pip install -e .
|
|
43
43
|
|
|
44
44
|
# Dev testenv: pytest, ruff, mypy, etc.
|
|
45
|
-
pyve
|
|
46
|
-
pyve
|
|
45
|
+
pyve env init # one-time
|
|
46
|
+
pyve env install -r requirements-dev.txt
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
After this you can run the package as a CLI (`project-guide --version`)
|
|
@@ -64,9 +64,9 @@ and run the test suite (`pyve test`).
|
|
|
64
64
|
- **Type checking**: `mypy` must run clean.
|
|
65
65
|
|
|
66
66
|
```bash
|
|
67
|
-
pyve
|
|
68
|
-
pyve
|
|
69
|
-
pyve
|
|
67
|
+
pyve env run ruff check project_guide tests
|
|
68
|
+
pyve env run ruff format project_guide tests
|
|
69
|
+
pyve env run mypy project_guide
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
---
|
|
@@ -140,8 +140,8 @@ Releases are cut by the maintainer at end-of-phase per the **Version
|
|
|
140
140
|
Cadence** rule documented at the top of `docs/specs/stories.md`:
|
|
141
141
|
|
|
142
142
|
1. Land all stories in the phase via direct commits or merged PRs.
|
|
143
|
-
2.
|
|
144
|
-
`pyproject.toml
|
|
143
|
+
2. Bump the version manually per the Version Cadence rule — edit
|
|
144
|
+
`pyproject.toml` and `project_guide/version.py`, and add the
|
|
145
145
|
`## [X.Y.Z] - <date>` heading to `CHANGELOG.md`.
|
|
146
146
|
3. Use `project-guide mode plan_production_phase` (post-1.0) to negotiate
|
|
147
147
|
the bump magnitude when applicable.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: project-guide
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.18.0
|
|
4
4
|
Summary: Stay organized and in control with adaptive LLM workflow prompts.
|
|
5
5
|
Project-URL: Homepage, https://github.com/pointmatic/project-guide
|
|
6
6
|
Project-URL: Documentation, https://pointmatic.github.io/project-guide/
|
|
@@ -43,7 +43,7 @@ Description-Content-Type: text/markdown
|
|
|
43
43
|
[](https://pointmatic.github.io/project-guide/)
|
|
44
44
|
[](https://codecov.io/gh/pointmatic/project-guide)
|
|
45
45
|
|
|
46
|
-
A Python-friendly CLI tool that installs, renders, and synchronizes battle-tested LLM workflow prompts across projects using mode-driven Jinja2 templates, with content-hash sync and project-specific overrides to keep documentation consistent while preserving customizations. Install globally with [pyve](https://pointmatic.github.io/pyve/)
|
|
46
|
+
A Python-friendly CLI tool that installs, renders, and synchronizes battle-tested LLM workflow prompts across projects using mode-driven Jinja2 templates, with content-hash sync and project-specific overrides to keep documentation consistent while preserving customizations. Install globally with [pyve](https://pointmatic.github.io/pyve/) for pyve-aware onboarding.
|
|
47
47
|
|
|
48
48
|
## Why project-guide?
|
|
49
49
|
|
|
@@ -69,7 +69,7 @@ When you customize a file for your project, mark it as overridden so future pack
|
|
|
69
69
|
## Key Features
|
|
70
70
|
- **Battle-Tested Workflows** - Crafted workflow prompts from concept through production release in one place
|
|
71
71
|
- **Mode-Driven Templates** - 17 modes rendered via Jinja2 so `go.md` always matches your current task
|
|
72
|
-
- **Pyve Integration** - First-class [pyve](https://pointmatic.github.io/pyve/) support: install globally with `pyve self install
|
|
72
|
+
- **Pyve Integration** - First-class [pyve](https://pointmatic.github.io/pyve/) support: install globally with `pyve self install` and get pyve-aware onboarding plus a `status` host footer and `heal` drift warnings when pyve manages the install
|
|
73
73
|
- **Content-Hash Sync** - SHA-256 hash comparison detects changes without relying on version numbers
|
|
74
74
|
- **Custom File Lock** - Lock customized files to prevent update overwrites
|
|
75
75
|
- **Gentle Force Updates** - Automatic `.bak` files created if you `--force` update a custom file
|
|
@@ -160,7 +160,7 @@ The LLM follows the instructions, asks clarifying questions, and generates artif
|
|
|
160
160
|
project-guide mode plan_concept # Define problem & solution
|
|
161
161
|
project-guide mode plan_features # Define requirements
|
|
162
162
|
project-guide mode plan_tech_spec # Define architecture
|
|
163
|
-
project-guide mode plan_envs #
|
|
163
|
+
project-guide mode plan_envs # FROZEN (pending Pyve work) — skip; do not use
|
|
164
164
|
project-guide mode plan_stories # Break into stories
|
|
165
165
|
project-guide mode plan_phase # Add a new phase to stories (pre-1.0)
|
|
166
166
|
project-guide mode plan_production_phase # Add a new phase to stories (post-1.0, with readiness checklist)
|
|
@@ -319,28 +319,6 @@ If any pre-check fails (no versioned stories, archive target already exists, sou
|
|
|
319
319
|
|
|
320
320
|
This command is intended to be run by the LLM after the developer has approved the archive in `project-guide mode archive_stories`.
|
|
321
321
|
|
|
322
|
-
### `bump-version`
|
|
323
|
-
|
|
324
|
-
Bump the package version across all three canonical sites in one step. Use it at end-of-phase when shipping a bundled release.
|
|
325
|
-
|
|
326
|
-
```bash
|
|
327
|
-
project-guide bump-version [VERSION]
|
|
328
|
-
```
|
|
329
|
-
|
|
330
|
-
**Argument:**
|
|
331
|
-
- `VERSION` - the `X.Y.Z` version to write
|
|
332
|
-
|
|
333
|
-
**Writes:**
|
|
334
|
-
- `pyproject.toml` `[project] version`
|
|
335
|
-
- the package `__version__` source (auto-detected: `<package>/version.py`, `_version.py`, `__init__.py`, and `src/` variants)
|
|
336
|
-
- a new `## [VERSION] - YYYY-MM-DD` entry in `CHANGELOG.md`, inserted directly below `## [Unreleased]` (idempotent — re-running refreshes the date and preserves the body)
|
|
337
|
-
|
|
338
|
-
**Options:**
|
|
339
|
-
- `--no-input` - Skip prompts; fail loudly if a default is missing (also auto-enabled by `CI=1` or non-TTY stdin)
|
|
340
|
-
- `--quiet` - Suppress success-path stdout; errors and warnings still print to stderr
|
|
341
|
-
|
|
342
|
-
The version magnitude (patch / minor / major) is a decision made per the Version Cadence rule in `docs/specs/stories.md`; this command performs only the mechanical write.
|
|
343
|
-
|
|
344
322
|
### `status`
|
|
345
323
|
|
|
346
324
|
Show status of all installed files and current mode. Output is compact and grouped into Mode, Guide, and Files sections with color.
|
|
@@ -549,7 +527,7 @@ The `.project-guide.yml` file stores project configuration:
|
|
|
549
527
|
|
|
550
528
|
```yaml
|
|
551
529
|
version: "2.0"
|
|
552
|
-
installed_version: "2.
|
|
530
|
+
installed_version: "2.17.0"
|
|
553
531
|
target_dir: "docs/project-guide"
|
|
554
532
|
metadata_file: ".metadata.yml"
|
|
555
533
|
current_mode: "code_direct"
|
|
@@ -582,16 +560,18 @@ metadata_overrides: # optional — per-project mode field patches
|
|
|
582
560
|
|
|
583
561
|
### Project Planning Modes
|
|
584
562
|
|
|
585
|
-
One-time-per-project work — the
|
|
563
|
+
One-time-per-project work — the spec documents that establish the project before any code lands. (The **Environments** step is currently **frozen** — see the note below the table.)
|
|
586
564
|
|
|
587
565
|
| Mode | Command | Output |
|
|
588
566
|
|------|---------|--------|
|
|
589
567
|
| **Concept** | `project-guide mode plan_concept` | `docs/specs/concept.md` |
|
|
590
568
|
| **Features** | `project-guide mode plan_features` | `docs/specs/features.md` |
|
|
591
569
|
| **Tech Spec** | `project-guide mode plan_tech_spec` | `docs/specs/tech-spec.md` + `docs/specs/project-essentials.md` (initial population) |
|
|
592
|
-
| **Environments** | `project-guide mode plan_envs` | `docs/specs/env-dependencies.md` |
|
|
570
|
+
| **Environments** *(frozen)* | `project-guide mode plan_envs` | `docs/specs/env-dependencies.md` |
|
|
593
571
|
| **Stories** | `project-guide mode plan_stories` | `docs/specs/stories.md` |
|
|
594
572
|
|
|
573
|
+
> **`plan_envs` is frozen** pending upstream Pyve work and should not be used. The recommended flow goes straight from **Tech Spec** to **Stories**; the mode stays listed so it can be restored once Pyve unblocks it.
|
|
574
|
+
|
|
595
575
|
### Coding Modes
|
|
596
576
|
|
|
597
577
|
| Mode | Command | Workflow |
|
|
@@ -691,8 +671,8 @@ cd project-guide
|
|
|
691
671
|
pyve run pip install -e .
|
|
692
672
|
|
|
693
673
|
# Dev testenv: pytest, ruff, mypy.
|
|
694
|
-
pyve
|
|
695
|
-
pyve
|
|
674
|
+
pyve env init
|
|
675
|
+
pyve env install -r requirements-dev.txt
|
|
696
676
|
```
|
|
697
677
|
|
|
698
678
|
### Running Tests
|
|
@@ -706,9 +686,9 @@ pyve test --cov=project_guide --cov-report=term-missing
|
|
|
706
686
|
### Code Quality
|
|
707
687
|
|
|
708
688
|
```bash
|
|
709
|
-
pyve
|
|
710
|
-
pyve
|
|
711
|
-
pyve
|
|
689
|
+
pyve env run ruff check project_guide tests
|
|
690
|
+
pyve env run ruff format project_guide tests
|
|
691
|
+
pyve env run mypy project_guide
|
|
712
692
|
```
|
|
713
693
|
|
|
714
694
|
### Documentation Development
|
|
@@ -742,7 +722,7 @@ Contributions are welcome! See [`CONTRIBUTING.md`](CONTRIBUTING.md) for
|
|
|
742
722
|
the full PR process. Quick summary:
|
|
743
723
|
|
|
744
724
|
1. **Fork** and branch off `main`.
|
|
745
|
-
2. **Test** locally: `pyve test` and `pyve
|
|
725
|
+
2. **Test** locally: `pyve test` and `pyve env run ruff check project_guide tests` must pass.
|
|
746
726
|
3. **PR** against `pointmatic/project-guide:main` with a description that explains the *why*.
|
|
747
727
|
4. **CI** must be green; a maintainer will review.
|
|
748
728
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://pointmatic.github.io/project-guide/)
|
|
8
8
|
[](https://codecov.io/gh/pointmatic/project-guide)
|
|
9
9
|
|
|
10
|
-
A Python-friendly CLI tool that installs, renders, and synchronizes battle-tested LLM workflow prompts across projects using mode-driven Jinja2 templates, with content-hash sync and project-specific overrides to keep documentation consistent while preserving customizations. Install globally with [pyve](https://pointmatic.github.io/pyve/)
|
|
10
|
+
A Python-friendly CLI tool that installs, renders, and synchronizes battle-tested LLM workflow prompts across projects using mode-driven Jinja2 templates, with content-hash sync and project-specific overrides to keep documentation consistent while preserving customizations. Install globally with [pyve](https://pointmatic.github.io/pyve/) for pyve-aware onboarding.
|
|
11
11
|
|
|
12
12
|
## Why project-guide?
|
|
13
13
|
|
|
@@ -33,7 +33,7 @@ When you customize a file for your project, mark it as overridden so future pack
|
|
|
33
33
|
## Key Features
|
|
34
34
|
- **Battle-Tested Workflows** - Crafted workflow prompts from concept through production release in one place
|
|
35
35
|
- **Mode-Driven Templates** - 17 modes rendered via Jinja2 so `go.md` always matches your current task
|
|
36
|
-
- **Pyve Integration** - First-class [pyve](https://pointmatic.github.io/pyve/) support: install globally with `pyve self install
|
|
36
|
+
- **Pyve Integration** - First-class [pyve](https://pointmatic.github.io/pyve/) support: install globally with `pyve self install` and get pyve-aware onboarding plus a `status` host footer and `heal` drift warnings when pyve manages the install
|
|
37
37
|
- **Content-Hash Sync** - SHA-256 hash comparison detects changes without relying on version numbers
|
|
38
38
|
- **Custom File Lock** - Lock customized files to prevent update overwrites
|
|
39
39
|
- **Gentle Force Updates** - Automatic `.bak` files created if you `--force` update a custom file
|
|
@@ -124,7 +124,7 @@ The LLM follows the instructions, asks clarifying questions, and generates artif
|
|
|
124
124
|
project-guide mode plan_concept # Define problem & solution
|
|
125
125
|
project-guide mode plan_features # Define requirements
|
|
126
126
|
project-guide mode plan_tech_spec # Define architecture
|
|
127
|
-
project-guide mode plan_envs #
|
|
127
|
+
project-guide mode plan_envs # FROZEN (pending Pyve work) — skip; do not use
|
|
128
128
|
project-guide mode plan_stories # Break into stories
|
|
129
129
|
project-guide mode plan_phase # Add a new phase to stories (pre-1.0)
|
|
130
130
|
project-guide mode plan_production_phase # Add a new phase to stories (post-1.0, with readiness checklist)
|
|
@@ -283,28 +283,6 @@ If any pre-check fails (no versioned stories, archive target already exists, sou
|
|
|
283
283
|
|
|
284
284
|
This command is intended to be run by the LLM after the developer has approved the archive in `project-guide mode archive_stories`.
|
|
285
285
|
|
|
286
|
-
### `bump-version`
|
|
287
|
-
|
|
288
|
-
Bump the package version across all three canonical sites in one step. Use it at end-of-phase when shipping a bundled release.
|
|
289
|
-
|
|
290
|
-
```bash
|
|
291
|
-
project-guide bump-version [VERSION]
|
|
292
|
-
```
|
|
293
|
-
|
|
294
|
-
**Argument:**
|
|
295
|
-
- `VERSION` - the `X.Y.Z` version to write
|
|
296
|
-
|
|
297
|
-
**Writes:**
|
|
298
|
-
- `pyproject.toml` `[project] version`
|
|
299
|
-
- the package `__version__` source (auto-detected: `<package>/version.py`, `_version.py`, `__init__.py`, and `src/` variants)
|
|
300
|
-
- a new `## [VERSION] - YYYY-MM-DD` entry in `CHANGELOG.md`, inserted directly below `## [Unreleased]` (idempotent — re-running refreshes the date and preserves the body)
|
|
301
|
-
|
|
302
|
-
**Options:**
|
|
303
|
-
- `--no-input` - Skip prompts; fail loudly if a default is missing (also auto-enabled by `CI=1` or non-TTY stdin)
|
|
304
|
-
- `--quiet` - Suppress success-path stdout; errors and warnings still print to stderr
|
|
305
|
-
|
|
306
|
-
The version magnitude (patch / minor / major) is a decision made per the Version Cadence rule in `docs/specs/stories.md`; this command performs only the mechanical write.
|
|
307
|
-
|
|
308
286
|
### `status`
|
|
309
287
|
|
|
310
288
|
Show status of all installed files and current mode. Output is compact and grouped into Mode, Guide, and Files sections with color.
|
|
@@ -513,7 +491,7 @@ The `.project-guide.yml` file stores project configuration:
|
|
|
513
491
|
|
|
514
492
|
```yaml
|
|
515
493
|
version: "2.0"
|
|
516
|
-
installed_version: "2.
|
|
494
|
+
installed_version: "2.17.0"
|
|
517
495
|
target_dir: "docs/project-guide"
|
|
518
496
|
metadata_file: ".metadata.yml"
|
|
519
497
|
current_mode: "code_direct"
|
|
@@ -546,16 +524,18 @@ metadata_overrides: # optional — per-project mode field patches
|
|
|
546
524
|
|
|
547
525
|
### Project Planning Modes
|
|
548
526
|
|
|
549
|
-
One-time-per-project work — the
|
|
527
|
+
One-time-per-project work — the spec documents that establish the project before any code lands. (The **Environments** step is currently **frozen** — see the note below the table.)
|
|
550
528
|
|
|
551
529
|
| Mode | Command | Output |
|
|
552
530
|
|------|---------|--------|
|
|
553
531
|
| **Concept** | `project-guide mode plan_concept` | `docs/specs/concept.md` |
|
|
554
532
|
| **Features** | `project-guide mode plan_features` | `docs/specs/features.md` |
|
|
555
533
|
| **Tech Spec** | `project-guide mode plan_tech_spec` | `docs/specs/tech-spec.md` + `docs/specs/project-essentials.md` (initial population) |
|
|
556
|
-
| **Environments** | `project-guide mode plan_envs` | `docs/specs/env-dependencies.md` |
|
|
534
|
+
| **Environments** *(frozen)* | `project-guide mode plan_envs` | `docs/specs/env-dependencies.md` |
|
|
557
535
|
| **Stories** | `project-guide mode plan_stories` | `docs/specs/stories.md` |
|
|
558
536
|
|
|
537
|
+
> **`plan_envs` is frozen** pending upstream Pyve work and should not be used. The recommended flow goes straight from **Tech Spec** to **Stories**; the mode stays listed so it can be restored once Pyve unblocks it.
|
|
538
|
+
|
|
559
539
|
### Coding Modes
|
|
560
540
|
|
|
561
541
|
| Mode | Command | Workflow |
|
|
@@ -655,8 +635,8 @@ cd project-guide
|
|
|
655
635
|
pyve run pip install -e .
|
|
656
636
|
|
|
657
637
|
# Dev testenv: pytest, ruff, mypy.
|
|
658
|
-
pyve
|
|
659
|
-
pyve
|
|
638
|
+
pyve env init
|
|
639
|
+
pyve env install -r requirements-dev.txt
|
|
660
640
|
```
|
|
661
641
|
|
|
662
642
|
### Running Tests
|
|
@@ -670,9 +650,9 @@ pyve test --cov=project_guide --cov-report=term-missing
|
|
|
670
650
|
### Code Quality
|
|
671
651
|
|
|
672
652
|
```bash
|
|
673
|
-
pyve
|
|
674
|
-
pyve
|
|
675
|
-
pyve
|
|
653
|
+
pyve env run ruff check project_guide tests
|
|
654
|
+
pyve env run ruff format project_guide tests
|
|
655
|
+
pyve env run mypy project_guide
|
|
676
656
|
```
|
|
677
657
|
|
|
678
658
|
### Documentation Development
|
|
@@ -706,7 +686,7 @@ Contributions are welcome! See [`CONTRIBUTING.md`](CONTRIBUTING.md) for
|
|
|
706
686
|
the full PR process. Quick summary:
|
|
707
687
|
|
|
708
688
|
1. **Fork** and branch off `main`.
|
|
709
|
-
2. **Test** locally: `pyve test` and `pyve
|
|
689
|
+
2. **Test** locally: `pyve test` and `pyve env run ruff check project_guide tests` must pass.
|
|
710
690
|
3. **PR** against `pointmatic/project-guide:main` with a description that explains the *why*.
|
|
711
691
|
4. **CI** must be green; a maintainer will review.
|
|
712
692
|
|
|
@@ -43,8 +43,8 @@ For template improvements or new features:
|
|
|
43
43
|
3. **Set up development environment**
|
|
44
44
|
```bash
|
|
45
45
|
pyve run pip install -e . # main env: editable install
|
|
46
|
-
pyve
|
|
47
|
-
pyve
|
|
46
|
+
pyve env init # create the dev testenv
|
|
47
|
+
pyve env install -r requirements-dev.txt # pytest, ruff, mypy
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
4. **Make your changes**
|
|
@@ -59,8 +59,8 @@ For template improvements or new features:
|
|
|
59
59
|
|
|
60
60
|
6. **Run linters**
|
|
61
61
|
```bash
|
|
62
|
-
pyve
|
|
63
|
-
pyve
|
|
62
|
+
pyve env run ruff check project_guide tests
|
|
63
|
+
pyve env run mypy project_guide
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
7. **Commit your changes**
|
|
@@ -95,7 +95,7 @@ For template improvements or new features:
|
|
|
95
95
|
- Maintain or improve test coverage (minimum 85%, currently 90%)
|
|
96
96
|
- Run tests with `pyve test` (pytest lives in the dev testenv)
|
|
97
97
|
- Test edge cases and error conditions
|
|
98
|
-
-
|
|
98
|
+
- 629 tests across 12 test files
|
|
99
99
|
|
|
100
100
|
### Documentation
|
|
101
101
|
|
|
@@ -135,7 +135,7 @@ project-guide/
|
|
|
135
135
|
│ ├── modes/ # Mode templates (*.md)
|
|
136
136
|
│ ├── artifacts/ # Artifact templates (*.md)
|
|
137
137
|
│ └── go.md # Go template
|
|
138
|
-
├── tests/ # Test suite (
|
|
138
|
+
├── tests/ # Test suite (629 tests, 90% coverage)
|
|
139
139
|
│ ├── test_cli.py # CLI command tests (~200)
|
|
140
140
|
│ ├── test_render.py # Render tests, incl. per-mode (~170)
|
|
141
141
|
│ ├── test_actions.py # Deterministic actions / archive (~53)
|
|
@@ -194,13 +194,13 @@ open htmlcov/index.html
|
|
|
194
194
|
|
|
195
195
|
```bash
|
|
196
196
|
# Check code style
|
|
197
|
-
pyve
|
|
197
|
+
pyve env run ruff check project_guide tests
|
|
198
198
|
|
|
199
199
|
# Type checking
|
|
200
|
-
pyve
|
|
200
|
+
pyve env run mypy project_guide
|
|
201
201
|
|
|
202
202
|
# Format code
|
|
203
|
-
pyve
|
|
203
|
+
pyve env run ruff format project_guide tests
|
|
204
204
|
```
|
|
205
205
|
|
|
206
206
|
## Building Documentation
|
|
@@ -24,8 +24,8 @@ project-guide uses pyve's two-environment model: a main runtime env plus a separ
|
|
|
24
24
|
pyve run pip install -e .
|
|
25
25
|
|
|
26
26
|
# Dev testenv: pytest, ruff, mypy
|
|
27
|
-
pyve
|
|
28
|
-
pyve
|
|
27
|
+
pyve env init
|
|
28
|
+
pyve env install -r requirements-dev.txt
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
## Verify Installation
|
|
@@ -38,10 +38,10 @@ project-guide --version
|
|
|
38
38
|
pyve test
|
|
39
39
|
|
|
40
40
|
# Check linting
|
|
41
|
-
pyve
|
|
41
|
+
pyve env run ruff check project_guide tests
|
|
42
42
|
|
|
43
43
|
# Check types
|
|
44
|
-
pyve
|
|
44
|
+
pyve env run mypy project_guide
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
## Development Workflow
|
|
@@ -76,13 +76,13 @@ pyve test tests/test_cli.py::test_init_in_empty_directory
|
|
|
76
76
|
|
|
77
77
|
```bash
|
|
78
78
|
# Lint code
|
|
79
|
-
pyve
|
|
79
|
+
pyve env run ruff check project_guide tests
|
|
80
80
|
|
|
81
81
|
# Format code
|
|
82
|
-
pyve
|
|
82
|
+
pyve env run ruff format project_guide tests
|
|
83
83
|
|
|
84
84
|
# Type check
|
|
85
|
-
pyve
|
|
85
|
+
pyve env run mypy project_guide
|
|
86
86
|
```
|
|
87
87
|
|
|
88
88
|
### 5. Update Documentation
|
|
@@ -207,23 +207,23 @@ pyve test -k "test_init"
|
|
|
207
207
|
|
|
208
208
|
```bash
|
|
209
209
|
# Check for issues
|
|
210
|
-
pyve
|
|
210
|
+
pyve env run ruff check project_guide tests
|
|
211
211
|
|
|
212
212
|
# Fix auto-fixable issues
|
|
213
|
-
pyve
|
|
213
|
+
pyve env run ruff check --fix project_guide tests
|
|
214
214
|
|
|
215
215
|
# Format code
|
|
216
|
-
pyve
|
|
216
|
+
pyve env run ruff format project_guide tests
|
|
217
217
|
```
|
|
218
218
|
|
|
219
219
|
### Mypy (Type Checker)
|
|
220
220
|
|
|
221
221
|
```bash
|
|
222
222
|
# Type check
|
|
223
|
-
pyve
|
|
223
|
+
pyve env run mypy project_guide
|
|
224
224
|
|
|
225
225
|
# Strict mode
|
|
226
|
-
pyve
|
|
226
|
+
pyve env run mypy --strict project_guide
|
|
227
227
|
```
|
|
228
228
|
|
|
229
229
|
## Building Documentation
|
|
@@ -326,7 +326,7 @@ pyve run pip install -e .
|
|
|
326
326
|
Refresh the dev testenv dependencies:
|
|
327
327
|
|
|
328
328
|
```bash
|
|
329
|
-
pyve
|
|
329
|
+
pyve env install -r requirements-dev.txt
|
|
330
330
|
```
|
|
331
331
|
|
|
332
332
|
### Type Check Errors
|
|
@@ -4,7 +4,7 @@ Comprehensive guide to testing project-guide.
|
|
|
4
4
|
|
|
5
5
|
## Test Suite Overview
|
|
6
6
|
|
|
7
|
-
project-guide has 90% test coverage with
|
|
7
|
+
project-guide has 90% test coverage with 629 tests across 12 test files covering:
|
|
8
8
|
|
|
9
9
|
- CLI commands
|
|
10
10
|
- Deterministic actions (archive) and the `archive_stories` mode
|
|
@@ -469,7 +469,7 @@
|
|
|
469
469
|
</div>
|
|
470
470
|
<div class="feature-card">
|
|
471
471
|
<h4>Well Tested</h4>
|
|
472
|
-
<p>
|
|
472
|
+
<p>629 tests with 90% coverage ensure reliability across platforms and edge cases.</p>
|
|
473
473
|
</div>
|
|
474
474
|
<div class="feature-card">
|
|
475
475
|
<h4>Lightweight and Fast</h4>
|
|
@@ -9,7 +9,6 @@ project-guide provides twelve commands for managing LLM workflow files across yo
|
|
|
9
9
|
| `init` | Install files into a new project |
|
|
10
10
|
| `mode` | Switch workflow mode or list available modes |
|
|
11
11
|
| `archive-stories` | Archive `stories.md` and re-render a fresh one for the next phase |
|
|
12
|
-
| `bump-version` | Bump the package version across `pyproject.toml`, the version source, and `CHANGELOG.md` |
|
|
13
12
|
| `status` | Show file status grouped by category |
|
|
14
13
|
| `update` | Update non-overridden files to latest versions |
|
|
15
14
|
| `heal` | Repair the install — create missing templates and refresh stale ones |
|
|
@@ -144,29 +143,6 @@ If any pre-check fails (no versioned stories in the source, archive target alrea
|
|
|
144
143
|
|
|
145
144
|
This command is intended to be run by the LLM after the developer has approved the archive in `project-guide mode archive_stories`. The conversational-vs-deterministic split is deliberate: the mode template walks the developer through the decision; the CLI command performs the transaction.
|
|
146
145
|
|
|
147
|
-
## bump-version
|
|
148
|
-
|
|
149
|
-
Bump the package version across all three canonical sites in one step — used at end-of-phase when shipping a bundled release.
|
|
150
|
-
|
|
151
|
-
```bash
|
|
152
|
-
project-guide bump-version [VERSION]
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
### Options
|
|
156
|
-
|
|
157
|
-
- `--no-input` - Skip prompts; fail loudly if a default is missing (also auto-enabled by `CI=1` or non-TTY stdin)
|
|
158
|
-
- `--quiet` - Suppress success-path stdout; errors and warnings still print to stderr
|
|
159
|
-
|
|
160
|
-
### What It Does
|
|
161
|
-
|
|
162
|
-
Writes the supplied `X.Y.Z` to:
|
|
163
|
-
|
|
164
|
-
1. `pyproject.toml` `[project] version`
|
|
165
|
-
2. the package `__version__` source (auto-detected: `<package>/version.py`, `_version.py`, `__init__.py`, and `src/` variants)
|
|
166
|
-
3. a new `## [VERSION] - YYYY-MM-DD` entry in `CHANGELOG.md`, inserted directly below `## [Unreleased]` (idempotent — re-running refreshes the date and preserves the body)
|
|
167
|
-
|
|
168
|
-
The version magnitude (patch / minor / major) is decided per the Version Cadence rule in `docs/specs/stories.md`; this command performs only the mechanical write.
|
|
169
|
-
|
|
170
146
|
## status
|
|
171
147
|
|
|
172
148
|
Display the status of all files in your project, grouped by category.
|
|
@@ -199,7 +175,7 @@ Each file shows one of:
|
|
|
199
175
|
### Example Output
|
|
200
176
|
|
|
201
177
|
```
|
|
202
|
-
project-guide v2.
|
|
178
|
+
project-guide v2.17.0
|
|
203
179
|
|
|
204
180
|
Mode: code_direct — Generate code directly, test after
|
|
205
181
|
Prerequisites: all met
|
|
@@ -10,7 +10,7 @@ The `.project-guide.yml` file is created automatically when you run `project-gui
|
|
|
10
10
|
|
|
11
11
|
```yaml
|
|
12
12
|
version: "2.0"
|
|
13
|
-
installed_version: "2.
|
|
13
|
+
installed_version: "2.17.0"
|
|
14
14
|
target_dir: "docs/project-guide"
|
|
15
15
|
metadata_file: ".metadata.yml"
|
|
16
16
|
current_mode: "code_direct"
|
|
@@ -69,7 +69,7 @@ project-guide mode plan_features
|
|
|
69
69
|
| Field | Value |
|
|
70
70
|
|-|-|
|
|
71
71
|
| **Type** | Sequence |
|
|
72
|
-
| **Next** | `plan_envs` |
|
|
72
|
+
| **Next** | `plan_stories` (`plan_envs` is frozen — skipped) |
|
|
73
73
|
| **Artifacts** | `docs/specs/tech-spec.md`, `docs/specs/project-essentials.md` (initial) |
|
|
74
74
|
| **Prerequisites** | `concept.md`, `features.md` |
|
|
75
75
|
|
|
@@ -83,6 +83,8 @@ project-guide mode plan_tech_spec
|
|
|
83
83
|
|
|
84
84
|
#### plan_envs
|
|
85
85
|
|
|
86
|
+
> ⚠️ **Frozen — do not use** (pending upstream Pyve work). The recommended sequence skips it: go from `plan_tech_spec` straight to `plan_stories`. It stays listed only so it can be restored once Pyve unblocks it and the mode is re-aligned to Pyve's current functionality.
|
|
87
|
+
|
|
86
88
|
| Field | Value |
|
|
87
89
|
|-|-|
|
|
88
90
|
| **Type** | Sequence |
|
|
@@ -314,9 +316,8 @@ default
|
|
|
314
316
|
└─> plan_concept
|
|
315
317
|
└─> plan_features
|
|
316
318
|
└─> plan_tech_spec
|
|
317
|
-
└─> plan_envs
|
|
318
|
-
└─>
|
|
319
|
-
└─> scaffold_project
|
|
319
|
+
└─> plan_stories (plan_envs is frozen — skipped, pending Pyve work)
|
|
320
|
+
└─> scaffold_project
|
|
320
321
|
└─> code_direct (cycle)
|
|
321
322
|
```
|
|
322
323
|
|
|
@@ -45,8 +45,8 @@ A mode-driven template system that dynamically renders a single entry-point docu
|
|
|
45
45
|
5. Make the LLM's work transparent and accountable through structured artifacts
|
|
46
46
|
|
|
47
47
|
### Scope
|
|
48
|
-
- **CLI tool**: `project-guide init`, `mode`, `status`, `update`, `heal`, `override`, `unoverride`, `overrides`, `purge`, `archive-stories`, `
|
|
49
|
-
- **17 modes**: `default`, `scaffold_project`, `plan_concept`, `plan_features`, `plan_tech_spec`, `plan_envs
|
|
48
|
+
- **CLI tool**: `project-guide init`, `mode`, `status`, `update`, `heal`, `override`, `unoverride`, `overrides`, `purge`, `archive-stories`, `git-push`
|
|
49
|
+
- **17 modes**: `default`, `scaffold_project`, `plan_concept`, `plan_features`, `plan_tech_spec`, `plan_envs` *(frozen — pending Pyve work; do not use)*, `plan_stories`, `plan_phase`, `plan_production_phase`, `archive_stories`, `code_direct`, `code_test_first`, `debug`, `document_brand`, `document_landing`, `refactor_plan`, `refactor_document`, plus a future `code_production` (not yet implemented)
|
|
50
50
|
- **Jinja2 rendering**: mode templates + header partials rendered into a single entry-point document
|
|
51
51
|
- **Hash-based file sync**: content-hash comparison determines file freshness, not version numbers
|
|
52
52
|
- **Override system**: lock files from updates when they contain project-specific customizations
|