repopact 3.1.1__tar.gz → 3.1.2__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.

Potentially problematic release.


This version of repopact might be problematic. Click here for more details.

Files changed (149) hide show
  1. {repopact-3.1.1 → repopact-3.1.2}/PKG-INFO +117 -24
  2. {repopact-3.1.1 → repopact-3.1.2}/README.md +116 -23
  3. repopact-3.1.2/VERSION +1 -0
  4. {repopact-3.1.1 → repopact-3.1.2}/pyproject.toml +1 -1
  5. {repopact-3.1.1 → repopact-3.1.2}/repopact/cli.py +8 -0
  6. {repopact-3.1.1 → repopact-3.1.2}/repopact/dev_fixtures.py +24 -0
  7. {repopact-3.1.1 → repopact-3.1.2}/repopact/legacy_validate.py +4 -3
  8. {repopact-3.1.1 → repopact-3.1.2}/repopact/validate_repo.py +24 -1
  9. repopact-3.1.1/VERSION +0 -1
  10. {repopact-3.1.1 → repopact-3.1.2}/LICENSE +0 -0
  11. {repopact-3.1.1 → repopact-3.1.2}/repopact/AGENTS.md +0 -0
  12. {repopact-3.1.1 → repopact-3.1.2}/repopact/__init__.py +0 -0
  13. {repopact-3.1.1 → repopact-3.1.2}/repopact/_audit/README.md +0 -0
  14. {repopact-3.1.1 → repopact-3.1.2}/repopact/_audit/alignment-report.md +0 -0
  15. {repopact-3.1.1 → repopact-3.1.2}/repopact/_audit/inventory.md +0 -0
  16. {repopact-3.1.1 → repopact-3.1.2}/repopact/adapters.py +0 -0
  17. {repopact-3.1.1 → repopact-3.1.2}/repopact/admission.py +0 -0
  18. {repopact-3.1.1 → repopact-3.1.2}/repopact/admission_conformance.py +0 -0
  19. {repopact-3.1.1 → repopact-3.1.2}/repopact/adopt_repo.py +0 -0
  20. {repopact-3.1.1 → repopact-3.1.2}/repopact/check_frozen_surface.py +0 -0
  21. {repopact-3.1.1 → repopact-3.1.2}/repopact/confinement.py +0 -0
  22. {repopact-3.1.1 → repopact-3.1.2}/repopact/doctor.py +0 -0
  23. {repopact-3.1.1 → repopact-3.1.2}/repopact/enforcement.py +0 -0
  24. {repopact-3.1.1 → repopact-3.1.2}/repopact/engine_client.py +0 -0
  25. {repopact-3.1.1 → repopact-3.1.2}/repopact/fleet_verify.py +0 -0
  26. {repopact-3.1.1 → repopact-3.1.2}/repopact/frontmatter.py +0 -0
  27. {repopact-3.1.1 → repopact-3.1.2}/repopact/generate_dashboard.py +0 -0
  28. {repopact-3.1.1 → repopact-3.1.2}/repopact/generate_spec.py +0 -0
  29. {repopact-3.1.1 → repopact-3.1.2}/repopact/graph_cli.py +0 -0
  30. {repopact-3.1.1 → repopact-3.1.2}/repopact/guard.py +0 -0
  31. {repopact-3.1.1 → repopact-3.1.2}/repopact/guard_ipc.py +0 -0
  32. {repopact-3.1.1 → repopact-3.1.2}/repopact/init_repo.py +0 -0
  33. {repopact-3.1.1 → repopact-3.1.2}/repopact/new.py +0 -0
  34. {repopact-3.1.1 → repopact-3.1.2}/repopact/package_version.py +0 -0
  35. {repopact-3.1.1 → repopact-3.1.2}/repopact/plan_import.py +0 -0
  36. {repopact-3.1.1 → repopact-3.1.2}/repopact/platform_backends.py +0 -0
  37. {repopact-3.1.1 → repopact-3.1.2}/repopact/release_build.py +0 -0
  38. {repopact-3.1.1 → repopact-3.1.2}/repopact/release_local.py +0 -0
  39. {repopact-3.1.1 → repopact-3.1.2}/repopact/repo_model.py +0 -0
  40. {repopact-3.1.1 → repopact-3.1.2}/repopact/run_admission_platform_conformance.py +0 -0
  41. {repopact-3.1.1 → repopact-3.1.2}/repopact/run_conformance.py +0 -0
  42. {repopact-3.1.1 → repopact-3.1.2}/repopact/schemas/adapter-capabilities.schema.json +0 -0
  43. {repopact-3.1.1 → repopact-3.1.2}/repopact/schemas/admission-policy.schema.json +0 -0
  44. {repopact-3.1.1 → repopact-3.1.2}/repopact/schemas/adopter-fleet.schema.json +0 -0
  45. {repopact-3.1.1 → repopact-3.1.2}/repopact/schemas/assurance-mapping.schema.json +0 -0
  46. {repopact-3.1.1 → repopact-3.1.2}/repopact/schemas/audit-finding.schema.json +0 -0
  47. {repopact-3.1.1 → repopact-3.1.2}/repopact/schemas/authorization-receipt.schema.json +0 -0
  48. {repopact-3.1.1 → repopact-3.1.2}/repopact/schemas/authorization-request.schema.json +0 -0
  49. {repopact-3.1.1 → repopact-3.1.2}/repopact/schemas/conformance-manifest.schema.json +0 -0
  50. {repopact-3.1.1 → repopact-3.1.2}/repopact/schemas/evidence-run.schema.json +0 -0
  51. {repopact-3.1.1 → repopact-3.1.2}/repopact/schemas/frozen-surface.schema.json +0 -0
  52. {repopact-3.1.1 → repopact-3.1.2}/repopact/schemas/invariants.schema.json +0 -0
  53. {repopact-3.1.1 → repopact-3.1.2}/repopact/schemas/operator-authority.schema.json +0 -0
  54. {repopact-3.1.1 → repopact-3.1.2}/repopact/schemas/record-frontmatter.schema.json +0 -0
  55. {repopact-3.1.1 → repopact-3.1.2}/repopact/schemas/repository-registration.schema.json +0 -0
  56. {repopact-3.1.1 → repopact-3.1.2}/repopact/schemas/rog-capability.schema.json +0 -0
  57. {repopact-3.1.1 → repopact-3.1.2}/repopact/schemas/verification-profile.schema.json +0 -0
  58. {repopact-3.1.1 → repopact-3.1.2}/repopact/schemas/work-item.schema.json +0 -0
  59. {repopact-3.1.1 → repopact-3.1.2}/repopact/takeover.py +0 -0
  60. {repopact-3.1.1 → repopact-3.1.2}/repopact/templates/README.md +0 -0
  61. {repopact-3.1.1 → repopact-3.1.2}/repopact/templates/admission-policy.json +0 -0
  62. {repopact-3.1.1 → repopact-3.1.2}/repopact/templates/decision.md +0 -0
  63. {repopact-3.1.1 → repopact-3.1.2}/repopact/templates/evidence-run.json +0 -0
  64. {repopact-3.1.1 → repopact-3.1.2}/repopact/templates/policy.md +0 -0
  65. {repopact-3.1.1 → repopact-3.1.2}/repopact/templates/work-item.README.md +0 -0
  66. {repopact-3.1.1 → repopact-3.1.2}/repopact/templates/work-item.json +0 -0
  67. {repopact-3.1.1 → repopact-3.1.2}/repopact/track_import.py +0 -0
  68. {repopact-3.1.1 → repopact-3.1.2}/repopact/unix_guard_service.py +0 -0
  69. {repopact-3.1.1 → repopact-3.1.2}/repopact/validate_research.py +0 -0
  70. {repopact-3.1.1 → repopact-3.1.2}/repopact/validate_verification.py +0 -0
  71. {repopact-3.1.1 → repopact-3.1.2}/repopact/verification.py +0 -0
  72. {repopact-3.1.1 → repopact-3.1.2}/repopact/verify_cli.py +0 -0
  73. {repopact-3.1.1 → repopact-3.1.2}/repopact/verify_status.py +0 -0
  74. {repopact-3.1.1 → repopact-3.1.2}/repopact/windows_guard_service.py +0 -0
  75. {repopact-3.1.1 → repopact-3.1.2}/rust/Cargo.lock +0 -0
  76. {repopact-3.1.1 → repopact-3.1.2}/rust/Cargo.toml +0 -0
  77. {repopact-3.1.1 → repopact-3.1.2}/rust/apps/repopact-engine/Cargo.toml +0 -0
  78. {repopact-3.1.1 → repopact-3.1.2}/rust/apps/repopact-engine/build.rs +0 -0
  79. {repopact-3.1.1 → repopact-3.1.2}/rust/apps/repopact-engine/src/bin/repopact.rs +0 -0
  80. {repopact-3.1.1 → repopact-3.1.2}/rust/apps/repopact-engine/src/main.rs +0 -0
  81. {repopact-3.1.1 → repopact-3.1.2}/rust/apps/repopact-engine/src/query_ops.rs +0 -0
  82. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-analysis/Cargo.toml +0 -0
  83. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-analysis/src/lib.rs +0 -0
  84. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-core/Cargo.toml +0 -0
  85. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-core/src/lib.rs +0 -0
  86. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/Cargo.toml +0 -0
  87. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/authority_boundary_tests.rs +0 -0
  88. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/bin/rog-benchmark.rs +0 -0
  89. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/capability.rs +0 -0
  90. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/clean_clone_tests.rs +0 -0
  91. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/durable.rs +0 -0
  92. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/incremental.rs +0 -0
  93. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/lib.rs +0 -0
  94. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/merge_reconcile.rs +0 -0
  95. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/metadata/json_adapter.rs +0 -0
  96. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/metadata/markdown_adapter.rs +0 -0
  97. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/metadata/mod.rs +0 -0
  98. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/metadata/policy.rs +0 -0
  99. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/metadata/toml_adapter.rs +0 -0
  100. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/metadata/yaml_adapter.rs +0 -0
  101. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/overlay.rs +0 -0
  102. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/physical.rs +0 -0
  103. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/projection.rs +0 -0
  104. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/query/bounds.rs +0 -0
  105. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/query/cursor.rs +0 -0
  106. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/query/dto.rs +0 -0
  107. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/query/engine.rs +0 -0
  108. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/query/index.rs +0 -0
  109. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/query/mod.rs +0 -0
  110. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/query/open.rs +0 -0
  111. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/query/resolve.rs +0 -0
  112. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/query/selector.rs +0 -0
  113. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/query/tests.rs +0 -0
  114. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/semantic/javascript_adapter.rs +0 -0
  115. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/semantic/mod.rs +0 -0
  116. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/semantic/operational.rs +0 -0
  117. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/semantic/python_adapter.rs +0 -0
  118. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/semantic/rust_adapter.rs +0 -0
  119. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/status.rs +0 -0
  120. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/src/validate.rs +0 -0
  121. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-graph/tests/no_network_dependency_audit.rs +0 -0
  122. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-mutation/Cargo.toml +0 -0
  123. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-mutation/src/lib.rs +0 -0
  124. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-mutation/tests/fixtures/edit/after/work-item.json +0 -0
  125. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-mutation/tests/fixtures/edit/before/work-item.json +0 -0
  126. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-mutation/tests/fixtures/transition/after/work/active/001-reopen/README.md +0 -0
  127. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-mutation/tests/fixtures/transition/after/work/active/001-reopen/history.md +0 -0
  128. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-mutation/tests/fixtures/transition/after/work/active/001-reopen/work-item.json +0 -0
  129. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-mutation/tests/fixtures/transition/before/work/completed/001-reopen/README.md +0 -0
  130. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-mutation/tests/fixtures/transition/before/work/completed/001-reopen/history.md +0 -0
  131. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-mutation/tests/fixtures/transition/before/work/completed/001-reopen/work-item.json +0 -0
  132. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-mutation/tests/remote_provider_governance_boundary.rs +0 -0
  133. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-mutation/tests/verification_post_validation.rs +0 -0
  134. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-protocol/Cargo.toml +0 -0
  135. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-protocol/src/lib.rs +0 -0
  136. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-repository/Cargo.toml +0 -0
  137. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-repository/src/git.rs +0 -0
  138. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-repository/src/lib.rs +0 -0
  139. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-schema/Cargo.toml +0 -0
  140. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-schema/src/lib.rs +0 -0
  141. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-types/Cargo.toml +0 -0
  142. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-types/src/lib.rs +0 -0
  143. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-validation/Cargo.toml +0 -0
  144. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-validation/src/adopters.rs +0 -0
  145. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-validation/src/assurance.rs +0 -0
  146. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-validation/src/graph.rs +0 -0
  147. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-validation/src/lib.rs +0 -0
  148. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-validation/src/research.rs +0 -0
  149. {repopact-3.1.1 → repopact-3.1.2}/rust/crates/repopact-validation/src/verification.rs +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: repopact
