napkinstack 0.34.3__tar.gz → 0.34.4__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.
Files changed (41) hide show
  1. {napkinstack-0.34.3 → napkinstack-0.34.4}/PKG-INFO +4 -4
  2. {napkinstack-0.34.3 → napkinstack-0.34.4}/README.md +3 -3
  3. {napkinstack-0.34.3 → napkinstack-0.34.4}/pyproject.toml +1 -1
  4. {napkinstack-0.34.3 → napkinstack-0.34.4}/pyproject.toml.orig +1 -1
  5. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/pull_request.py +9 -3
  6. {napkinstack-0.34.3 → napkinstack-0.34.4}/LICENSE +0 -0
  7. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/__init__.py +0 -0
  8. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/__main__.py +0 -0
  9. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/agent.py +0 -0
  10. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/assurance.py +0 -0
  11. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/attest.py +0 -0
  12. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/board.py +0 -0
  13. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/cli.py +0 -0
  14. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/compat.py +0 -0
  15. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/discovery.py +0 -0
  16. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/doctor.py +0 -0
  17. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/evidence.py +0 -0
  18. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/fitness/__init__.py +0 -0
  19. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/fitness/boundaries.py +0 -0
  20. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/fitness/hygiene.py +0 -0
  21. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/fitness/manifests.py +0 -0
  22. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/fitness/plan.py +0 -0
  23. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/fitness/pr_scope.py +0 -0
  24. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/hold.py +0 -0
  25. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/landed.py +0 -0
  26. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/modules.py +0 -0
  27. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/owners.py +0 -0
  28. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/project.py +0 -0
  29. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/provenance.py +0 -0
  30. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/settings.py +0 -0
  31. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/skills.py +0 -0
  32. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/templates/contracts/AGENTS.md +0 -0
  33. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/templates/contracts/MANIFEST.yaml +0 -0
  34. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/templates/contracts/README.md +0 -0
  35. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/templates/contracts/docs/runbook.md +0 -0
  36. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/templates/contracts/tests/.gitkeep +0 -0
  37. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/templates/module/AGENTS.md +0 -0
  38. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/templates/module/MANIFEST.yaml +0 -0
  39. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/templates/module/README.md +0 -0
  40. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/templates/module/src/.gitkeep +0 -0
  41. {napkinstack-0.34.3 → napkinstack-0.34.4}/src/napkinstack/templates/module/tests/.gitkeep +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: napkinstack
3
- Version: 0.34.3
3
+ Version: 0.34.4
4
4
  Summary: Engineering framework for several teams and their agents working in one repository: modules, contracts, guardrails in CI.
5
5
  License-Expression: MIT
6
6
  License-File: LICENSE
@@ -22,7 +22,7 @@ modules, contracts, guardrails in CI. On the Django or Rails model, one command
22
22
  the project, which then receives new versions on demand; no application stack is imposed.
23
23
  Positioning and vocabulary: [`PRODUCT.md`](PRODUCT.md) §1.
24
24
 
