project-guide 2.16.0__tar.gz → 2.17.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.0 → project_guide-2.17.0}/.project-guide.yml +2 -2
- {project_guide-2.16.0 → project_guide-2.17.0}/CHANGELOG.md +17 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/CONTRIBUTING.md +5 -5
- {project_guide-2.16.0 → project_guide-2.17.0}/PKG-INFO +15 -13
- {project_guide-2.16.0 → project_guide-2.17.0}/README.md +14 -12
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/site/developer-guide/contributing.md +9 -9
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/site/developer-guide/development.md +13 -13
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/site/developer-guide/testing.md +1 -1
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/site/index.html +1 -1
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/site/user-guide/commands.md +1 -1
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/site/user-guide/configuration.md +1 -1
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/site/user-guide/modes.md +5 -4
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/concept.md +1 -1
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/features.md +13 -7
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/project-essentials.md +11 -3
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/pyve/concept.md +20 -4
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/pyve/features.md +29 -3
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/stories.md +270 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/tech-spec.md +34 -20
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/actions.py +6 -4
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/stories.py +7 -3
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/.metadata.yml +2 -2
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/developer/python-editable-install.md +11 -11
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/artifacts/pyve-essentials.md +10 -10
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/modes/_header-common.md +1 -0
- project_guide-2.17.0/project_guide/templates/project-guide/templates/modes/_header-cycle.md +44 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/modes/_phase-letters.md +6 -3
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/modes/plan-envs-mode.md +2 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/modes/plan-tech-spec-mode.md +1 -1
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/version.py +1 -1
- {project_guide-2.16.0 → project_guide-2.17.0}/pyproject.toml +1 -1
- {project_guide-2.16.0 → project_guide-2.17.0}/tests/test_actions.py +12 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/tests/test_stories.py +52 -0
- project_guide-2.16.0/.envrc.prev +0 -15
- project_guide-2.16.0/.gitignore.prev +0 -53
- project_guide-2.16.0/project_guide/templates/project-guide/templates/modes/_header-cycle.md +0 -27
- {project_guide-2.16.0 → project_guide-2.17.0}/.github/FUNDING.yml +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/.github/dependabot.yml +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/.github/workflows/ci.yml +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/.github/workflows/deploy-docs.yml +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/.github/workflows/publish.yml +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/.github/workflows/test.yml +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/.gitignore +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/.tool-versions +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/LICENSE +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/SECURITY.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/site/.gitignore +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/site/about/changelog.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/site/about/license.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/site/getting-started.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/site/images/project-guide-banner-landing.png +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/site/images/project-guide-header-readme.png +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/site/user-guide/install-options.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/site/user-guide/overrides.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/site/user-guide/workflow.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/.archive/phase-j-modes-plan.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/.archive/phase-k-release-lifecycle-plan.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/.archive/phase-l-no-input-init-plan.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/.archive/phase-m-project-essentials-plan.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/.archive/phase-n-mode-naming-cli-memory-plan.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/.archive/phase-o-pyve-quiet-embedding-subplan.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/.archive/phase-o-quiet-non-interactive-embedding-feature.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/.archive/phase-p-auto-heal-plan.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/.archive/project-guide-no-input-spec.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/.archive/stories-v1.3.1.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/.archive/stories-v2.0.20.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/.archive/stories-v2.10.2.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/.archive/stories-v2.3.9.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/.archive/stories-v2.4.19.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/.archive/stories-v2.5.15.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/.archive/ux-problems-v2.0.10.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/brand-descriptions.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/phase-q-dx-subphases-plan.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/phase-q-plan-envs-mode-env-dependences-artifact-roughdraft.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/phase-q-plan-envs-mode-roughdraft.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/phase-q-pyve-toolchain-hosting.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/phase-q-subphase-2-plan-envs-plan.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/phase-q-subphase-3-pyve-hosting-plan.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/phase-q-subphase-4-local-install-warning-readiness-gate.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/phase-q-subphase-4-readiness-gate-plan.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/phase-q-subphase-strategy-for-large-phases.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/phase-q-wizard-env-contract.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/pyve/README.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/pyve/sync.sh +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/docs/specs/pyve/tech-spec.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/mkdocs.yml +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project-guide-old-template.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/__init__.py +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/__main__.py +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/cli.py +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/config.py +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/exceptions.py +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/metadata.py +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/render.py +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/runtime.py +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/sync.py +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/.project-guide.yml.template +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/README.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/developer/best-practices-guide.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/developer/brand-descriptions-guide.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/developer/codecov-setup-guide.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/developer/debug-guide.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/developer/landing-page-guide.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/developer/production-github-guide.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/developer/project-guide.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/artifacts/brand-descriptions.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/artifacts/concept.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/artifacts/env-dependencies.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/artifacts/features.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/artifacts/project-essentials.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/artifacts/stories.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/artifacts/tech-spec.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/llm_entry_point.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/modes/_header-sequence.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/modes/archive-stories-mode.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/modes/code-direct-mode.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/modes/code-test-first-mode.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/modes/debug-mode.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/modes/default-mode.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/modes/document-brand-mode.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/modes/document-landing-mode.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/modes/plan-concept-mode.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/modes/plan-features-mode.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/modes/plan-phase-mode.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/modes/plan-production-phase-mode.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/modes/plan-stories-mode.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/modes/refactor-document-mode.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/modes/refactor-plan-mode.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/project_guide/templates/project-guide/templates/modes/scaffold-project-mode.md +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/pyve.toml +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/requirements-dev.txt +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/tests/__init__.py +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/tests/conftest.py +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/tests/test_archive_stories_mode.py +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/tests/test_cli.py +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/tests/test_config.py +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/tests/test_cross_repo_contract.py +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/tests/test_integration.py +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/tests/test_metadata.py +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/tests/test_purge.py +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/tests/test_render.py +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/tests/test_runtime.py +0 -0
- {project_guide-2.16.0 → project_guide-2.17.0}/tests/test_sync.py +0 -0
|
@@ -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_direct
|
|
6
6
|
test_first: false
|
|
7
7
|
pyve_version: pyve version 2.6.2
|
|
8
8
|
project_name: project-guide
|
|
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.17.0] - 2026-06-22
|
|
11
|
+
|
|
12
|
+
**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.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
- **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.
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
- **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.
|
|
19
|
+
|
|
20
|
+
## [2.16.1] - 2026-06-11
|
|
21
|
+
|
|
22
|
+
**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.
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
- **Q.v — H3–H5 story headings.** `_STORY_RE` (`stories.py`, used by `git-push` done-detection / `is_header` / body-boundary scanning and by `status` counts) and `_VERSION_RE` (`actions.py`, `archive-stories` highest-version scan) now accept a `#{3,5}` prefix. `##` (phase level) and `######` (too deep) remain non-stories; the colon after the ID remains mandatory. Body-boundary detection extends for free since it is driven by the same `_STORY_RE`, so a checklist-less `###` group header above `#####` children correctly reads as a header while each child's own checklist governs its `is_header`.
|
|
26
|
+
|
|
10
27
|
## [2.16.0] - 2026-06-11
|
|
11
28
|
|
|
12
29
|
**`git-push` — branch-aware squash-merge presumption (Story Q.u).** The out-of-sequence discipline (P.v/Q.p) assumed every shipped `[Done]` story is parseable from the current branch's `git log`. On repos that protect `main` (PRs + squash merges required), squash merges rewrite commit subjects to PR titles, so prior-bundle stories don't parse from a feature branch's log even though they shipped — producing false out-of-sequence warnings/prompts on every branch, and a fresh branch with no story commits made every `[Done]` story look uncommitted.
|
|
@@ -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
|
---
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: project-guide
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.17.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)
|
|
@@ -549,7 +549,7 @@ The `.project-guide.yml` file stores project configuration:
|
|
|
549
549
|
|
|
550
550
|
```yaml
|
|
551
551
|
version: "2.0"
|
|
552
|
-
installed_version: "2.
|
|
552
|
+
installed_version: "2.17.0"
|
|
553
553
|
target_dir: "docs/project-guide"
|
|
554
554
|
metadata_file: ".metadata.yml"
|
|
555
555
|
current_mode: "code_direct"
|
|
@@ -582,16 +582,18 @@ metadata_overrides: # optional — per-project mode field patches
|
|
|
582
582
|
|
|
583
583
|
### Project Planning Modes
|
|
584
584
|
|
|
585
|
-
One-time-per-project work — the
|
|
585
|
+
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
586
|
|
|
587
587
|
| Mode | Command | Output |
|
|
588
588
|
|------|---------|--------|
|
|
589
589
|
| **Concept** | `project-guide mode plan_concept` | `docs/specs/concept.md` |
|
|
590
590
|
| **Features** | `project-guide mode plan_features` | `docs/specs/features.md` |
|
|
591
591
|
| **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` |
|
|
592
|
+
| **Environments** *(frozen)* | `project-guide mode plan_envs` | `docs/specs/env-dependencies.md` |
|
|
593
593
|
| **Stories** | `project-guide mode plan_stories` | `docs/specs/stories.md` |
|
|
594
594
|
|
|
595
|
+
> **`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.
|
|
596
|
+
|
|
595
597
|
### Coding Modes
|
|
596
598
|
|
|
597
599
|
| Mode | Command | Workflow |
|
|
@@ -691,8 +693,8 @@ cd project-guide
|
|
|
691
693
|
pyve run pip install -e .
|
|
692
694
|
|
|
693
695
|
# Dev testenv: pytest, ruff, mypy.
|
|
694
|
-
pyve
|
|
695
|
-
pyve
|
|
696
|
+
pyve env init
|
|
697
|
+
pyve env install -r requirements-dev.txt
|
|
696
698
|
```
|
|
697
699
|
|
|
698
700
|
### Running Tests
|
|
@@ -706,9 +708,9 @@ pyve test --cov=project_guide --cov-report=term-missing
|
|
|
706
708
|
### Code Quality
|
|
707
709
|
|
|
708
710
|
```bash
|
|
709
|
-
pyve
|
|
710
|
-
pyve
|
|
711
|
-
pyve
|
|
711
|
+
pyve env run ruff check project_guide tests
|
|
712
|
+
pyve env run ruff format project_guide tests
|
|
713
|
+
pyve env run mypy project_guide
|
|
712
714
|
```
|
|
713
715
|
|
|
714
716
|
### Documentation Development
|
|
@@ -742,7 +744,7 @@ Contributions are welcome! See [`CONTRIBUTING.md`](CONTRIBUTING.md) for
|
|
|
742
744
|
the full PR process. Quick summary:
|
|
743
745
|
|
|
744
746
|
1. **Fork** and branch off `main`.
|
|
745
|
-
2. **Test** locally: `pyve test` and `pyve
|
|
747
|
+
2. **Test** locally: `pyve test` and `pyve env run ruff check project_guide tests` must pass.
|
|
746
748
|
3. **PR** against `pointmatic/project-guide:main` with a description that explains the *why*.
|
|
747
749
|
4. **CI** must be green; a maintainer will review.
|
|
748
750
|
|
|
@@ -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)
|
|
@@ -513,7 +513,7 @@ The `.project-guide.yml` file stores project configuration:
|
|
|
513
513
|
|
|
514
514
|
```yaml
|
|
515
515
|
version: "2.0"
|
|
516
|
-
installed_version: "2.
|
|
516
|
+
installed_version: "2.17.0"
|
|
517
517
|
target_dir: "docs/project-guide"
|
|
518
518
|
metadata_file: ".metadata.yml"
|
|
519
519
|
current_mode: "code_direct"
|
|
@@ -546,16 +546,18 @@ metadata_overrides: # optional — per-project mode field patches
|
|
|
546
546
|
|
|
547
547
|
### Project Planning Modes
|
|
548
548
|
|
|
549
|
-
One-time-per-project work — the
|
|
549
|
+
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
550
|
|
|
551
551
|
| Mode | Command | Output |
|
|
552
552
|
|------|---------|--------|
|
|
553
553
|
| **Concept** | `project-guide mode plan_concept` | `docs/specs/concept.md` |
|
|
554
554
|
| **Features** | `project-guide mode plan_features` | `docs/specs/features.md` |
|
|
555
555
|
| **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` |
|
|
556
|
+
| **Environments** *(frozen)* | `project-guide mode plan_envs` | `docs/specs/env-dependencies.md` |
|
|
557
557
|
| **Stories** | `project-guide mode plan_stories` | `docs/specs/stories.md` |
|
|
558
558
|
|
|
559
|
+
> **`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.
|
|
560
|
+
|
|
559
561
|
### Coding Modes
|
|
560
562
|
|
|
561
563
|
| Mode | Command | Workflow |
|
|
@@ -655,8 +657,8 @@ cd project-guide
|
|
|
655
657
|
pyve run pip install -e .
|
|
656
658
|
|
|
657
659
|
# Dev testenv: pytest, ruff, mypy.
|
|
658
|
-
pyve
|
|
659
|
-
pyve
|
|
660
|
+
pyve env init
|
|
661
|
+
pyve env install -r requirements-dev.txt
|
|
660
662
|
```
|
|
661
663
|
|
|
662
664
|
### Running Tests
|
|
@@ -670,9 +672,9 @@ pyve test --cov=project_guide --cov-report=term-missing
|
|
|
670
672
|
### Code Quality
|
|
671
673
|
|
|
672
674
|
```bash
|
|
673
|
-
pyve
|
|
674
|
-
pyve
|
|
675
|
-
pyve
|
|
675
|
+
pyve env run ruff check project_guide tests
|
|
676
|
+
pyve env run ruff format project_guide tests
|
|
677
|
+
pyve env run mypy project_guide
|
|
676
678
|
```
|
|
677
679
|
|
|
678
680
|
### Documentation Development
|
|
@@ -706,7 +708,7 @@ Contributions are welcome! See [`CONTRIBUTING.md`](CONTRIBUTING.md) for
|
|
|
706
708
|
the full PR process. Quick summary:
|
|
707
709
|
|
|
708
710
|
1. **Fork** and branch off `main`.
|
|
709
|
-
2. **Test** locally: `pyve test` and `pyve
|
|
711
|
+
2. **Test** locally: `pyve test` and `pyve env run ruff check project_guide tests` must pass.
|
|
710
712
|
3. **PR** against `pointmatic/project-guide:main` with a description that explains the *why*.
|
|
711
713
|
4. **CI** must be green; a maintainer will review.
|
|
712
714
|
|
|
@@ -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>
|
|
@@ -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
|
|
|
@@ -46,7 +46,7 @@ A mode-driven template system that dynamically renders a single entry-point docu
|
|
|
46
46
|
|
|
47
47
|
### Scope
|
|
48
48
|
- **CLI tool**: `project-guide init`, `mode`, `status`, `update`, `heal`, `override`, `unoverride`, `overrides`, `purge`, `archive-stories`, `bump-version`, `git-push`
|
|
49
|
-
- **17 modes**: `default`, `scaffold_project`, `plan_concept`, `plan_features`, `plan_tech_spec`, `plan_envs
|
|
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
|
|
@@ -105,7 +105,7 @@ For a high-level concept (why), see [`concept.md`](concept.md). For implementati
|
|
|
105
105
|
**`.project-guide.yml`** (created in project root):
|
|
106
106
|
```yaml
|
|
107
107
|
version: '2.0'
|
|
108
|
-
installed_version: 2.0
|
|
108
|
+
installed_version: 2.17.0
|
|
109
109
|
target_dir: docs/project-guide
|
|
110
110
|
metadata_file: .metadata.yml
|
|
111
111
|
current_mode: default
|
|
@@ -155,21 +155,27 @@ project-root/
|
|
|
155
155
|
│ ├── plan-concept-mode.md
|
|
156
156
|
│ ├── plan-features-mode.md
|
|
157
157
|
│ ├── plan-tech-spec-mode.md
|
|
158
|
+
│ ├── plan-envs-mode.md
|
|
158
159
|
│ ├── plan-stories-mode.md
|
|
159
160
|
│ ├── plan-phase-mode.md
|
|
161
|
+
│ ├── plan-production-phase-mode.md
|
|
160
162
|
│ ├── scaffold-project-mode.md
|
|
161
|
-
│ ├── code-
|
|
163
|
+
│ ├── code-direct-mode.md
|
|
162
164
|
│ ├── code-test-first-mode.md
|
|
163
165
|
│ ├── debug-mode.md
|
|
164
166
|
│ ├── document-brand-mode.md
|
|
165
167
|
│ ├── document-landing-mode.md
|
|
168
|
+
│ ├── archive-stories-mode.md
|
|
166
169
|
│ ├── refactor-plan-mode.md
|
|
167
170
|
│ └── refactor-document-mode.md
|
|
168
171
|
└── artifacts/ # Artifact templates (structure guides)
|
|
169
172
|
├── concept.md
|
|
170
173
|
├── features.md
|
|
171
174
|
├── tech-spec.md
|
|
175
|
+
├── env-dependencies.md
|
|
172
176
|
├── stories.md
|
|
177
|
+
├── project-essentials.md
|
|
178
|
+
├── pyve-essentials.md
|
|
173
179
|
└── brand-descriptions.md
|
|
174
180
|
```
|
|
175
181
|
|
|
@@ -177,7 +183,7 @@ project-root/
|
|
|
177
183
|
|
|
178
184
|
**`project-guide status` (happy path):**
|
|
179
185
|
```
|
|
180
|
-
project-guide v2.0
|
|
186
|
+
project-guide v2.17.0
|
|
181
187
|
|
|
182
188
|
Mode: default — Getting started -- full project lifecycle overview
|
|
183
189
|
Run 'project-guide mode' to see available modes.
|
|
@@ -190,9 +196,9 @@ Files: 33 current
|
|
|
190
196
|
|
|
191
197
|
**`project-guide status` (with problems):**
|
|
192
198
|
```
|
|
193
|
-
project-guide v2.0
|
|
199
|
+
project-guide v2.17.0 (installed: v2.16.1)
|
|
194
200
|
|
|
195
|
-
Mode: code_direct — Generate code
|
|
201
|
+
Mode: code_direct — Generate code directly, test after
|
|
196
202
|
Prerequisites: all met
|
|
197
203
|
Run 'project-guide mode' to see available modes.
|
|
198
204
|
|
|
@@ -227,7 +233,7 @@ The system renders a single entry-point document (`go.md`) from Jinja2 templates
|
|
|
227
233
|
| `plan_concept` | sequence | Define problem and solution space |
|
|
228
234
|
| `plan_features` | sequence | Define feature requirements |
|
|
229
235
|
| `plan_tech_spec` | sequence | Define technical specification |
|
|
230
|
-
| `plan_envs` | sequence | Define named environments and their dependencies |
|
|
236
|
+
| `plan_envs` | sequence | Define named environments and their dependencies **(frozen — pending Pyve work; do not use)** |
|
|
231
237
|
| `plan_stories` | sequence | Break down into implementation stories |
|
|
232
238
|
| `plan_phase` | sequence | Add a new feature phase to an existing project |
|
|
233
239
|
| `plan_production_phase` | sequence | Plan a production-grade phase post-1.0 with readiness checklist and breaking-change negotiation |
|
|
@@ -448,7 +454,7 @@ Changing the `.project-guide.yml` filename, removing any of the contract fields,
|
|
|
448
454
|
|
|
449
455
|
```yaml
|
|
450
456
|
version: '2.0' # Config schema version
|
|
451
|
-
installed_version: '2.0
|
|
457
|
+
installed_version: '2.17.0' # Package version when last synced
|
|
452
458
|
target_dir: 'docs/project-guide' # Where templates are installed
|
|
453
459
|
metadata_file: '.metadata.yml' # Metadata filename (within target_dir)
|
|
454
460
|
current_mode: 'default' # Active mode
|
|
@@ -35,10 +35,10 @@ Any future interactive prompt added to a CLI command **must** use the `should_sk
|
|
|
35
35
|
Before presenting a **code** story at its approval gate, run the **same checks CI gates on**, so a green local run predicts a green CI run. All three, every code story:
|
|
36
36
|
|
|
37
37
|
- **Tests** — `pyve test` (full suite passes).
|
|
38
|
-
- **Lint** — `pyve
|
|
39
|
-
- **Types** — `pyve
|
|
38
|
+
- **Lint** — `pyve env run ruff check project_guide/ tests/`.
|
|
39
|
+
- **Types** — `pyve env run mypy project_guide/`. **mypy is a CI gate** ([ci.yml](../../.github/workflows/ci.yml), [publish.yml](../../.github/workflows/publish.yml)); a verification step that runs only tests + ruff can ship a type error straight to red CI. This happened in **Story Q.u** — a `str | None` narrowing error at `cli.py:2169` reached CI because the verification step omitted mypy.
|
|
40
40
|
|
|
41
|
-
Record the outcome in the story checklist (counts passed / "clean"). If the local testenv's console-script shebangs are stale (env-layout churn breaks `pyve
|
|
41
|
+
Record the outcome in the story checklist (counts passed / "clean"). If the local testenv's console-script shebangs are stale (env-layout churn breaks `pyve env run mypy`), invoke the module directly — `.pyve/envs/testenv/venv/bin/python -m mypy project_guide/` — rather than skipping the gate.
|
|
42
42
|
|
|
43
43
|
### Commit workflow
|
|
44
44
|
|
|
@@ -185,6 +185,14 @@ The `plan_envs` mode (added Subphase Q-2) authors `docs/specs/env-dependencies.m
|
|
|
185
185
|
- **Authoritative upstream.** Pyve's `docs/specs/project-guide-requests/env-dependencies-template.md` (in the Pyve repo) is the source the bundled copy is vendored from.
|
|
186
186
|
- **Relationship to `### Pyve Essentials`.** The auto-rendered `### Pyve Essentials` block (sourced from the bundled `pyve-essentials.md` artifact via FR-13) is about Pyve *invocation* — workflow rules, canonical command forms, environment conventions. This contract is about Pyve *env-spec vocabulary* — the data contract `plan_envs` output must conform to. Complementary, not overlapping.
|
|
187
187
|
|
|
188
|
+
### `plan_envs` is frozen — do not use (added 2026-06-22)
|
|
189
|
+
|
|
190
|
+
`plan_envs` (Subphase Q-2, shipped v2.12.0) is **frozen and must not be used, recommended, run, or polished**. It is stale: the env-spec vocabulary and `env-dependencies.md` template it vendors (`spec_version "3.0"`, see the preceding "Pyve env-spec vendored-template contract" section) are ahead of what current Pyve can operate, so its output does not round-trip. Improving it is **blocked on upstream Pyve work**; it stays frozen until Pyve unblocks it and the mode is re-aligned to Pyve's current functionality and capabilities.
|
|
191
|
+
|
|
192
|
+
**How the freeze is enforced (Story Q.z.1):** the `plan-envs-mode.md` template opens with a `FROZEN — DO NOT USE` banner; the recommended planning sequence **bypasses** it (`plan_tech_spec.next_mode` is `plan_stories`, **not** `plan_envs`); the mode stays *listed* (its `.metadata.yml` `info` is annotated `(FROZEN …)`) so explicit invocation still works but is loudly discouraged; and every doc surface that lists it carries a `(frozen — pending Pyve work)` marker.
|
|
193
|
+
|
|
194
|
+
**The vendored-template contract above is paused, not retired.** Do **not** refresh `env-dependencies.md`'s `spec_version` or re-vendor the template while frozen — that work folds into the eventual unfreeze story (which re-wires the sequence back through `plan_envs`, drops the banner, and removes the markers).
|
|
195
|
+
|
|
188
196
|
### Pyve cross-repo contracts (added v2.13.0)
|
|
189
197
|
|
|
190
198
|
Pyve hosts project-guide as a globally-shimmed tool in its toolchain venv (Pyve Story N.aw): one install on `PATH` via `~/.local/bin/project-guide`, not a per-project `pip install`. Four behavioral contracts make that hosting model safe; three are pinned by `tests/test_cross_repo_contract.py` (Story Q.l), the fourth is the pyve-managed-hosting awareness behavior (Story Q.m). The functional enumeration lives in `features.md` → "Cross-Repo Contracts"; the contract source is [`phase-q-pyve-toolchain-hosting.md`](phase-q-pyve-toolchain-hosting.md). The architectural invariants future LLMs must respect:
|