3
- Version: 3.1.1
3
+ Version: 3.1.2
4
4
  Requires-Dist: jsonschema>=4.20
5
5
  Requires-Dist: maturin>=1.15,<2 ; extra == 'dev'
6
6
  Requires-Dist: pytest>=8 ; extra == 'dev'
@@ -19,21 +19,71 @@ Project-URL: Repository, https://github.com/ForgeWireLabs/repopact
19
19
 
20
20
  # RepoPact
21
21
 
22
- **Durable engineering state for humans and AI agents.**
22
+ **Repository-native governance for durable human-agent software engineering.**
23
23
 
24
- AI coding tools can change software faster than teams can preserve the context around those changes. Intent, decisions, authority, acceptance criteria, evidence, constraints, and unfinished work often live in chat histories, agent memory, issue trackers, local tooling, or one person's head.
24
+ AI coding tools can change software faster than teams can preserve the governing context around those changes. Intent, decisions, authority, acceptance criteria, evidence, constraints, and unfinished work often live in chat histories, agent memory, issue trackers, local tooling, or one person's head.
25
25
 
26
26
  RepoPact makes that load-bearing engineering state part of the repository itself.
27
27
 
28
- It is a **repository-native governance system for durable human-agent software engineering**. A fresh human or agent can clone a repository and recover not only the source tree, but also the represented work state, authority boundaries, invariants, decisions, evidence, provenance, and known violations needed to continue responsibly.
28
+ A fresh human or agent can clone a governed repository and recover not only the source tree, but also the represented work state, authority boundaries, invariants, decisions, evidence, provenance, and known violations needed to continue responsibly.
29
29
 
