repopact 3.0.2__tar.gz → 3.1.1__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.
- {repopact-3.0.2 → repopact-3.1.1}/LICENSE +201 -201
- repopact-3.1.1/PKG-INFO +220 -0
- repopact-3.1.1/README.md +200 -0
- repopact-3.1.1/VERSION +1 -0
- repopact-3.1.1/pyproject.toml +40 -0
- repopact-3.1.1/repopact/AGENTS.md +37 -0
- {repopact-3.0.2 → repopact-3.1.1}/repopact/__init__.py +36 -36
- repopact-3.1.1/repopact/_audit/README.md +4 -0
- repopact-3.1.1/repopact/_audit/alignment-report.md +370 -0
- repopact-3.1.1/repopact/_audit/inventory.md +42 -0
- repopact-3.1.1/repopact/adapters.py +154 -0
- repopact-3.1.1/repopact/admission.py +846 -0
- repopact-3.1.1/repopact/admission_conformance.py +39 -0
- {repopact-3.0.2 → repopact-3.1.1}/repopact/adopt_repo.py +501 -392
- {repopact-3.0.2 → repopact-3.1.1}/repopact/check_frozen_surface.py +136 -125
- repopact-3.1.1/repopact/cli.py +564 -0
- repopact-3.1.1/repopact/confinement.py +208 -0
- repopact-3.1.1/repopact/dev_fixtures.py +234 -0
- {repopact-3.0.2 → repopact-3.1.1}/repopact/doctor.py +430 -358
- repopact-3.1.1/repopact/enforcement.py +218 -0
- repopact-3.1.1/repopact/engine_client.py +278 -0
- {repopact-3.0.2 → repopact-3.1.1}/repopact/fleet_verify.py +702 -531
- {repopact-3.0.2 → repopact-3.1.1}/repopact/frontmatter.py +48 -48
- {repopact-3.0.2 → repopact-3.1.1}/repopact/generate_dashboard.py +131 -131
- {repopact-3.0.2 → repopact-3.1.1}/repopact/generate_spec.py +101 -95
- repopact-3.1.1/repopact/graph_cli.py +462 -0
- repopact-3.1.1/repopact/guard.py +262 -0
- repopact-3.1.1/repopact/guard_ipc.py +626 -0
- {repopact-3.0.2 → repopact-3.1.1}/repopact/init_repo.py +183 -167
- repopact-3.1.1/repopact/legacy_validate.py +48 -0
- {repopact-3.0.2 → repopact-3.1.1}/repopact/new.py +115 -115
- {repopact-3.0.2 → repopact-3.1.1}/repopact/package_version.py +69 -68
- {repopact-3.0.2 → repopact-3.1.1}/repopact/plan_import.py +409 -406
- repopact-3.1.1/repopact/platform_backends.py +1279 -0
- repopact-3.1.1/repopact/release_build.py +418 -0
- repopact-3.1.1/repopact/release_local.py +437 -0
- {repopact-3.0.2 → repopact-3.1.1}/repopact/repo_model.py +245 -220
- repopact-3.1.1/repopact/run_admission_platform_conformance.py +165 -0
- {repopact-3.0.2 → repopact-3.1.1}/repopact/run_conformance.py +203 -173
- repopact-3.1.1/repopact/schemas/adapter-capabilities.schema.json +57 -0
- repopact-3.1.1/repopact/schemas/admission-policy.schema.json +58 -0
- {repopact-3.0.2 → repopact-3.1.1}/repopact/schemas/adopter-fleet.schema.json +108 -96
- repopact-3.1.1/repopact/schemas/assurance-mapping.schema.json +252 -0
- {repopact-3.0.2 → repopact-3.1.1}/repopact/schemas/audit-finding.schema.json +15 -15
- repopact-3.1.1/repopact/schemas/authorization-receipt.schema.json +24 -0
- repopact-3.1.1/repopact/schemas/authorization-request.schema.json +41 -0
- {repopact-3.0.2 → repopact-3.1.1}/repopact/schemas/conformance-manifest.schema.json +53 -53
- {repopact-3.0.2 → repopact-3.1.1}/repopact/schemas/evidence-run.schema.json +17 -17
- {repopact-3.0.2 → repopact-3.1.1}/repopact/schemas/frozen-surface.schema.json +21 -21
- {repopact-3.0.2 → repopact-3.1.1}/repopact/schemas/invariants.schema.json +27 -27
- repopact-3.1.1/repopact/schemas/operator-authority.schema.json +76 -0
- {repopact-3.0.2 → repopact-3.1.1}/repopact/schemas/record-frontmatter.schema.json +29 -29
- repopact-3.1.1/repopact/schemas/repository-registration.schema.json +35 -0
- repopact-3.1.1/repopact/schemas/rog-capability.schema.json +21 -0
- repopact-3.1.1/repopact/schemas/verification-profile.schema.json +76 -0
- {repopact-3.0.2 → repopact-3.1.1}/repopact/schemas/work-item.schema.json +41 -41
- {repopact-3.0.2 → repopact-3.1.1}/repopact/takeover.py +438 -433
- {repopact-3.0.2 → repopact-3.1.1}/repopact/templates/README.md +14 -14
- repopact-3.1.1/repopact/templates/admission-policy.json +22 -0
- {repopact-3.0.2 → repopact-3.1.1}/repopact/templates/decision.md +25 -25
- {repopact-3.0.2 → repopact-3.1.1}/repopact/templates/evidence-run.json +12 -12
- {repopact-3.0.2 → repopact-3.1.1}/repopact/templates/policy.md +20 -20
- {repopact-3.0.2 → repopact-3.1.1}/repopact/templates/work-item.README.md +24 -24
- {repopact-3.0.2 → repopact-3.1.1}/repopact/templates/work-item.json +14 -14
- {repopact-3.0.2 → repopact-3.1.1}/repopact/track_import.py +204 -204
- repopact-3.1.1/repopact/unix_guard_service.py +75 -0
- {repopact-3.0.2 → repopact-3.1.1}/repopact/validate_repo.py +1889 -985
- {repopact-3.0.2 → repopact-3.1.1}/repopact/validate_research.py +463 -405
- repopact-3.1.1/repopact/validate_verification.py +25 -0
- repopact-3.1.1/repopact/verification.py +817 -0
- repopact-3.1.1/repopact/verify_cli.py +69 -0
- repopact-3.1.1/repopact/verify_status.py +266 -0
- repopact-3.1.1/repopact/windows_guard_service.py +276 -0
- repopact-3.1.1/rust/Cargo.lock +6290 -0
- repopact-3.1.1/rust/Cargo.toml +61 -0
- repopact-3.1.1/rust/apps/repopact-engine/Cargo.toml +18 -0
- repopact-3.1.1/rust/apps/repopact-engine/build.rs +50 -0
- repopact-3.1.1/rust/apps/repopact-engine/src/bin/repopact.rs +74 -0
- repopact-3.1.1/rust/apps/repopact-engine/src/main.rs +681 -0
- repopact-3.1.1/rust/apps/repopact-engine/src/query_ops.rs +357 -0
- repopact-3.1.1/rust/crates/repopact-analysis/Cargo.toml +12 -0
- repopact-3.1.1/rust/crates/repopact-analysis/src/lib.rs +667 -0
- repopact-3.1.1/rust/crates/repopact-core/Cargo.toml +18 -0
- repopact-3.1.1/rust/crates/repopact-core/src/lib.rs +117 -0
- repopact-3.1.1/rust/crates/repopact-graph/Cargo.toml +18 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/authority_boundary_tests.rs +147 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/bin/rog-benchmark.rs +744 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/capability.rs +278 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/clean_clone_tests.rs +341 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/durable.rs +885 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/incremental.rs +1649 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/lib.rs +1941 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/merge_reconcile.rs +513 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/metadata/json_adapter.rs +474 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/metadata/markdown_adapter.rs +322 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/metadata/mod.rs +129 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/metadata/policy.rs +114 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/metadata/toml_adapter.rs +648 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/metadata/yaml_adapter.rs +302 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/overlay.rs +1166 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/physical.rs +345 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/projection.rs +175 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/query/bounds.rs +113 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/query/cursor.rs +256 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/query/dto.rs +319 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/query/engine.rs +1390 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/query/index.rs +108 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/query/mod.rs +50 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/query/open.rs +140 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/query/resolve.rs +180 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/query/selector.rs +167 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/query/tests.rs +1352 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/semantic/javascript_adapter.rs +546 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/semantic/mod.rs +743 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/semantic/operational.rs +650 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/semantic/python_adapter.rs +393 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/semantic/rust_adapter.rs +719 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/status.rs +378 -0
- repopact-3.1.1/rust/crates/repopact-graph/src/validate.rs +250 -0
- repopact-3.1.1/rust/crates/repopact-graph/tests/no_network_dependency_audit.rs +123 -0
- repopact-3.1.1/rust/crates/repopact-mutation/Cargo.toml +14 -0
- repopact-3.1.1/rust/crates/repopact-mutation/src/lib.rs +1550 -0
- repopact-3.1.1/rust/crates/repopact-mutation/tests/fixtures/edit/after/work-item.json +19 -0
- repopact-3.1.1/rust/crates/repopact-mutation/tests/fixtures/edit/before/work-item.json +14 -0
- repopact-3.1.1/rust/crates/repopact-mutation/tests/fixtures/transition/after/work/active/001-reopen/README.md +3 -0
- repopact-3.1.1/rust/crates/repopact-mutation/tests/fixtures/transition/after/work/active/001-reopen/history.md +1 -0
- repopact-3.1.1/rust/crates/repopact-mutation/tests/fixtures/transition/after/work/active/001-reopen/work-item.json +21 -0
- repopact-3.1.1/rust/crates/repopact-mutation/tests/fixtures/transition/before/work/completed/001-reopen/README.md +3 -0
- repopact-3.1.1/rust/crates/repopact-mutation/tests/fixtures/transition/before/work/completed/001-reopen/history.md +1 -0
- repopact-3.1.1/rust/crates/repopact-mutation/tests/fixtures/transition/before/work/completed/001-reopen/work-item.json +14 -0
- repopact-3.1.1/rust/crates/repopact-mutation/tests/remote_provider_governance_boundary.rs +54 -0
- repopact-3.1.1/rust/crates/repopact-mutation/tests/verification_post_validation.rs +58 -0
- repopact-3.1.1/rust/crates/repopact-protocol/Cargo.toml +9 -0
- repopact-3.1.1/rust/crates/repopact-protocol/src/lib.rs +155 -0
- repopact-3.1.1/rust/crates/repopact-repository/Cargo.toml +21 -0
- repopact-3.1.1/rust/crates/repopact-repository/src/git.rs +440 -0
- repopact-3.1.1/rust/crates/repopact-repository/src/lib.rs +2055 -0
- repopact-3.1.1/rust/crates/repopact-schema/Cargo.toml +10 -0
- repopact-3.1.1/rust/crates/repopact-schema/src/lib.rs +136 -0
- repopact-3.1.1/rust/crates/repopact-types/Cargo.toml +10 -0
- repopact-3.1.1/rust/crates/repopact-types/src/lib.rs +353 -0
- repopact-3.1.1/rust/crates/repopact-validation/Cargo.toml +14 -0
- repopact-3.1.1/rust/crates/repopact-validation/src/adopters.rs +388 -0
- repopact-3.1.1/rust/crates/repopact-validation/src/assurance.rs +1032 -0
- repopact-3.1.1/rust/crates/repopact-validation/src/graph.rs +108 -0
- repopact-3.1.1/rust/crates/repopact-validation/src/lib.rs +2628 -0
- repopact-3.1.1/rust/crates/repopact-validation/src/research.rs +1488 -0
- repopact-3.1.1/rust/crates/repopact-validation/src/verification.rs +272 -0
- repopact-3.0.2/MANIFEST.in +0 -2
- repopact-3.0.2/PKG-INFO +0 -182
- repopact-3.0.2/README.md +0 -165
- repopact-3.0.2/VERSION +0 -1
- repopact-3.0.2/pyproject.toml +0 -36
- repopact-3.0.2/repopact/cli.py +0 -261
- repopact-3.0.2/repopact/release_build.py +0 -227
- repopact-3.0.2/repopact.egg-info/PKG-INFO +0 -182
- repopact-3.0.2/repopact.egg-info/SOURCES.txt +0 -52
- repopact-3.0.2/repopact.egg-info/dependency_links.txt +0 -1
- repopact-3.0.2/repopact.egg-info/entry_points.txt +0 -2
- repopact-3.0.2/repopact.egg-info/requires.txt +0 -6
- repopact-3.0.2/repopact.egg-info/top_level.txt +0 -1
- repopact-3.0.2/setup.cfg +0 -4
- repopact-3.0.2/tests/test_conformance.py +0 -118
- repopact-3.0.2/tests/test_fleet_verify.py +0 -235
- repopact-3.0.2/tests/test_plan_import_links.py +0 -99
- repopact-3.0.2/tests/test_release_build.py +0 -87
- repopact-3.0.2/tests/test_research_metadata.py +0 -82
- repopact-3.0.2/tests/test_takeover_refs.py +0 -92
- repopact-3.0.2/tests/test_validate_repo.py +0 -1269
|
@@ -1,201 +1,201 @@
|
|
|
1
|
-
Apache License
|
|
2
|
-
Version 2.0, January 2004
|
|
3
|
-
http://www.apache.org/licenses/
|
|
4
|
-
|
|
5
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
-
|
|
7
|
-
1. Definitions.
|
|
8
|
-
|
|
9
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
-
|
|
12
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
-
the copyright owner that is granting the License.
|
|
14
|
-
|
|
15
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
-
other entities that control, are controlled by, or are under common
|
|
17
|
-
control with that entity. For the purposes of this definition,
|
|
18
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
-
direction or management of such entity, whether by contract or
|
|
20
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
-
|
|
23
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
-
exercising permissions granted by this License.
|
|
25
|
-
|
|
26
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
-
including but not limited to software source code, documentation
|
|
28
|
-
source, and configuration files.
|
|
29
|
-
|
|
30
|
-
"Object" form shall mean any form resulting from mechanical
|
|
31
|
-
transformation or translation of a Source form, including but
|
|
32
|
-
not limited to compiled object code, generated documentation,
|
|
33
|
-
and conversions to other media types.
|
|
34
|
-
|
|
35
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
-
Object form, made available under the License, as indicated by a
|
|
37
|
-
copyright notice that is included in or attached to the work
|
|
38
|
-
(an example is provided in the Appendix below).
|
|
39
|
-
|
|
40
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
-
form, that is based on (or derived from) the Work and for which the
|
|
42
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
-
of this License, Derivative Works shall not include works that remain
|
|
45
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
-
the Work and Derivative Works thereof.
|
|
47
|
-
|
|
48
|
-
"Contribution" shall mean any work of authorship, including
|
|
49
|
-
the original version of the Work and any modifications or additions
|
|
50
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
-
means any form of electronic, verbal, or written communication sent
|
|
55
|
-
to the Licensor or its representatives, including but not limited to
|
|
56
|
-
communication on electronic mailing lists, source code control systems,
|
|
57
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
-
excluding communication that is conspicuously marked or otherwise
|
|
60
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
-
|
|
62
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
-
subsequently incorporated within the Work.
|
|
65
|
-
|
|
66
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
-
Work and such Derivative Works in Source or Object form.
|
|
72
|
-
|
|
73
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
-
(except as stated in this section) patent license to make, have made,
|
|
77
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
-
where such license applies only to those patent claims licensable
|
|
79
|
-
by such Contributor that are necessarily infringed by their
|
|
80
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
-
institute patent litigation against any entity (including a
|
|
83
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
-
or contributory patent infringement, then any patent licenses
|
|
86
|
-
granted to You under this License for that Work shall terminate
|
|
87
|
-
as of the date such litigation is filed.
|
|
88
|
-
|
|
89
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
-
modifications, and in Source or Object form, provided that You
|
|
92
|
-
meet the following conditions:
|
|
93
|
-
|
|
94
|
-
(a) You must give any other recipients of the Work or Derivative
|
|
95
|
-
Works a copy of this License; and
|
|
96
|
-
|
|
97
|
-
(b) You must cause any modified files to carry prominent notices
|
|
98
|
-
stating that You changed the files; and
|
|
99
|
-
|
|
100
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
-
that You distribute, all copyright, patent, trademark, and
|
|
102
|
-
attribution notices from the Source form of the Work,
|
|
103
|
-
excluding those notices that do not pertain to any part of
|
|
104
|
-
the Derivative Works; and
|
|
105
|
-
|
|
106
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
-
distribution, then any Derivative Works that You distribute must
|
|
108
|
-
include a readable copy of the attribution notices contained
|
|
109
|
-
within such NOTICE file, excluding those notices that do not
|
|
110
|
-
pertain to any part of the Derivative Works, in at least one
|
|
111
|
-
of the following places: within a NOTICE text file distributed
|
|
112
|
-
as part of the Derivative Works; within the Source form or
|
|
113
|
-
documentation, if provided along with the Derivative Works; or,
|
|
114
|
-
within a display generated by the Derivative Works, if and
|
|
115
|
-
wherever such third-party notices normally appear. The contents
|
|
116
|
-
of the NOTICE file are for informational purposes only and
|
|
117
|
-
do not modify the License. You may add Your own attribution
|
|
118
|
-
notices within Derivative Works that You distribute, alongside
|
|
119
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
-
that such additional attribution notices cannot be construed
|
|
121
|
-
as modifying the License.
|
|
122
|
-
|
|
123
|
-
You may add Your own copyright statement to Your modifications and
|
|
124
|
-
may provide additional or different license terms and conditions
|
|
125
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
-
the conditions stated in this License.
|
|
129
|
-
|
|
130
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
-
this License, without any additional terms or conditions.
|
|
134
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
-
the terms of any separate license agreement you may have executed
|
|
136
|
-
with Licensor regarding such Contributions.
|
|
137
|
-
|
|
138
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
-
except as required for reasonable and customary use in describing the
|
|
141
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
-
|
|
143
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
-
implied, including, without limitation, any warranties or conditions
|
|
148
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
-
appropriateness of using or redistributing the Work and assume any
|
|
151
|
-
risks associated with Your exercise of permissions under this License.
|
|
152
|
-
|
|
153
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
-
unless required by applicable law (such as deliberate and grossly
|
|
156
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
-
liable to You for damages, including any direct, indirect, special,
|
|
158
|
-
incidental, or consequential damages of any character arising as a
|
|
159
|
-
result of this License or out of the use or inability to use the
|
|
160
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
-
other commercial damages or losses), even if such Contributor
|
|
163
|
-
has been advised of the possibility of such damages.
|
|
164
|
-
|
|
165
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
-
or other liability obligations and/or rights consistent with this
|
|
169
|
-
License. However, in accepting such obligations, You may act only
|
|
170
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
-
defend, and hold each Contributor harmless for any liability
|
|
173
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
-
of your accepting any such warranty or additional liability.
|
|
175
|
-
|
|
176
|
-
END OF TERMS AND CONDITIONS
|
|
177
|
-
|
|
178
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
-
|
|
180
|
-
To apply the Apache License to your work, attach the following
|
|
181
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
-
replaced with your own identifying information. (Don't include
|
|
183
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
-
comment syntax for the file format. We also recommend that a
|
|
185
|
-
file or class name and description of purpose be included on the
|
|
186
|
-
same "printed page" as the copyright notice for easier
|
|
187
|
-
identification within third-party archives.
|
|
188
|
-
|
|
189
|
-
Copyright 2026 ForgeWire Labs
|
|
190
|
-
|
|
191
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
-
you may not use this file except in compliance with the License.
|
|
193
|
-
You may obtain a copy of the License at
|
|
194
|
-
|
|
195
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
-
|
|
197
|
-
Unless required by applicable law or agreed to in writing, software
|
|
198
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
-
See the License for the specific language governing permissions and
|
|
201
|
-
limitations under the License.
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or Derivative
|
|
95
|
+
Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 ForgeWire Labs
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
repopact-3.1.1/PKG-INFO
ADDED
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: repopact
|
|
3
|
+
Version: 3.1.1
|
|
4
|
+
Requires-Dist: jsonschema>=4.20
|
|
5
|
+
Requires-Dist: maturin>=1.15,<2 ; extra == 'dev'
|
|
6
|
+
Requires-Dist: pytest>=8 ; extra == 'dev'
|
|
7
|
+
Requires-Dist: twine>=6 ; extra == 'dev'
|
|
8
|
+
Requires-Dist: cryptography>=43 ; extra == 'dev'
|
|
9
|
+
Requires-Dist: cryptography>=43 ; extra == 'enforcement'
|
|
10
|
+
Provides-Extra: dev
|
|
11
|
+
Provides-Extra: enforcement
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Summary: A repository-native standard for durable agent work: binding invariants, evidence-gated work items, and drift audits.
|
|
14
|
+
License-Expression: Apache-2.0
|
|
15
|
+
Requires-Python: >=3.11
|
|
16
|
+
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
17
|
+
Project-URL: Homepage, https://github.com/ForgeWireLabs/repopact
|
|
18
|
+
Project-URL: Repository, https://github.com/ForgeWireLabs/repopact
|
|
19
|
+
|
|
20
|
+
# RepoPact
|
|
21
|
+
|
|
22
|
+
**Durable engineering state for humans and AI agents.**
|
|
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.
|
|
25
|
+
|
|
26
|
+
RepoPact makes that load-bearing engineering state part of the repository itself.
|
|
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.
|
|
29
|
+
|
|
30
|
+
> **The repository is the pact.**
|
|
31
|
+
>
|
|
32
|
+
> The repository becomes the rendezvous point between humans and agents.
|
|
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))
|
|
35
|
+
|
|
36
|
+
[Paper draft](research/paper.md) · [Formal model](research/formal-model.md) · [Conformance](CONFORMANCE.md) · [Research protocol](research/protocol.md)
|
|
37
|
+
|
|
38
|
+