25
- > **Status: v0.34.3, published** on [PyPI](https://pypi.org/project/napkinstack/).
25
+ > **Status: v0.34.4, published** on [PyPI](https://pypi.org/project/napkinstack/).
26
26
  > What each version changes, engine and project apart: [`CHANGELOG.md`](CHANGELOG.md).
27
27
  > What is open: [`docs/governance/workstreams.md`](docs/governance/workstreams.md).
28
28
 
@@ -86,8 +86,8 @@ To try it without installing anything, or to install it from this repository ins
86
86
  registry — always pinned to a release tag:
87
87
 
88
88
  ```bash
89
- uvx --from "git+https://github.com/NapkinStack/engineering-os@v0.34.3" nstack init my-project
90
- uv tool install "napkinstack @ git+https://github.com/NapkinStack/engineering-os@v0.34.3"
89
+ uvx --from "git+https://github.com/NapkinStack/engineering-os@v0.34.4" nstack init my-project
90
+ uv tool install "napkinstack @ git+https://github.com/NapkinStack/engineering-os@v0.34.4"
91
91
  ```
92
92
 
93
93
  **Two channels, one published artefact.** The registry publishes: the PyPI artefact of a
@@ -5,7 +5,7 @@ modules, contracts, guardrails in CI. On the Django or Rails model, one command
5
5
  the project, which then receives new versions on demand; no application stack is imposed.
6
6
  Positioning and vocabulary: [`PRODUCT.md`](PRODUCT.md) §1.
7
7
 
8
- > **Status: v0.34.3, published** on [PyPI](https://pypi.org/project/napkinstack/).
8
+ > **Status: v0.34.4, published** on [PyPI](https://pypi.org/project/napkinstack/).
9
9
  > What each version changes, engine and project apart: [`CHANGELOG.md`](CHANGELOG.md).
10
10
  > What is open: [`docs/governance/workstreams.md`](docs/governance/workstreams.md).
11
11
 
@@ -69,8 +69,8 @@ To try it without installing anything, or to install it from this repository ins
69
69
  registry — always pinned to a release tag:
70
70
 
71
71
  ```bash
72
- uvx --from "git+https://github.com/NapkinStack/engineering-os@v0.34.3" nstack init my-project
73
- uv tool install "napkinstack @ git+https://github.com/NapkinStack/engineering-os@v0.34.3"
72
+ uvx --from "git+https://github.com/NapkinStack/engineering-os@v0.34.4" nstack init my-project
73
+ uv tool install "napkinstack @ git+https://github.com/NapkinStack/engineering-os@v0.34.4"
74
74
  ```
75
75
 
76
76
  **Two channels, one published artefact.** The registry publishes: the PyPI artefact of a
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "napkinstack"
3
- version = "0.34.3"
3
+ version = "0.34.4"
4
4
  description = "Engineering framework for several teams and their agents working in one repository: modules, contracts, guardrails in CI."
5
5
  requires-python = ">=3.12"
6
6
  license = "MIT"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "napkinstack"
3
- version = "0.34.3"
3
+ version = "0.34.4"
4
4
  description = "Engineering framework for several teams and their agents working in one repository: modules, contracts, guardrails in CI."
5
5
  requires-python = ">=3.12"
6
6
  license = "MIT"
@@ -715,6 +715,10 @@ def recorded_rows(root: Path, fork: str, head: str) -> list[tuple[str, str, dict
715
715
  return found
716
716
 
717
717
 
718
+ # A removal said (#485): `Removed: S3, S4 — <why>`, on a line of its own; with no reason it says nothing.
719
+ REMOVED = re.compile(r"^\s*Removed:\s*([^\s—–-][^—–]*?)\s+[—–-]\s+\S", re.MULTILINE)
720
+
721
+
718
722
  def check_moved(body: str, recorded: list[tuple[str, str, dict]], fail: Fail, warn: Callable[[str], None],
719
723
  same_files: Callable[[str, str], bool] = lambda one, other: False,
720
724
  before_it: Callable[[str, str], bool] = lambda older, newer: False) -> None:
@@ -744,11 +748,13 @@ def check_moved(body: str, recorded: list[tuple[str, str, dict]], fail: Fail, wa
744
748
  "evidence unchanged: nothing shows it was explored again.\n"
745
749
  f" Action: the verifier explores it at the head and links that run's own evidence — or puts "
746
750
  f"{before['commit'][:7]} back and confirms the head in the Confirmed column.")
747
- gone = sorted({was["#"] for _, _, was in recorded if was["#"] not in now and was.get("result") in {"passed", "failed"}})
751
+ said = {ident.strip() for found in REMOVED.finditer(body) for ident in found.group(1).split(",")}
752
+ gone = sorted({was["#"] for _, _, was in recorded
753
+ if was["#"] not in now and was["#"] not in said and was.get("result") in {"passed", "failed"}})
748
754
  if gone:
749
755
  warn(f"[T5] scenario(s) {', '.join(gone)} were in the sheet a record of this pull request read, and are "
750
- "gone from it.\n Action: a scenario leaves the sheet by the decider's call, said in the "
751
- "description; restore it from the description's history otherwise.")
756
+ "gone from it.\n Action: say why under the sheet — a line `Removed: <ids> — <why>` — for the "
757
+ "approver to judge; restore it from the description's history otherwise.")
752
758
 
753
759
 
754
760
  def _pull_labels(root: Path, head: str) -> tuple[int, set[str]] | str | None:
File without changes