30
30
  > **The repository is the pact.**
31
31
  >
32
- > The repository becomes the rendezvous point between humans and agents.
32
+ > Humans, agents, and tools rendezvous through durable repository state rather than relying on one session or vendor to remember the project correctly.
33
33
 
34
- `pip install repopact` · Apache-2.0 · stable release **3.1.1** ([changelog](decisions/0063-release-repopact-3-1-1-sdist-license-file-corrective.md))
34
+ `pip install repopact` · Apache-2.0 · stable release **3.1.2** ([changelog](decisions/0064-release-repopact-3-1-2-post-3-1-1-validation-corrective.md))
35
35
 
36
- [Paper draft](research/paper.md) · [Formal model](research/formal-model.md) · [Conformance](CONFORMANCE.md) · [Research protocol](research/protocol.md)
36
+ > [!IMPORTANT]
37
+ > **GitHub Releases is not currently the authoritative source for the latest RepoPact package.** GitHub's **Latest Release** entry is out of date and may show an older version.
38
+ >
39
+ > **PyPI is the authoritative source for the latest stable RepoPact CLI/headless package.** `pip install --upgrade repopact` installs the Python command/compatibility surface **and** the platform-native canonical `repopact-engine` Rust executable. PyPI does **not** currently distribute the Tauri Workbench GUI, Android application, or the rest of the repository's development/research surfaces.
40
+ >
41
+ > To get the **full RepoPact source tree**, including the Workbench, mobile code, research, governance records, and development/reference surfaces, clone this repository. Use the `v3.1.2` tag when you want source aligned with the current stable PyPI release, or `main` when you want the newest development state.
42
+
43
+ ### Get the full project
44
+
45
+ Stable source matching PyPI 3.1.2:
46
+
47
+ ```bash
48
+ git clone --branch v3.1.2 --depth 1 https://github.com/ForgeWireLabs/repopact.git
49
+ cd repopact
50
+ ```
51
+
52
+ Newest development tree:
53
+
54
+ ```bash
55
+ git clone https://github.com/ForgeWireLabs/repopact.git
56
+ cd repopact
57
+ ```
58
+
59
+ Build or run the desktop Workbench from the source checkout:
60
+
61
+ ```bash
62
+ cd rust/apps/repopact-desktop
63
+ npm ci
64
+ npm run tauri -- dev
65
+ ```
66
+
67
+ Build a native desktop bundle/installable artifact:
68
+
69
+ ```bash
70
+ npm run tauri -- build
71
+ ```
72
+
73
+ The Workbench build requires Node/npm, Rust/Cargo, and the normal Tauri 2 platform prerequisites for your operating system. Optional GitHub remote-auth integration has additional build-time registration described in [`docs/guides/github-app-setup.md`](docs/guides/github-app-setup.md).
74
+
75
+ Android uses the same Tauri application after the Android SDK/NDK, JDK, Rust Android targets, and Tauri mobile prerequisites are installed:
76
+
77
+ ```bash
78
+ cd rust/apps/repopact-desktop
79
+ npm ci
80
+ npx tauri android dev
81
+ npx tauri android build
82
+ ```
83
+
84
+ Native bring-up/operator evidence currently exists for **Windows, Linux, and Android**. macOS and iOS remain intended targets but do not yet have equivalent native validation evidence.
85
+
86
+ [Documentation](docs/README.md) · [Paper draft](research/paper.md) · [Formal model](research/formal-model.md) · [Conformance](CONFORMANCE.md) · [Research protocol](research/protocol.md)
37
87
 
38
88
  ![RepoPact turns fragmented session context into durable repository state: humans, agents, and tools rendezvous through a repository that preserves intent, authority, decisions, work state, invariants, evidence, and provenance.](docs/assets/readme/repopact-hero.svg)
39
89
 
@@ -54,14 +104,14 @@ RepoPact treats that as a software-engineering problem, not just a memory proble
54
104
  | "Done" means an agent said it was done | Acceptance criteria can require linked evidence before completion |
55
105
  | Authority is implicit or scattered | Roles, scopes, frozen surfaces, invariants, and optional admission policy make boundaries explicit |
56
106
  | Brownfield reconstruction is uncertain | Provenance distinguishes `concrete`, `provisional`, and `inferred` state |
57
- | Generated views drift from source records | Dashboard and derived specification blocks are regenerated and validated |
58
- | Verification is tied to one hosted provider | Repository-defined local verification is canonical on current development `main`; hosted CI/CD is optional |
107
+ | Generated views drift from source records | Dashboard and other derived projections are regenerated and validated |
108
+ | Verification is tied to one hosted provider | Repository-defined local verification is canonical; hosted CI/CD is optional |
59
109
 
60
110
  The goal is not to slow AI-assisted development back down. The goal is to make higher implementation throughput **inspectable, recoverable, and sustainable across humans, agents, machines, providers, and sessions**.
61
111
 
62
112
  ## 30-second start
63
113
 
64
- The stable 3.1.1 package creates or adopts governed repository state, runs the canonical validator, and exposes the repository-defined local verification and release surfaces.
114
+ The stable 3.1.2 package creates or adopts governed repository state, runs the canonical validator, and exposes repository-defined local verification and release surfaces.
65
115
 
66
116
  ```powershell
67
117
  pip install repopact
@@ -87,7 +137,9 @@ repopact adopt --target ../existing-repo
87
137
  repopact doctor
88
138
  ```
89
139
 
90
- RepoPact does not require a particular model, agent framework, editor, or cloud provider.
140
+ RepoPact does not require a particular model, coding agent, agent framework, editor, CI vendor, or cloud provider.
141
+
142
+ For the next step, use the [documentation map](docs/README.md): **Use RepoPact**, **Understand RepoPact**, **Integrate RepoPact**, or **Develop RepoPact**.
91
143
 
92
144
  ## How the pact works
93
145
 