|
|
39
|
+
|
|
40
|
+
*RepoPact addresses governance discontinuity by making the repository the durable rendezvous point between workers and sessions.*
|
|
41
|
+
|
|
42
|
+
## Why RepoPact exists
|
|
43
|
+
|
|
44
|
+
Source code usually survives a handoff. The governing state around that code often does not.
|
|
45
|
+
|
|
46
|
+
A coding session ends. Another model takes over. A different developer opens the repository. Work moves to another machine. The new worker can see the files, but may not know what was authorized, why a constraint exists, which decisions are already settled, what evidence supports a claim, what is still uncertain, or what must happen before the work is actually complete.
|
|
47
|
+
|
|
48
|
+
RepoPact treats that as a software-engineering problem, not just a memory problem. The paper calls it **governance discontinuity**.
|
|
49
|
+
|
|
50
|
+
| Common failure mode | RepoPact's response |
|
|
51
|
+
| --- | --- |
|
|
52
|
+
| Agent or session memory resets | Durable governed state travels with the repository |
|
|
53
|
+
| Different tools reconstruct different project context | Humans and agents read the same typed, version-controlled records |
|
|
54
|
+
| "Done" means an agent said it was done | Acceptance criteria can require linked evidence before completion |
|
|
55
|
+
| Authority is implicit or scattered | Roles, scopes, frozen surfaces, invariants, and optional admission policy make boundaries explicit |
|
|
56
|
+
| 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 |
|
|
59
|
+
|
|
60
|
+
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
|
+
|
|
62
|
+
## 30-second start
|
|
63
|
+
|
|
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.
|
|
65
|
+
|
|
66
|
+
```powershell
|
|
67
|
+
pip install repopact
|
|
68
|
+
|
|
69
|
+
# Start a new governed repository
|
|
70
|
+
repopact init --target ../your-repo
|
|
71
|
+
cd ../your-repo
|
|
72
|
+
|
|
73
|
+
# Record work before implementation begins
|
|
74
|
+
repopact new work-item "Add retry policy"
|
|
75
|
+
repopact new work-item "Possible cache redesign" --status proposed
|
|
76
|
+
|
|
77
|
+
# Check the pact and refresh the derived view
|
|
78
|
+
repopact validate
|
|
79
|
+
repopact dashboard
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
For an existing repository:
|
|
83
|
+
|
|
84
|
+
```powershell
|
|
85
|
+
repopact adopt --target ../existing-repo --dry-run
|
|
86
|
+
repopact adopt --target ../existing-repo
|
|
87
|
+
repopact doctor
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
RepoPact does not require a particular model, agent framework, editor, or cloud provider.
|
|
91
|
+
|
|
92
|
+
## How the pact works
|
|
93
|
+
|
|
94
|
+
```text
|
|
95
|
+
intent -> scoped authority -> work item -> implementation -> evidence -> audit -> history
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
RepoPact stores the parts of engineering state that need to survive a worker or session change:
|
|
99
|
+
|
|
100
|
+
- **Intent and decisions**: what the project is trying to accomplish and what choices are already settled.
|
|
101
|
+
- **Authority**: who or what may change which parts of the repository.
|
|
102
|
+
- **Work state**: `proposed`, `active`, `blocked`, `deferred`, and `completed` are durable lifecycle states rather than chat labels.
|
|
103
|
+
- **Acceptance criteria and evidence**: completion can be tied to concrete run records instead of narrative confidence.
|
|
104
|
+
- **Binding invariants**: guarantees with rationale, escalation, and machine enforcement where their logical type permits it.
|
|
105
|
+
- **Frozen surfaces**: paths or symbols that cannot be casually changed without explicit review.
|
|
106
|
+
- **Provenance**: reconstructed state can remain visibly provisional or inferred instead of being promoted to fact.
|
|
107
|
+
- **Reconciliation**: generated views and audits expose drift instead of hiding it.
|
|
108
|
+
|
|
109
|
+
A work item is a narrative `README.md` plus machine-readable `work-item.json`. Evidence lives under `evidence/runs/`. Decisions and policies remain durable after the implementation session is gone. The validator checks structural and cross-record semantics, and the dashboard is generated from source records rather than maintained by hand.
|
|
110
|
+
|
|
111
|
+
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
|
+
|
|
113
|
+
## The Workbench
|
|
114
|
+
|
|
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.
|
|
116
|
+
|
|
117
|
+
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
|
+
|
|
119
|
+
Native bring-up and operator evidence currently exist for **Windows, Linux, and Android**. macOS and iOS remain intended targets but do not yet have equivalent native validation evidence.
|
|
120
|
+
|
|
121
|
+
Workbench source: [`rust/apps/repopact-desktop/`](rust/apps/repopact-desktop/)
|
|
122
|
+
|
|
123
|
+

|
|
124
|
+
|
|
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.*
|
|
126
|
+
|
|
127
|
+
## Use it with `AGENTS.md`, `CLAUDE.md`, and coding agents
|
|
128
|
+
|
|
129
|
+
RepoPact does not replace instruction files. It gives them a durable governance layer to meet in.
|
|
130
|
+
|
|
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.
|
|
132
|
+
|
|
133
|
+
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
|
+
|
|
135
|
+
## Adopt a brownfield repository without pretending certainty
|
|
136
|
+
|
|
137
|
+
`repopact adopt` maps existing signals such as nested `AGENTS.md`, CODEOWNERS-style ownership, repository structure, and history into RepoPact records without treating reconstruction as omniscient truth.
|
|
138
|
+
|
|
139
|
+
This is why RepoPact has provenance types:
|
|
140
|
+
|
|
141
|
+
- `concrete`: directly established state or evidence;
|
|
142
|
+
- `provisional`: usable but not yet fully ratified;
|
|
143
|
+
- `inferred`: reconstructed from indirect evidence.
|
|
144
|
+
|
|
145
|
+
The point is not to manufacture a clean story for an old repository. It is to make uncertainty explicit and allow later evidence to ratchet it toward concrete state.
|
|
146
|
+
|
|
147
|
+
See [decision 0021](decisions/0021-preflight-mandatory-and-provenance.md) and the paper's brownfield adoption discussion for the formal treatment.
|
|
148
|
+
|
|
149
|
+
## Local-first verification and release
|
|
150
|
+
|
|
151
|
+
RepoPact is moving CI/CD semantics into the repository instead of making a hosted provider the source of truth.
|
|
152
|
+
|
|
153
|
+
Current development `main` includes WI046's completed repository-defined verification profiles and local release operations:
|
|
154
|
+
|
|
155
|
+
```powershell
|
|
156
|
+
repopact verify quick
|
|
157
|
+
repopact verify ci
|
|
158
|
+
repopact verify release
|
|
159
|
+
|
|
160
|
+
repopact release verify
|
|
161
|
+
repopact release build --outdir release-out
|
|
162
|
+
repopact release inspect --dist release-out
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
GitHub Actions is an **optional hosted adapter**, disabled by default. Hosted validation requires `REPOPACT_GITHUB_CI=true`; hosted publication requires the independent `REPOPACT_GITHUB_CD=true` switch. A local passing run is local evidence, not proof that a remote branch-protection or admission boundary is closed.
|
|
166
|
+
|
|
167
|
+
Verification, artifact construction, inspection, and publication remain separate operations. Publication requires explicit operator intent and credentials supplied outside the repository.
|
|
168
|
+
|
|
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.
|
|
170
|
+
|
|
171
|
+
See [`docs/guides/local-ci-cd.md`](docs/guides/local-ci-cd.md).
|
|
172
|
+
|
|
173
|
+
## Research, evidence, and falsifiability
|
|
174
|
+
|
|
175
|
+
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.
|
|
176
|
+
|
|
177
|
+
The repository includes:
|
|
178
|
+
|
|
179
|
+
- the current [paper draft](research/paper.md), **RepoPact: Repository-Native Governance for Durable Human-Agent Software Engineering**;
|
|
180
|
+
- a [formal model](research/formal-model.md) covering the L0-L5 kernel, governance continuity, invariant classes, and brownfield adoption;
|
|
181
|
+
- a pre-registered [experiment protocol](research/protocol.md) and [benchmark protocol](research/benchmark-protocol.md);
|
|
182
|
+
- explicit [threats to validity](research/threats-to-validity.md) and a [findings register](research/findings.md);
|
|
183
|
+
- a machine-checkable [conformance suite](CONFORMANCE.md);
|
|
184
|
+
- the public [RepoPact Proving Ground](https://github.com/ForgeWireLabs/repopact-proving-ground), where runnable PactBench work is exercised against a real adopter.
|
|
185
|
+
|
|
186
|
+
Comparative cross-model results are still forthcoming. They will be reported whether they support or challenge the current claims.
|
|
187
|
+
|
|
188
|
+
> RepoPact defines the pact. The Proving Ground tests whether the pact holds under agent pressure.
|
|
189
|
+
|
|
190
|
+
## What RepoPact is not
|
|
191
|
+
|
|
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.
|
|
193
|
+
|
|
194
|
+
It is the **durable governance layer** those systems can share.
|
|
195
|
+
|
|
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.
|
|
197
|
+
|
|
198
|
+
## Deeper technical references
|
|
199
|
+
|
|
200
|
+
- [`SPEC.md`](SPEC.md): repository model and machine-enforced rules
|
|
201
|
+
- [`CONFORMANCE.md`](CONFORMANCE.md): implementation-independent conformance contract
|
|
202
|
+
- [`governance/charter.md`](governance/charter.md): principles and non-goals
|
|
203
|
+
- [`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
|
|
205
|
+
- [`decisions/`](decisions/): durable architecture and policy decisions
|
|
206
|
+
- [`research/`](research/): formal model, protocols, findings, and paper
|
|
207
|
+
- [`work/`](work/): the project's own RepoPact-governed work ledger
|
|
208
|
+
|
|
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.
|
|
210
|
+
|
|
211
|
+
## ForgeWire Labs
|
|
212
|
+
|
|
213
|
+
RepoPact is the repository-governance layer of [ForgeWire Labs](https://github.com/ForgeWireLabs): inspect the work, bound the authority, preserve the evidence.
|
|
214
|
+
|
|
215
|
+
It is independently useful, but it also composes with the wider ForgeWire ecosystem where runtime execution, human communication, and broader agent orchestration are separate concerns.
|
|
216
|
+
|
|
217
|
+
## License
|
|
218
|
+
|
|
219
|
+
Apache-2.0. See [`LICENSE`](LICENSE) and [decision 0002](decisions/0002-license-apache-2.0.md).
|
|
220
|
+
|