@@ -110,9 +162,36 @@ A work item is a narrative `README.md` plus machine-readable `work-item.json`. E
110
162
 
111
163
  RepoPact's distinguishing primitive is the **binding invariant**: a declared guarantee coupled to rationale, escalation, and, where logically possible, an enforcer. The invariant is the thing a later worker must not silently weaken.
112
164
 
165
+ ## Authority: source records vs derived views
166
+
167
+ RepoPact deliberately separates authority from convenience.
168
+
169
+ Authoritative project state comes from the governed source records and repository state that own a fact: `governance/`, `work/`, `decisions/`, `evidence/`, source code, and explicitly governed configuration. Different record types own different kinds of truth.
170
+
171
+ The dashboard, Repository Orientation Graph (ROG), Workbench views, generated specification blocks, indexes, and similar read models are **derived**. They can make the repository dramatically easier to inspect and operate, but they do not gain authority merely because they are easier to query.
172
+
173
+ If a derived view conflicts with the source records it projects, the derived view is stale or wrong and must be regenerated or reconciled.
174
+
175
+ ## Enforcement is a ladder, not a boolean
176
+
177
+ RepoPact does not describe every integration as simply "enforced" or "not enforced." The assurance class must match the boundary that actually exists.
178
+
179
+ | Class | What it means |
180
+ | --- | --- |
181
+ | `instruction-only` | Durable rules and state exist, but no pre-execution host boundary is claimed. |
182
+ | `session-start` | A covered integration gates creation or start of a session/child process. |
183
+ | `pre-action` | A covered mutation is checked before its callback or action begins. |
184
+ | `sandbox/process-enforced` | A real OS-backed boundary constrains the launched process tree for the capability being claimed. |
185
+
186
+ The portable reference baseline for RepoPact's optional admission plane is `pre-action`. That is a real pre-execution guarantee for covered actions, but it does **not** imply arbitrary-process filesystem confinement.
187
+
188
+ A higher `sandbox/process-enforced` class requires independent native proof of the operating-system boundary. The Linux Landlock work demonstrates the intended distinction, while remaining platform/reference work is tracked separately. RepoPact never silently upgrades a weaker adapter into a stronger assurance claim.
189
+
190
+ See [Pre-execution admission](docs/guides/pre-execution-admission.md) and [decision 0060](decisions/0060-optional-sandbox-process-enforced-reference-confinement.md).
191
+
113
192
  ## The Workbench
114
193
 
115
- RepoPact is not intended to be a JSON-editing exercise for human operators. The repository also contains a **Tauri 2 Workbench** that presents the same governed state through a human-facing interface while the Rust semantic engine remains the authority.
194
+ RepoPact is not intended to be a JSON-editing exercise for human operators. The repository also contains a **Tauri 2 Workbench** that presents governed state through a human-facing interface while the Rust semantic engine remains the semantic authority.
116
195
 
117
196
  The Workbench supports repository selection, inspection, work-item views, typed create/edit/lifecycle operations, validation, graph-backed repository views, plan/preview/apply mutation flow, refresh, and stale-plan/session rejection.
118
197
 
@@ -122,13 +201,15 @@ Workbench source: [`rust/apps/repopact-desktop/`](rust/apps/repopact-desktop/)
122
201
 
123
202
  ![RepoPact Workbench on Windows showing the validated Work lifecycle view with proposed, active, deferred, and complete counts, a blocked record, active work, and the selected repository session.](docs/assets/readme/workbench-governance.jpg)
124
203
 
125
- *Launch-readiness Workbench capture: a real validated repository session, not an empty shell. The screenshot is a capture-time view of the implementation and is not a claim that Workbench installers or Android artifacts are part of the stable PyPI 3.1.1 package contract.*
204
+ *The screenshot is a capture-time view of the implementation. It is not a claim that Workbench installers or Android artifacts are part of the stable PyPI 3.1.2 package contract.*
126
205
 
127
206
  ## Use it with `AGENTS.md`, `CLAUDE.md`, and coding agents
128
207
 
129
- RepoPact does not replace instruction files. It gives them a durable governance layer to meet in.
208
+ RepoPact is not `AGENTS.md++`, and it does not replace instruction files.
209
+
210
+ `AGENTS.md`, `CLAUDE.md`, editor rules, skills, and system prompts tell an agent how it should behave. RepoPact records the durable project state around that behavior and validates, and where the relevant boundary exists can enforce, whether the repository still respects its declared contract.
130
211
 
131
- `AGENTS.md`, `CLAUDE.md`, editor rules, and system prompts tell an agent how it should behave. RepoPact records the durable project state around that behavior and validates, and where enforceable can enforce, whether the repository still respects its declared contract.
212
+ Instruction files can participate in the pact. They are not the whole governance substrate.
132
213
 
133
214
  That distinction matters when work moves between Claude, Codex, ChatGPT, local models, human developers, or future tools. The next worker should not need the previous worker's private conversation in order to recover the represented engineering state.
134
215
 
@@ -148,9 +229,9 @@ See [decision 0021](decisions/0021-preflight-mandatory-and-provenance.md) and th
148
229
 
149
230
  ## Local-first verification and release
150
231
 
151
- RepoPact is moving CI/CD semantics into the repository instead of making a hosted provider the source of truth.
232
+ RepoPact keeps verification semantics in the repository instead of making a hosted provider the source of truth.
152
233
 
153
- Current development `main` includes WI046's completed repository-defined verification profiles and local release operations:
234
+ The stable 3.1.2 package includes repository-defined verification profiles and local release operations:
154
235
 
155
236
  ```powershell
156
237
  repopact verify quick
@@ -166,10 +247,18 @@ GitHub Actions is an **optional hosted adapter**, disabled by default. Hosted va
166
247
 
167
248
  Verification, artifact construction, inspection, and publication remain separate operations. Publication requires explicit operator intent and credentials supplied outside the repository.
168
249
 
169
- This local-first architecture was completed under [WI046](work/completed/046-runner-neutral-verification-and-admission-checkpoint-architecture/) and is included in the stable 3.1.1 Python/Rust package surface. Workbench, Android, and active research surfaces retain their own validation boundaries and are not silently folded into the PyPI artifact contract.
250
+ This local-first architecture was completed under [WI046](work/completed/046-runner-neutral-verification-and-admission-checkpoint-architecture/). Workbench, mobile applications, active research surfaces, and stronger platform-specific enforcement retain their own validation and packaging boundaries rather than being silently folded into the PyPI artifact contract.
170
251
 
171
252
  See [`docs/guides/local-ci-cd.md`](docs/guides/local-ci-cd.md).
172
253
 
254
+ ## Repository Orientation Graph
255
+
256
+ The optional **Repository Orientation Graph (ROG)** is a bounded, versioned, derived representation used for orientation, impact, dependency, test, and governance queries.
257
+
258
+ The graph can be durable and incrementally maintained without becoming a second source of truth. Repository and governance records remain authoritative; graph freshness, coverage, and excluded boundaries are explicit. If the graph and authoritative source disagree, rebuild or reconcile the graph.
259
+
260
+ See [`docs/repository-orientation-graph.md`](docs/repository-orientation-graph.md). WI063 remains the governing work record for unfinished graph evaluation and closeout obligations.
261
+
173
262
  ## Research, evidence, and falsifiability
174
263
 
175
264
  RepoPact is both a working tool and an ongoing software-engineering research project. The research program is deliberately set up so the claims can fail.
@@ -183,30 +272,34 @@ The repository includes:
183
272
  - a machine-checkable [conformance suite](CONFORMANCE.md);
184
273
  - the public [RepoPact Proving Ground](https://github.com/ForgeWireLabs/repopact-proving-ground), where runnable PactBench work is exercised against a real adopter.
185
274
 
186
- Comparative cross-model results are still forthcoming. They will be reported whether they support or challenge the current claims.
275
+ Comparative cross-model results remain separate from the existence of benchmark infrastructure. They are reported only when the corresponding runs and evidence exist.
187
276
 
188
277
  > RepoPact defines the pact. The Proving Ground tests whether the pact holds under agent pressure.
189
278
 
190
279
  ## What RepoPact is not
191
280
 
192
- RepoPact is not an AI agent, model provider, chat-memory store, general-purpose issue tracker, hosted CI service, or runtime sandbox. It does not try to replace Git, compilers, test frameworks, agent runtimes, or authorization systems.
281
+ RepoPact is not an AI agent, model provider, agent runtime, distributed compute fabric, chat-memory store, general-purpose issue tracker, hosted CI service, IDE, or general-purpose sandbox.
282
+
283
+ It does not try to replace Git, compilers, test frameworks, agent orchestrators, operating-system security boundaries, or external authorization systems.
193
284
 
194
285
  It is the **durable governance layer** those systems can share.
195
286
 
196
- For stronger runtime authority, RepoPact also contains an optional protected admission plane under active development. Ordinary repositories do not need that privileged layer in order to use RepoPact's core governance model.
287
+ Optional admission and protected-execution integrations can consume RepoPact authority and enforce a covered boundary, but those integrations do not become a second work ledger or a new source of project truth.
197
288
 
198
289
  ## Deeper technical references
199
290
 
200
- - [`SPEC.md`](SPEC.md): repository model and machine-enforced rules
291
+ - [`docs/README.md`](docs/README.md): audience-oriented documentation map
292
+ - [`SPEC.md`](SPEC.md): normative repository model and machine-enforced rules
201
293
  - [`CONFORMANCE.md`](CONFORMANCE.md): implementation-independent conformance contract
202
294
  - [`governance/charter.md`](governance/charter.md): principles and non-goals
203
295
  - [`governance/workflow.md`](governance/workflow.md): repository workflow
204
- - [`docs/repository-orientation-graph.md`](docs/repository-orientation-graph.md): the optional Repository Orientation Graph (ROG) — enable/disable, query, Workbench operator map, and its authority boundary
296
+ - [`docs/repository-orientation-graph.md`](docs/repository-orientation-graph.md): optional derived Repository Orientation Graph
297
+ - [`docs/guides/pre-execution-admission.md`](docs/guides/pre-execution-admission.md): optional enforcement/admission integration
205
298
  - [`decisions/`](decisions/): durable architecture and policy decisions
206
299
  - [`research/`](research/): formal model, protocols, findings, and paper
207
300
  - [`work/`](work/): the project's own RepoPact-governed work ledger
208
301
 
209
- The default conformance path exercises the canonical Rust semantic engine. The historical Python validator remains an explicit comparator rather than a second product authority.
302
+ The default conformance path exercises the canonical Rust semantic engine. The historical Python validator remains an explicit comparator/compatibility surface rather than a second product authority.
210
303
 
211
304
  ## ForgeWire Labs
212
305
 
@@ -1,20 +1,70 @@
1
1
  # RepoPact
2
2
 
3
- **Durable engineering state for humans and AI agents.**
3
+ **Repository-native governance for durable human-agent software engineering.**
4
4
 
5
- AI coding tools can change software faster than teams can preserve the context around those changes. Intent, decisions, authority, acceptance criteria, evidence, constraints, and unfinished work often live in chat histories, agent memory, issue trackers, local tooling, or one person's head.
5
+ AI coding tools can change software faster than teams can preserve the governing context around those changes. Intent, decisions, authority, acceptance criteria, evidence, constraints, and unfinished work often live in chat histories, agent memory, issue trackers, local tooling, or one person's head.
6
6
 
7
7
  RepoPact makes that load-bearing engineering state part of the repository itself.
8
8
 
9
- It is a **repository-native governance system for durable human-agent software engineering**. A fresh human or agent can clone a repository and recover not only the source tree, but also the represented work state, authority boundaries, invariants, decisions, evidence, provenance, and known violations needed to continue responsibly.
9
+ A fresh human or agent can clone a governed repository and recover not only the source tree, but also the represented work state, authority boundaries, invariants, decisions, evidence, provenance, and known violations needed to continue responsibly.
10
10
 
11
11
  > **The repository is the pact.**
12
12
  >
13
- > The repository becomes the rendezvous point between humans and agents.
13
+ > Humans, agents, and tools rendezvous through durable repository state rather than relying on one session or vendor to remember the project correctly.
14
14
 
15
- `pip install repopact` · Apache-2.0 · stable release **3.1.1** ([changelog](decisions/0063-release-repopact-3-1-1-sdist-license-file-corrective.md))
15
+ `pip install repopact` · Apache-2.0 · stable release **3.1.2** ([changelog](decisions/0064-release-repopact-3-1-2-post-3-1-1-validation-corrective.md))
16
16
 
17
- [Paper draft](research/paper.md) · [Formal model](research/formal-model.md) · [Conformance](CONFORMANCE.md) · [Research protocol](research/protocol.md)
17
+ > [!IMPORTANT]
18
+ > **GitHub Releases is not currently the authoritative source for the latest RepoPact package.** GitHub's **Latest Release** entry is out of date and may show an older version.
19
+ >
20
+ > **PyPI is the authoritative source for the latest stable RepoPact CLI/headless package.** `pip install --upgrade repopact` installs the Python command/compatibility surface **and** the platform-native canonical `repopact-engine` Rust executable. PyPI does **not** currently distribute the Tauri Workbench GUI, Android application, or the rest of the repository's development/research surfaces.
21
+ >
22
+ > To get the **full RepoPact source tree**, including the Workbench, mobile code, research, governance records, and development/reference surfaces, clone this repository. Use the `v3.1.2` tag when you want source aligned with the current stable PyPI release, or `main` when you want the newest development state.
23
+
24
+ ### Get the full project
25
+
26
+ Stable source matching PyPI 3.1.2:
27
+
28
+ ```bash
29
+ git clone --branch v3.1.2 --depth 1 https://github.com/ForgeWireLabs/repopact.git
30
+ cd repopact
31
+ ```
32
+
33
+ Newest development tree:
34
+
35
+ ```bash
36
+ git clone https://github.com/ForgeWireLabs/repopact.git
37
+ cd repopact
38
+ ```
39
+
40
+ Build or run the desktop Workbench from the source checkout:
41
+
42
+ ```bash
43
+ cd rust/apps/repopact-desktop
44
+ npm ci
45
+ npm run tauri -- dev
46
+ ```
47
+
48
+ Build a native desktop bundle/installable artifact:
49
+
50
+ ```bash
51
+ npm run tauri -- build
52
+ ```
53
+
54
+ The Workbench build requires Node/npm, Rust/Cargo, and the normal Tauri 2 platform prerequisites for your operating system. Optional GitHub remote-auth integration has additional build-time registration described in [`docs/guides/github-app-setup.md`](docs/guides/github-app-setup.md).
55
+
56
+ Android uses the same Tauri application after the Android SDK/NDK, JDK, Rust Android targets, and Tauri mobile prerequisites are installed:
57
+
58
+ ```bash
59
+ cd rust/apps/repopact-desktop
60
+ npm ci
61
+ npx tauri android dev
62
+ npx tauri android build
63
+ ```
64
+
65
+ Native bring-up/operator evidence currently exists for **Windows, Linux, and Android**. macOS and iOS remain intended targets but do not yet have equivalent native validation evidence.
66
+
67
+ [Documentation](docs/README.md) · [Paper draft](research/paper.md) · [Formal model](research/formal-model.md) · [Conformance](CONFORMANCE.md) · [Research protocol](research/protocol.md)
18
68
 
19
69
  ![RepoPact turns fragmented session context into durable repository state: humans, agents, and tools rendezvous through a repository that preserves intent, authority, decisions, work state, invariants, evidence, and provenance.](docs/assets/readme/repopact-hero.svg)
20
70
 
@@ -35,14 +85,14 @@ RepoPact treats that as a software-engineering problem, not just a memory proble
35
85
  | "Done" means an agent said it was done | Acceptance criteria can require linked evidence before completion |
36
86
  | Authority is implicit or scattered | Roles, scopes, frozen surfaces, invariants, and optional admission policy make boundaries explicit |
37
87
  | Brownfield reconstruction is uncertain | Provenance distinguishes `concrete`, `provisional`, and `inferred` state |
38
- | Generated views drift from source records | Dashboard and derived specification blocks are regenerated and validated |
39
- | Verification is tied to one hosted provider | Repository-defined local verification is canonical on current development `main`; hosted CI/CD is optional |
88
+ | Generated views drift from source records | Dashboard and other derived projections are regenerated and validated |
89
+ | Verification is tied to one hosted provider | Repository-defined local verification is canonical; hosted CI/CD is optional |
40
90
 
41
91
  The goal is not to slow AI-assisted development back down. The goal is to make higher implementation throughput **inspectable, recoverable, and sustainable across humans, agents, machines, providers, and sessions**.
42
92
 
43
93
  ## 30-second start
44
94
 
45
- The stable 3.1.1 package creates or adopts governed repository state, runs the canonical validator, and exposes the repository-defined local verification and release surfaces.
95
+ The stable 3.1.2 package creates or adopts governed repository state, runs the canonical validator, and exposes repository-defined local verification and release surfaces.
46
96
 
47
97
  ```powershell
48
98
  pip install repopact
@@ -68,7 +118,9 @@ repopact adopt --target ../existing-repo
68
118
  repopact doctor
69
119
  ```
70
120
 
71
- RepoPact does not require a particular model, agent framework, editor, or cloud provider.
121
+ RepoPact does not require a particular model, coding agent, agent framework, editor, CI vendor, or cloud provider.
122
+
123
+ For the next step, use the [documentation map](docs/README.md): **Use RepoPact**, **Understand RepoPact**, **Integrate RepoPact**, or **Develop RepoPact**.
72
124
 
73
125
  ## How the pact works
74
126
 
@@ -91,9 +143,36 @@ A work item is a narrative `README.md` plus machine-readable `work-item.json`. E
91
143
 
92
144
  RepoPact's distinguishing primitive is the **binding invariant**: a declared guarantee coupled to rationale, escalation, and, where logically possible, an enforcer. The invariant is the thing a later worker must not silently weaken.
93
145
 
146
+ ## Authority: source records vs derived views
147
+
148
+ RepoPact deliberately separates authority from convenience.
149
+
150
+ Authoritative project state comes from the governed source records and repository state that own a fact: `governance/`, `work/`, `decisions/`, `evidence/`, source code, and explicitly governed configuration. Different record types own different kinds of truth.
151
+
152
+ The dashboard, Repository Orientation Graph (ROG), Workbench views, generated specification blocks, indexes, and similar read models are **derived**. They can make the repository dramatically easier to inspect and operate, but they do not gain authority merely because they are easier to query.
153
+
154
+ If a derived view conflicts with the source records it projects, the derived view is stale or wrong and must be regenerated or reconciled.
155
+
156
+ ## Enforcement is a ladder, not a boolean
157
+
158
+ RepoPact does not describe every integration as simply "enforced" or "not enforced." The assurance class must match the boundary that actually exists.
159
+
160
+ | Class | What it means |
161
+ | --- | --- |
162
+ | `instruction-only` | Durable rules and state exist, but no pre-execution host boundary is claimed. |
163
+ | `session-start` | A covered integration gates creation or start of a session/child process. |
164
+ | `pre-action` | A covered mutation is checked before its callback or action begins. |
165
+ | `sandbox/process-enforced` | A real OS-backed boundary constrains the launched process tree for the capability being claimed. |
166
+
167
+ The portable reference baseline for RepoPact's optional admission plane is `pre-action`. That is a real pre-execution guarantee for covered actions, but it does **not** imply arbitrary-process filesystem confinement.
168
+
169
+ A higher `sandbox/process-enforced` class requires independent native proof of the operating-system boundary. The Linux Landlock work demonstrates the intended distinction, while remaining platform/reference work is tracked separately. RepoPact never silently upgrades a weaker adapter into a stronger assurance claim.
170
+
171
+ See [Pre-execution admission](docs/guides/pre-execution-admission.md) and [decision 0060](decisions/0060-optional-sandbox-process-enforced-reference-confinement.md).
172
+
94
173
  ## The Workbench
95
174
 
96
- RepoPact is not intended to be a JSON-editing exercise for human operators. The repository also contains a **Tauri 2 Workbench** that presents the same governed state through a human-facing interface while the Rust semantic engine remains the authority.
175
+ RepoPact is not intended to be a JSON-editing exercise for human operators. The repository also contains a **Tauri 2 Workbench** that presents governed state through a human-facing interface while the Rust semantic engine remains the semantic authority.
97
176
 
98
177
  The Workbench supports repository selection, inspection, work-item views, typed create/edit/lifecycle operations, validation, graph-backed repository views, plan/preview/apply mutation flow, refresh, and stale-plan/session rejection.
99
178
 
@@ -103,13 +182,15 @@ Workbench source: [`rust/apps/repopact-desktop/`](rust/apps/repopact-desktop/)
103
182
 
104
183
  ![RepoPact Workbench on Windows showing the validated Work lifecycle view with proposed, active, deferred, and complete counts, a blocked record, active work, and the selected repository session.](docs/assets/readme/workbench-governance.jpg)
105
184
 
106
- *Launch-readiness Workbench capture: a real validated repository session, not an empty shell. The screenshot is a capture-time view of the implementation and is not a claim that Workbench installers or Android artifacts are part of the stable PyPI 3.1.1 package contract.*
185
+ *The screenshot is a capture-time view of the implementation. It is not a claim that Workbench installers or Android artifacts are part of the stable PyPI 3.1.2 package contract.*
107
186
 
108
187
  ## Use it with `AGENTS.md`, `CLAUDE.md`, and coding agents
109
188
 
110
- RepoPact does not replace instruction files. It gives them a durable governance layer to meet in.
189
+ RepoPact is not `AGENTS.md++`, and it does not replace instruction files.
190
+
191
+ `AGENTS.md`, `CLAUDE.md`, editor rules, skills, and system prompts tell an agent how it should behave. RepoPact records the durable project state around that behavior and validates, and where the relevant boundary exists can enforce, whether the repository still respects its declared contract.
111
192
 
112
- `AGENTS.md`, `CLAUDE.md`, editor rules, and system prompts tell an agent how it should behave. RepoPact records the durable project state around that behavior and validates, and where enforceable can enforce, whether the repository still respects its declared contract.
193
+ Instruction files can participate in the pact. They are not the whole governance substrate.
113
194
 
114
195
  That distinction matters when work moves between Claude, Codex, ChatGPT, local models, human developers, or future tools. The next worker should not need the previous worker's private conversation in order to recover the represented engineering state.
115
196
 
@@ -129,9 +210,9 @@ See [decision 0021](decisions/0021-preflight-mandatory-and-provenance.md) and th
129
210
 
130
211
  ## Local-first verification and release
131
212
 
132
- RepoPact is moving CI/CD semantics into the repository instead of making a hosted provider the source of truth.
213
+ RepoPact keeps verification semantics in the repository instead of making a hosted provider the source of truth.
133
214
 
134
- Current development `main` includes WI046's completed repository-defined verification profiles and local release operations:
215
+ The stable 3.1.2 package includes repository-defined verification profiles and local release operations:
135
216
 
136
217
  ```powershell
137
218
  repopact verify quick
@@ -147,10 +228,18 @@ GitHub Actions is an **optional hosted adapter**, disabled by default. Hosted va
147
228
 
148
229
  Verification, artifact construction, inspection, and publication remain separate operations. Publication requires explicit operator intent and credentials supplied outside the repository.
149
230
 
150
- This local-first architecture was completed under [WI046](work/completed/046-runner-neutral-verification-and-admission-checkpoint-architecture/) and is included in the stable 3.1.1 Python/Rust package surface. Workbench, Android, and active research surfaces retain their own validation boundaries and are not silently folded into the PyPI artifact contract.
231
+ This local-first architecture was completed under [WI046](work/completed/046-runner-neutral-verification-and-admission-checkpoint-architecture/). Workbench, mobile applications, active research surfaces, and stronger platform-specific enforcement retain their own validation and packaging boundaries rather than being silently folded into the PyPI artifact contract.
151
232
 
152
233
  See [`docs/guides/local-ci-cd.md`](docs/guides/local-ci-cd.md).
153
234
 
235
+ ## Repository Orientation Graph
236
+
237
+ The optional **Repository Orientation Graph (ROG)** is a bounded, versioned, derived representation used for orientation, impact, dependency, test, and governance queries.
238
+
239
+ The graph can be durable and incrementally maintained without becoming a second source of truth. Repository and governance records remain authoritative; graph freshness, coverage, and excluded boundaries are explicit. If the graph and authoritative source disagree, rebuild or reconcile the graph.
240
+
241
+ See [`docs/repository-orientation-graph.md`](docs/repository-orientation-graph.md). WI063 remains the governing work record for unfinished graph evaluation and closeout obligations.
242
+
154
243
  ## Research, evidence, and falsifiability
155
244
 
156
245
  RepoPact is both a working tool and an ongoing software-engineering research project. The research program is deliberately set up so the claims can fail.
@@ -164,30 +253,34 @@ The repository includes:
164
253
  - a machine-checkable [conformance suite](CONFORMANCE.md);
165
254
  - the public [RepoPact Proving Ground](https://github.com/ForgeWireLabs/repopact-proving-ground), where runnable PactBench work is exercised against a real adopter.
166
255
 
167
- Comparative cross-model results are still forthcoming. They will be reported whether they support or challenge the current claims.
256
+ Comparative cross-model results remain separate from the existence of benchmark infrastructure. They are reported only when the corresponding runs and evidence exist.
168
257
 
169
258
  > RepoPact defines the pact. The Proving Ground tests whether the pact holds under agent pressure.
170
259
 
171
260
  ## What RepoPact is not
172
261
 
173
- RepoPact is not an AI agent, model provider, chat-memory store, general-purpose issue tracker, hosted CI service, or runtime sandbox. It does not try to replace Git, compilers, test frameworks, agent runtimes, or authorization systems.
262
+ RepoPact is not an AI agent, model provider, agent runtime, distributed compute fabric, chat-memory store, general-purpose issue tracker, hosted CI service, IDE, or general-purpose sandbox.
263
+
264
+ It does not try to replace Git, compilers, test frameworks, agent orchestrators, operating-system security boundaries, or external authorization systems.
174
265
 
175
266
  It is the **durable governance layer** those systems can share.
176
267
 
177
- For stronger runtime authority, RepoPact also contains an optional protected admission plane under active development. Ordinary repositories do not need that privileged layer in order to use RepoPact's core governance model.
268
+ Optional admission and protected-execution integrations can consume RepoPact authority and enforce a covered boundary, but those integrations do not become a second work ledger or a new source of project truth.
178
269
 
179
270
  ## Deeper technical references
180
271
 
181
- - [`SPEC.md`](SPEC.md): repository model and machine-enforced rules
272
+ - [`docs/README.md`](docs/README.md): audience-oriented documentation map
273
+ - [`SPEC.md`](SPEC.md): normative repository model and machine-enforced rules
182
274
  - [`CONFORMANCE.md`](CONFORMANCE.md): implementation-independent conformance contract
183
275
  - [`governance/charter.md`](governance/charter.md): principles and non-goals
184
276
  - [`governance/workflow.md`](governance/workflow.md): repository workflow
185
- - [`docs/repository-orientation-graph.md`](docs/repository-orientation-graph.md): the optional Repository Orientation Graph (ROG) — enable/disable, query, Workbench operator map, and its authority boundary
277
+ - [`docs/repository-orientation-graph.md`](docs/repository-orientation-graph.md): optional derived Repository Orientation Graph
278
+ - [`docs/guides/pre-execution-admission.md`](docs/guides/pre-execution-admission.md): optional enforcement/admission integration
186
279
  - [`decisions/`](decisions/): durable architecture and policy decisions
187
280
  - [`research/`](research/): formal model, protocols, findings, and paper
188
281
  - [`work/`](work/): the project's own RepoPact-governed work ledger
189
282
 
190
- The default conformance path exercises the canonical Rust semantic engine. The historical Python validator remains an explicit comparator rather than a second product authority.
283
+ The default conformance path exercises the canonical Rust semantic engine. The historical Python validator remains an explicit comparator/compatibility surface rather than a second product authority.
191
284
 
192
285
  ## ForgeWire Labs
193
286
 
repopact-3.1.2/VERSION ADDED
@@ -0,0 +1 @@
1
+ 3.1.2
@@ -7,7 +7,7 @@ name = "repopact"
7
7
  # Maturin's bin backend requires a concrete PEP 440 project version. Keep this
8
8
  # synchronized with VERSION/RELEASE_LABEL; the engine handshake and release
9
9
  # verifier fail closed if the two release identities drift.
10
- version = "3.1.1"
10
+ version = "3.1.2"
11
11
  description = "A repository-native standard for durable agent work: binding invariants, evidence-gated work items, and drift audits."
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.11"
@@ -90,7 +90,15 @@ def _write_canonical_record(root: Path, directory: str, name: str, payload: byte
90
90
 
91
91
 
92
92
  def main(argv: list[str] | None = None) -> int:
93
+ from . import __version__
94
+
93
95
  parser = argparse.ArgumentParser(prog="repopact", description="RepoPact: durable agent work, governed in the repo.")
96
+ parser.add_argument(
97
+ "--version",
98
+ action="version",
99
+ version=f"repopact {__version__}",
100
+ help="Show the repopact package version and exit",
101
+ )
94
102
  sub = parser.add_subparsers(dest="command", required=True)
95
103
 
96
104
  p_init = sub.add_parser("init", help="Bootstrap a new RepoPact repository")
@@ -232,3 +232,27 @@ def open_fixture_repo(
232
232
  fixture.open()
233
233
  test_case.addCleanup(fixture.close)
234
234
  return fixture.root
235
+
236
+
237
+ def pin_work_item_status(root: Path, work_item_id: str, status: str) -> None:
238
+ """Force a materialized fixture's copy of a governed work item to a fixed
239
+ lifecycle ``status``, independent of that work item's real, evolving state
240
+ in the live checkout being copied.
241
+
242
+ Several admission/guard/security test corpora exercise `evaluate_action`
243
+ against a real work item (by convention, WI050) purely as a stable
244
+ lifecycle-gated target — their assertions are about the admission policy,
245
+ not about WI050 itself. Without this, those tests silently break whenever
246
+ WI050's real status legitimately changes (e.g. active -> deferred).
247
+ """
248
+ import json
249
+
250
+ for status_dir in ("active", "proposed", "blocked", "deferred", "completed"):
251
+ candidates = list((root / "work" / status_dir).glob(f"{work_item_id}-*/work-item.json"))
252
+ if candidates:
253
+ item_path = candidates[0]
254
+ data = json.loads(item_path.read_text())
255
+ data["status"] = status
256
+ item_path.write_text(json.dumps(data))
257
+ return
258
+ raise FileNotFoundError(f"no work item {work_item_id!r} found under {root / 'work'}")
@@ -36,9 +36,10 @@ def main(argv: list[str] | None = None) -> int:
36
36
  path = problem.path.relative_to(root)
37
37
  except ValueError:
38
38
  path = problem.path
39
- print(f"ERROR {path}: {problem.message}")
40
- if problems:
41
- print(f"\nValidation failed with {len(problems)} error(s).")
39
+ print(f"{problem.severity.upper()} {path}: {problem.message}")
40
+ blocking = validate_repo.blocking_problems(problems)
41
+ if blocking:
42
+ print(f"\nValidation failed with {len(blocking)} error(s).")
42
43
  return 1
43
44
  print("Repository governance validation passed (Python compatibility comparator).")
44
45
  return 0
@@ -1162,6 +1162,29 @@ _IDENTITY_LABELS = (
1162
1162
  )
1163
1163
  _SECRET_QUERY_PARAMS = ("token", "api_key", "password", "secret")
1164
1164
  _STRONG_CLAIM_PHRASES = ("certified", "fully compliant", "complies with", "meets all requirements")
1165
+ _NEGATION_CUES = ("not ", "n't ", "never ", "no longer ", "does not assert", "isn't", "aren't")
1166
+ _NEGATION_WINDOW = 40
1167
+
1168
+
1169
+ def _has_unnegated_strong_claim(lower_text: str) -> bool:
1170
+ """True if a strong-claim phrase appears without a nearby negation cue.
1171
+
1172
+ A plain substring search flags disclaimers ("this does not assert X is
1173
+ certified") the same as an actual claim ("X is certified"). Requiring no
1174
+ negation cue in the preceding window keeps the heuristic advisory without
1175
+ firing on text that explicitly disclaims the very claim it mentions.
1176
+ """
1177
+ for phrase in _STRONG_CLAIM_PHRASES:
1178
+ start = 0
1179
+ while True:
1180
+ index = lower_text.find(phrase, start)
1181
+ if index == -1:
1182
+ break
1183
+ window = lower_text[max(0, index - _NEGATION_WINDOW):index]
1184
+ if not any(cue in window for cue in _NEGATION_CUES):
1185
+ return True
1186
+ start = index + len(phrase)
1187
+ return False
1165
1188
 
1166
1189
 
1167
1190
  def _decode_text(raw: bytes) -> str | None:
@@ -1720,7 +1743,7 @@ def _check_documentation_claims(root: Path, data: dict, mapping_id: str, path: P
1720
1743
  if text is None:
1721
1744
  continue
1722
1745
  lower = text.lower()
1723
- strong_claim = any(phrase in lower for phrase in _STRONG_CLAIM_PHRASES)
1746
+ strong_claim = _has_unnegated_strong_claim(lower)
1724
1747
  weak_support = has_gap or (not has_evidence and not has_attestation)
1725
1748
  if strong_claim and weak_support:
1726
1749
  problems.append(Problem(
repopact-3.1.1/VERSION DELETED
@@ -1 +0,0 @@
1
- 3.1.1
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes