claimseal 0.1.0rc2__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.
- claimseal-0.1.0rc2/CHANGELOG.md +49 -0
- claimseal-0.1.0rc2/CITATION.cff +8 -0
- claimseal-0.1.0rc2/CONTRIBUTING.md +74 -0
- claimseal-0.1.0rc2/LICENSE +201 -0
- claimseal-0.1.0rc2/MANIFEST.in +8 -0
- claimseal-0.1.0rc2/NOTICE +2 -0
- claimseal-0.1.0rc2/PKG-INFO +170 -0
- claimseal-0.1.0rc2/README.md +130 -0
- claimseal-0.1.0rc2/SECURITY.md +25 -0
- claimseal-0.1.0rc2/docs/adr/0001-modular-monolith.md +17 -0
- claimseal-0.1.0rc2/docs/applicability.md +56 -0
- claimseal-0.1.0rc2/docs/architecture.md +86 -0
- claimseal-0.1.0rc2/docs/audits/0.1.0rc2.md +56 -0
- claimseal-0.1.0rc2/docs/compatibility.md +75 -0
- claimseal-0.1.0rc2/docs/formats.md +43 -0
- claimseal-0.1.0rc2/docs/integrations/github.md +82 -0
- claimseal-0.1.0rc2/docs/limitations.md +46 -0
- claimseal-0.1.0rc2/docs/performance.md +35 -0
- claimseal-0.1.0rc2/docs/release-engineering.md +76 -0
- claimseal-0.1.0rc2/docs/revalidation-and-metrics.md +102 -0
- claimseal-0.1.0rc2/docs/roadmap.md +66 -0
- claimseal-0.1.0rc2/docs/security-model.md +102 -0
- claimseal-0.1.0rc2/examples/questionnaire.json +7 -0
- claimseal-0.1.0rc2/examples/security-questionnaire.xlsx +0 -0
- claimseal-0.1.0rc2/examples/sources.json +29 -0
- claimseal-0.1.0rc2/examples/vendor-questionnaire.docx +0 -0
- claimseal-0.1.0rc2/pyproject.toml +88 -0
- claimseal-0.1.0rc2/release-toolchain-constraints.txt +10 -0
- claimseal-0.1.0rc2/schemas/DraftAnswer.schema.json +198 -0
- claimseal-0.1.0rc2/schemas/Questionnaire.schema.json +181 -0
- claimseal-0.1.0rc2/schemas/ReviewDecision.schema.json +64 -0
- claimseal-0.1.0rc2/schemas/SourceDocument.schema.json +134 -0
- claimseal-0.1.0rc2/scripts/check_architecture.py +17 -0
- claimseal-0.1.0rc2/scripts/check_contract.py +315 -0
- claimseal-0.1.0rc2/scripts/check_release.py +87 -0
- claimseal-0.1.0rc2/scripts/check_release_artifacts.py +543 -0
- claimseal-0.1.0rc2/scripts/generate_schemas.py +11 -0
- claimseal-0.1.0rc2/scripts/github_source_smoke.py +50 -0
- claimseal-0.1.0rc2/scripts/run_adversarial_eval.py +27 -0
- claimseal-0.1.0rc2/scripts/run_performance_probe.py +144 -0
- claimseal-0.1.0rc2/scripts/secret_scan.py +24 -0
- claimseal-0.1.0rc2/scripts/security_scan.py +28 -0
- claimseal-0.1.0rc2/scripts/smoke_install.py +8 -0
- claimseal-0.1.0rc2/setup.cfg +4 -0
- claimseal-0.1.0rc2/setup.py +3 -0
- claimseal-0.1.0rc2/src/claimseal/__init__.py +5 -0
- claimseal-0.1.0rc2/src/claimseal/__main__.py +3 -0
- claimseal-0.1.0rc2/src/claimseal/_version.py +1 -0
- claimseal-0.1.0rc2/src/claimseal/adapters/__init__.py +0 -0
- claimseal-0.1.0rc2/src/claimseal/adapters/exporters.py +377 -0
- claimseal-0.1.0rc2/src/claimseal/adapters/generator.py +19 -0
- claimseal-0.1.0rc2/src/claimseal/adapters/github_source.py +249 -0
- claimseal-0.1.0rc2/src/claimseal/adapters/memory.py +131 -0
- claimseal-0.1.0rc2/src/claimseal/adapters/parsers.py +262 -0
- claimseal-0.1.0rc2/src/claimseal/adapters/safety.py +102 -0
- claimseal-0.1.0rc2/src/claimseal/adapters/sqlite.py +257 -0
- claimseal-0.1.0rc2/src/claimseal/application/__init__.py +0 -0
- claimseal-0.1.0rc2/src/claimseal/application/bootstrap.py +17 -0
- claimseal-0.1.0rc2/src/claimseal/application/evaluation.py +134 -0
- claimseal-0.1.0rc2/src/claimseal/application/service.py +631 -0
- claimseal-0.1.0rc2/src/claimseal/cli.py +271 -0
- claimseal-0.1.0rc2/src/claimseal/data/adversarial_claim_corpus.json +325 -0
- claimseal-0.1.0rc2/src/claimseal/data/default_policy.yaml +12 -0
- claimseal-0.1.0rc2/src/claimseal/demo.py +92 -0
- claimseal-0.1.0rc2/src/claimseal/domain/__init__.py +0 -0
- claimseal-0.1.0rc2/src/claimseal/domain/audit.py +61 -0
- claimseal-0.1.0rc2/src/claimseal/domain/claim_safety.py +233 -0
- claimseal-0.1.0rc2/src/claimseal/domain/classification.py +19 -0
- claimseal-0.1.0rc2/src/claimseal/domain/errors.py +30 -0
- claimseal-0.1.0rc2/src/claimseal/domain/evidence.py +93 -0
- claimseal-0.1.0rc2/src/claimseal/domain/models.py +246 -0
- claimseal-0.1.0rc2/src/claimseal/domain/policy.py +60 -0
- claimseal-0.1.0rc2/src/claimseal/domain/retrieval.py +183 -0
- claimseal-0.1.0rc2/src/claimseal/domain/review.py +63 -0
- claimseal-0.1.0rc2/src/claimseal/evaluation.py +202 -0
- claimseal-0.1.0rc2/src/claimseal/ports/__init__.py +0 -0
- claimseal-0.1.0rc2/src/claimseal/ports/interfaces.py +72 -0
- claimseal-0.1.0rc2/src/claimseal/py.typed +0 -0
- claimseal-0.1.0rc2/src/claimseal/web/__init__.py +0 -0
- claimseal-0.1.0rc2/src/claimseal/web/app.py +215 -0
- claimseal-0.1.0rc2/src/claimseal.egg-info/PKG-INFO +170 -0
- claimseal-0.1.0rc2/src/claimseal.egg-info/SOURCES.txt +114 -0
- claimseal-0.1.0rc2/src/claimseal.egg-info/dependency_links.txt +1 -0
- claimseal-0.1.0rc2/src/claimseal.egg-info/entry_points.txt +2 -0
- claimseal-0.1.0rc2/src/claimseal.egg-info/requires.txt +29 -0
- claimseal-0.1.0rc2/src/claimseal.egg-info/top_level.txt +1 -0
- claimseal-0.1.0rc2/tests/conftest.py +47 -0
- claimseal-0.1.0rc2/tests/test_api_contract.py +51 -0
- claimseal-0.1.0rc2/tests/test_applicability_export.py +51 -0
- claimseal-0.1.0rc2/tests/test_audit.py +27 -0
- claimseal-0.1.0rc2/tests/test_claim_safety.py +106 -0
- claimseal-0.1.0rc2/tests/test_classification.py +18 -0
- claimseal-0.1.0rc2/tests/test_cli_security.py +25 -0
- claimseal-0.1.0rc2/tests/test_demo.py +8 -0
- claimseal-0.1.0rc2/tests/test_edited_claim_governance.py +61 -0
- claimseal-0.1.0rc2/tests/test_evaluation.py +149 -0
- claimseal-0.1.0rc2/tests/test_export_atomicity.py +47 -0
- claimseal-0.1.0rc2/tests/test_exporters.py +383 -0
- claimseal-0.1.0rc2/tests/test_github_source.py +310 -0
- claimseal-0.1.0rc2/tests/test_github_source_security.py +17 -0
- claimseal-0.1.0rc2/tests/test_models.py +34 -0
- claimseal-0.1.0rc2/tests/test_parsers.py +116 -0
- claimseal-0.1.0rc2/tests/test_policy.py +189 -0
- claimseal-0.1.0rc2/tests/test_release_artifacts.py +288 -0
- claimseal-0.1.0rc2/tests/test_release_output_path.py +63 -0
- claimseal-0.1.0rc2/tests/test_release_source.py +86 -0
- claimseal-0.1.0rc2/tests/test_retrieval.py +120 -0
- claimseal-0.1.0rc2/tests/test_revalidation_metrics.py +232 -0
- claimseal-0.1.0rc2/tests/test_review_integrity.py +106 -0
- claimseal-0.1.0rc2/tests/test_safety.py +79 -0
- claimseal-0.1.0rc2/tests/test_service.py +313 -0
- claimseal-0.1.0rc2/tests/test_source_impact.py +244 -0
- claimseal-0.1.0rc2/tests/test_sqlite.py +151 -0
- claimseal-0.1.0rc2/tests/test_transactional_audit.py +250 -0
- claimseal-0.1.0rc2/tests/test_web.py +81 -0
- claimseal-0.1.0rc2/tests/test_web_revalidation.py +74 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
- Added an exact v0.1 compatibility freeze for the public Python, CLI, OpenAPI, model-schema,
|
|
6
|
+
and SQLite surfaces, with cross-Python canonical contract evidence in CI.
|
|
7
|
+
- Made local evaluation API response schemas explicit and stopped exposing server-side
|
|
8
|
+
questionnaire source paths through the public questionnaire response.
|
|
9
|
+
- Hardened release builds to require version-consistent metadata, the current main tip, and the
|
|
10
|
+
exact named tag ref resolving to the checked-out commit for real tag/manual candidates.
|
|
11
|
+
- Added a self-contained Python 3.11/3.12/3.13 release quality matrix, compatibility verification,
|
|
12
|
+
and live GitHub evidence smoke.
|
|
13
|
+
- Added independent clean-source double builds, deterministic sdist metadata canonicalization,
|
|
14
|
+
exact retained-artifact comparison, archive payload safety checks, SHA-256 checksums, and
|
|
15
|
+
source-bound release evidence manifests.
|
|
16
|
+
- Added a retained-sdist rebuild check requiring the canonical source distribution to reproduce
|
|
17
|
+
the exact retained wheel under the recorded release environment.
|
|
18
|
+
- Pinned the release-only Python/frontend/backend toolchain with a retained constraints lock and
|
|
19
|
+
bound exact toolchain provenance into release evidence.
|
|
20
|
+
- Configured CodeQL and the retrieval performance probe to run on release-tag pushes.
|
|
21
|
+
|
|
22
|
+
## 0.1.0rc2
|
|
23
|
+
|
|
24
|
+
- Made export fail closed when required reviews are missing, rejected, or unresolved.
|
|
25
|
+
- Bound review decisions to the exact draft/evidence state and preserved append-only review history.
|
|
26
|
+
- Bound questionnaire locations to exact source bytes and blocked stale or ambiguous round-trip export.
|
|
27
|
+
- Prevented source-file and destination overwrite and made exports atomic create-if-absent commits.
|
|
28
|
+
- Added in-place DOCX table and nested-table export support.
|
|
29
|
+
- Hardened XLSX/CSV answer placement against occupied, hidden, merged, or ambiguous targets.
|
|
30
|
+
- Hardened Office archive inspection against unsafe paths, duplicates, encryption,
|
|
31
|
+
excessive members, oversized members, corrupt entries, and compression-ratio bombs.
|
|
32
|
+
- Bound evidence reuse to both source content and canonical source provenance metadata.
|
|
33
|
+
- Expanded deterministic source-change impact findings with questionnaire and latest-review context.
|
|
34
|
+
- Added one optional read-only GitHub exact-file evidence source with race-free ref pinning,
|
|
35
|
+
file-level version/freshness semantics, environment-only credentials, and explicit approval.
|
|
36
|
+
- Replaced the web adapter's server-local path import with bounded multipart upload storage.
|
|
37
|
+
- Moved review input to a JSON request body and stopped exposing local source paths.
|
|
38
|
+
- Made SQLite audit-event sequencing transactional under concurrent writers.
|
|
39
|
+
- Fixed the CLI web server so the selected database and upload directory are honored.
|
|
40
|
+
- Added negative, adversarial, migration, and concurrency regression tests and aligned CI, Docker,
|
|
41
|
+
security documentation, and release metadata.
|
|
42
|
+
|
|
43
|
+
## 0.1.0rc1
|
|
44
|
+
|
|
45
|
+
- Added safe multi-format questionnaire import.
|
|
46
|
+
- Added evidence source registry, retrieval, drafting, policy gates, reviews, and export.
|
|
47
|
+
- Added source-version impact analysis.
|
|
48
|
+
- Added SQLite and memory stores, audit verification, metrics, CLI, optional API, tests,
|
|
49
|
+
release evidence, threat model, and Codex handoff.
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
ClaimSeal is maintainer-led. Contributions should preserve its evidence-first and fail-closed design rather than broaden scope by default.
|
|
4
|
+
|
|
5
|
+
## Development setup
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
python -m venv .venv
|
|
9
|
+
source .venv/bin/activate
|
|
10
|
+
python -m pip install -e '.[dev,web]'
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Run the local quality gates before opening a pull request:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
ruff format --check .
|
|
17
|
+
ruff check .
|
|
18
|
+
mypy src/claimseal
|
|
19
|
+
python scripts/check_architecture.py
|
|
20
|
+
python scripts/security_scan.py
|
|
21
|
+
python scripts/secret_scan.py
|
|
22
|
+
python scripts/generate_schemas.py
|
|
23
|
+
git diff --exit-code -- schemas
|
|
24
|
+
python scripts/check_contract.py
|
|
25
|
+
pytest --cov=claimseal --cov-branch
|
|
26
|
+
claimseal demo
|
|
27
|
+
python -m pip_audit
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Document-format changes require round-trip fixtures and adversarial/security coverage.
|
|
31
|
+
|
|
32
|
+
## Security-sensitive changes
|
|
33
|
+
|
|
34
|
+
A security-sensitive change should include:
|
|
35
|
+
|
|
36
|
+
1. a concrete threat or failure scenario;
|
|
37
|
+
2. a regression test demonstrating the previous failure when practical;
|
|
38
|
+
3. the smallest implementation change that closes the boundary;
|
|
39
|
+
4. independent review;
|
|
40
|
+
5. updated limitations or release notes when residual risk changes.
|
|
41
|
+
|
|
42
|
+
Do not weaken review gates, archive-safety checks, formula neutralization, path protections, or audit invariants merely to make an input succeed.
|
|
43
|
+
|
|
44
|
+
## Architecture changes
|
|
45
|
+
|
|
46
|
+
ClaimSeal uses a modular-monolith architecture with hexagonal boundaries. Large changes to dependency direction, persistence boundaries, parser/export contracts, or deployment shape should add or update an ADR under `docs/adr/`.
|
|
47
|
+
|
|
48
|
+
## Release discipline
|
|
49
|
+
|
|
50
|
+
Before publishing a release:
|
|
51
|
+
|
|
52
|
+
- CI must be green on every supported Python version;
|
|
53
|
+
- Ruff, strict mypy, pytest/coverage, security checks, schema reproducibility, the v0.1 compatibility contract, demo and `pip-audit` must pass;
|
|
54
|
+
- a real candidate tag must match package metadata and point at the current `main` tip;
|
|
55
|
+
- the live GitHub evidence smoke must pass on the release source;
|
|
56
|
+
- artifact production must use the exact release Python and package pins in `release-toolchain-constraints.txt`, including isolated PEP 517 build dependencies;
|
|
57
|
+
- two independent clean source snapshots must produce byte-identical retained wheel/sdist artifacts after deterministic sdist metadata canonicalization;
|
|
58
|
+
- sdist canonicalization must preserve the exact member set and payload hashes, and the retained canonical sdist must rebuild the exact retained wheel under the same release lock;
|
|
59
|
+
- release distributions and the retained toolchain lock must pass archive/evidence integrity checks and SHA-256 checksum generation;
|
|
60
|
+
- distributions must also pass `twine check`, wheel reinstall, and installed-package smoke validation;
|
|
61
|
+
- the retained `release-evidence.json` must bind artifact hashes, normalization policy, raw-build observations, exact toolchain provenance, source commit, and compatibility lock;
|
|
62
|
+
- CodeQL and the performance probe must pass for a real release tag before publication is authorized;
|
|
63
|
+
- no customer data, credentials or machine-local artifacts may be included;
|
|
64
|
+
- release notes must state residual limitations accurately.
|
|
65
|
+
|
|
66
|
+
Every pull request executes the release workflow as a non-publishing dry run because changes across the repository can affect the packaged source distribution. See [release engineering](docs/release-engineering.md) for the exact evidence bundle, normalization boundary, toolchain lock, and source eligibility rules.
|
|
67
|
+
|
|
68
|
+
The reproducibility claim is intentionally limited to repeat builds under the exact recorded release toolchain and GitHub Actions runner family. It is not a universal cross-platform, cross-Python, runner-image, or arbitrary-toolchain reproducibility claim.
|
|
69
|
+
|
|
70
|
+
PyPI publication remains manual for the `0.1` line and is not authorized merely by a successful build artifact.
|
|
71
|
+
|
|
72
|
+
## Conduct
|
|
73
|
+
|
|
74
|
+
Be professional, specific and evidence-driven. Do not publish private customer material, credentials, exploit details, harassment or discriminatory content in repository discussions.
|
|
@@ -0,0 +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
|
|
95
|
+
Derivative 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 [yyyy] [name of copyright owner]
|
|
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.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
include README.md LICENSE NOTICE CHANGELOG.md SECURITY.md CONTRIBUTING.md CITATION.cff
|
|
2
|
+
include release-toolchain-constraints.txt
|
|
3
|
+
recursive-include docs *
|
|
4
|
+
recursive-include schemas *.json
|
|
5
|
+
recursive-include scripts *.py
|
|
6
|
+
recursive-include examples *
|
|
7
|
+
recursive-include tests *.py
|
|
8
|
+
recursive-include src/claimseal/data *
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: claimseal
|
|
3
|
+
Version: 0.1.0rc2
|
|
4
|
+
Summary: Evidence-governed RFP and security questionnaire automation.
|
|
5
|
+
Author: Mohammad Atashi
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/TensorScholar/claimseal
|
|
8
|
+
Project-URL: Issues, https://github.com/TensorScholar/claimseal/issues
|
|
9
|
+
Keywords: rfp,security-questionnaire,rag,presales,compliance
|
|
10
|
+
Requires-Python: >=3.11
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
License-File: NOTICE
|
|
14
|
+
Requires-Dist: openpyxl<4,>=3.1
|
|
15
|
+
Requires-Dist: pydantic<3,>=2.10
|
|
16
|
+
Requires-Dist: pypdf<7,>=5
|
|
17
|
+
Requires-Dist: python-docx<2,>=1.1
|
|
18
|
+
Requires-Dist: PyYAML<7,>=6
|
|
19
|
+
Requires-Dist: rich<16,>=13
|
|
20
|
+
Requires-Dist: typer<1,>=0.16
|
|
21
|
+
Provides-Extra: github
|
|
22
|
+
Requires-Dist: httpx<1,>=0.27; extra == "github"
|
|
23
|
+
Provides-Extra: web
|
|
24
|
+
Requires-Dist: fastapi<1,>=0.115; extra == "web"
|
|
25
|
+
Requires-Dist: python-multipart<1,>=0.0.20; extra == "web"
|
|
26
|
+
Requires-Dist: uvicorn<1,>=0.34; extra == "web"
|
|
27
|
+
Provides-Extra: dev
|
|
28
|
+
Requires-Dist: coverage<8,>=7.6; extra == "dev"
|
|
29
|
+
Requires-Dist: httpx<1,>=0.27; extra == "dev"
|
|
30
|
+
Requires-Dist: mypy<2,>=1.14; extra == "dev"
|
|
31
|
+
Requires-Dist: pip-audit<3,>=2.8; extra == "dev"
|
|
32
|
+
Requires-Dist: pytest<10,>=8.3; extra == "dev"
|
|
33
|
+
Requires-Dist: pytest-cov<8,>=6; extra == "dev"
|
|
34
|
+
Requires-Dist: ruff<1,>=0.12; extra == "dev"
|
|
35
|
+
Requires-Dist: types-openpyxl<4,>=3.1; extra == "dev"
|
|
36
|
+
Provides-Extra: release
|
|
37
|
+
Requires-Dist: build<2,>=1.2; extra == "release"
|
|
38
|
+
Requires-Dist: twine<7,>=6; extra == "release"
|
|
39
|
+
Dynamic: license-file
|
|
40
|
+
|
|
41
|
+
# ClaimSeal
|
|
42
|
+
|
|
43
|
+
[](https://github.com/TensorScholar/claimseal/actions/workflows/ci.yml)
|
|
44
|
+
|
|
45
|
+
**Evidence-governed RFP and security-questionnaire automation.**
|
|
46
|
+
|
|
47
|
+
ClaimSeal converts questionnaires into evidence-backed, reviewable claims instead of treating answer generation as an unconstrained text-completion problem.
|
|
48
|
+
|
|
49
|
+
```text
|
|
50
|
+
safe document import -> question extraction -> approved evidence retrieval
|
|
51
|
+
-> evidence-only draft -> policy gates -> human review -> safe export
|
|
52
|
+
-> source-change impact scan -> governed revalidation -> fresh review when required
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
> No evidence, no external claim.
|
|
56
|
+
|
|
57
|
+
ClaimSeal `0.1.0rc2` is a hardened engineering release candidate for demonstration and external review. It is **not a production-ready hosted service**.
|
|
58
|
+
|
|
59
|
+
## Why ClaimSeal
|
|
60
|
+
|
|
61
|
+
RFP and security-questionnaire workflows fail when generated answers cannot be traced to approved evidence or when sensitive claims bypass review. ClaimSeal makes those controls explicit:
|
|
62
|
+
|
|
63
|
+
- approved, versioned, applicability-bounded and freshness-aware evidence sources;
|
|
64
|
+
- deterministic evidence-only drafting by default;
|
|
65
|
+
- mandatory review for sensitive, conflicting, source-changed or otherwise reviewable claims;
|
|
66
|
+
- hard blocking for stale or unsupported claims until valid evidence exists;
|
|
67
|
+
- fail-closed export with source-file overwrite protection;
|
|
68
|
+
- safe XLSX, DOCX, CSV, JSON, Markdown and text-extractable PDF handling;
|
|
69
|
+
- source-change impact analysis plus identity-preserving claim revalidation with review invalidation;
|
|
70
|
+
- one narrow, commit-pinned GitHub exact-file evidence source;
|
|
71
|
+
- hash-chained audit events and governance metrics derived from current persisted state.
|
|
72
|
+
|
|
73
|
+
No API key is required for the default local workflow.
|
|
74
|
+
|
|
75
|
+
## Quick start
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
python -m venv .venv
|
|
79
|
+
source .venv/bin/activate
|
|
80
|
+
python -m pip install -e '.[web]'
|
|
81
|
+
claimseal demo
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
For development:
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
python -m pip install -e '.[dev,web]'
|
|
88
|
+
ruff format --check .
|
|
89
|
+
ruff check .
|
|
90
|
+
mypy src/claimseal
|
|
91
|
+
pytest --cov=claimseal --cov-branch
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
CI validates the supported Python 3.11, 3.12 and 3.13 matrix.
|
|
95
|
+
|
|
96
|
+
## GitHub evidence source
|
|
97
|
+
|
|
98
|
+
Install the optional connector and provide its credential only through the environment:
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
python -m pip install -e '.[github]'
|
|
102
|
+
export CLAIMSEAL_GITHUB_TOKEN='...'
|
|
103
|
+
claimseal ingest-github-source \
|
|
104
|
+
--database claimseal.db \
|
|
105
|
+
--identifier security-policy \
|
|
106
|
+
--title 'Security policy' \
|
|
107
|
+
--owner security \
|
|
108
|
+
--repository acme/security-policies \
|
|
109
|
+
--path docs/SECURITY.md \
|
|
110
|
+
--ref main \
|
|
111
|
+
--approved
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
The connector resolves the supplied ref to an immutable commit SHA and then reads the exact file at that commit. It does not search repositories, follow redirects, perform writes, persist the token, or inherit ambient HTTP proxy configuration. Without `--approved`, the source remains unavailable to default evidence retrieval.
|
|
115
|
+
|
|
116
|
+
See [GitHub evidence source](docs/integrations/github.md) for its authorization and validation boundary.
|
|
117
|
+
|
|
118
|
+
## Supported formats
|
|
119
|
+
|
|
120
|
+
| Format | Import | Export behavior |
|
|
121
|
+
| --- | --- | --- |
|
|
122
|
+
| XLSX | Yes | Writes answers to worksheet locations; formula-like output is neutralized |
|
|
123
|
+
| DOCX | Yes | Writes back to recorded paragraph/table locations |
|
|
124
|
+
| CSV | Yes | Writes to adjacent columns with formula neutralization |
|
|
125
|
+
| JSON | Yes | Structured questionnaire and claim-ledger output |
|
|
126
|
+
| Markdown | Yes | Questions are extracted from lines ending in `?` |
|
|
127
|
+
| PDF | Text-extractable only | Source PDF is not mutated; output is a JSON claim ledger |
|
|
128
|
+
|
|
129
|
+
Macro-enabled or malformed Office containers are rejected before parser libraries receive them. See [format support](docs/formats.md) for the exact boundary.
|
|
130
|
+
|
|
131
|
+
## Safety model
|
|
132
|
+
|
|
133
|
+
Export is fail closed. Drafts marked `review_required` or `conflict` need a successful human review bound to the exact current draft/evidence snapshot. `stale` evidence cannot be repaired by approval: the source must be refreshed and the affected claim revalidated. `unanswerable` drafts have no approved evidence and cannot be promoted to an external claim.
|
|
134
|
+
|
|
135
|
+
When current source state invalidates a claim snapshot, `impact-scan` identifies the dependency and `revalidate` replaces only the affected draft while preserving its answer identity and historical review record. A previous approval remains historical but is not transferable to the new digest. Source-changed claims that would otherwise auto-answer are deliberately forced through fresh review before release.
|
|
136
|
+
|
|
137
|
+
ClaimSeal also rejects attempts to overwrite the imported source questionnaire and commits completed exports with an atomic create-if-absent operation. Evidence reuse is blocked when either source content or source provenance metadata has drifted since retrieval.
|
|
138
|
+
|
|
139
|
+
See [revalidation and governance metrics](docs/revalidation-and-metrics.md), the [security model](docs/security-model.md), and [limitations](docs/limitations.md) before exposing any adapter or API beyond a local evaluation environment.
|
|
140
|
+
|
|
141
|
+
## Architecture
|
|
142
|
+
|
|
143
|
+
ClaimSeal is a modular monolith with hexagonal boundaries. Domain and application logic remain independent of document libraries, SQLite, FastAPI and other adapter dependencies.
|
|
144
|
+
|
|
145
|
+
See [architecture](docs/architecture.md) and [ADR 0001](docs/adr/0001-modular-monolith.md).
|
|
146
|
+
|
|
147
|
+
## Documentation
|
|
148
|
+
|
|
149
|
+
- [Architecture and integration contracts](docs/architecture.md)
|
|
150
|
+
- [v0.1 compatibility contract](docs/compatibility.md)
|
|
151
|
+
- [Source-change revalidation and governance metrics](docs/revalidation-and-metrics.md)
|
|
152
|
+
- [GitHub evidence source](docs/integrations/github.md)
|
|
153
|
+
- [Supported document formats](docs/formats.md)
|
|
154
|
+
- [Security model and risk register](docs/security-model.md)
|
|
155
|
+
- [Known limitations](docs/limitations.md)
|
|
156
|
+
- [Roadmap and success metrics](docs/roadmap.md)
|
|
157
|
+
- [0.1.0rc2 validation record](docs/audits/0.1.0rc2.md)
|
|
158
|
+
- [Security reporting policy](SECURITY.md)
|
|
159
|
+
- [Contributing and release discipline](CONTRIBUTING.md)
|
|
160
|
+
- [Changelog](CHANGELOG.md)
|
|
161
|
+
|
|
162
|
+
## Release boundary
|
|
163
|
+
|
|
164
|
+
Included in `0.1.0rc2`: safe import and extraction, evidence registry and retrieval, deterministic drafting, applicability/review gates, conflict/staleness handling, safe export, source-content and source-provenance impact scanning, governed claim revalidation, questionnaire-local governance metrics, SQLite/in-memory storage, audit verification, CLI, one optional commit-pinned GitHub exact-file evidence connector, optional local-only API, tests and release automation.
|
|
165
|
+
|
|
166
|
+
Not included: OCR, broad enterprise connector coverage, repository discovery/search, browser extensions, autonomous legal approval, hosted multi-tenancy, authentication/authorization, production DLP/retention controls, or a production-readiness claim.
|
|
167
|
+
|
|
168
|
+
## License
|
|
169
|
+
|
|
170
|
+
Apache License 2.0. See [LICENSE](LICENSE) and [NOTICE](NOTICE).
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
# ClaimSeal
|
|
2
|
+
|
|
3
|
+
[](https://github.com/TensorScholar/claimseal/actions/workflows/ci.yml)
|
|
4
|
+
|
|
5
|
+
**Evidence-governed RFP and security-questionnaire automation.**
|
|
6
|
+
|
|
7
|
+
ClaimSeal converts questionnaires into evidence-backed, reviewable claims instead of treating answer generation as an unconstrained text-completion problem.
|
|
8
|
+
|
|
9
|
+
```text
|
|
10
|
+
safe document import -> question extraction -> approved evidence retrieval
|
|
11
|
+
-> evidence-only draft -> policy gates -> human review -> safe export
|
|
12
|
+
-> source-change impact scan -> governed revalidation -> fresh review when required
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
> No evidence, no external claim.
|
|
16
|
+
|
|
17
|
+
ClaimSeal `0.1.0rc2` is a hardened engineering release candidate for demonstration and external review. It is **not a production-ready hosted service**.
|
|
18
|
+
|
|
19
|
+
## Why ClaimSeal
|
|
20
|
+
|
|
21
|
+
RFP and security-questionnaire workflows fail when generated answers cannot be traced to approved evidence or when sensitive claims bypass review. ClaimSeal makes those controls explicit:
|
|
22
|
+
|
|
23
|
+
- approved, versioned, applicability-bounded and freshness-aware evidence sources;
|
|
24
|
+
- deterministic evidence-only drafting by default;
|
|
25
|
+
- mandatory review for sensitive, conflicting, source-changed or otherwise reviewable claims;
|
|
26
|
+
- hard blocking for stale or unsupported claims until valid evidence exists;
|
|
27
|
+
- fail-closed export with source-file overwrite protection;
|
|
28
|
+
- safe XLSX, DOCX, CSV, JSON, Markdown and text-extractable PDF handling;
|
|
29
|
+
- source-change impact analysis plus identity-preserving claim revalidation with review invalidation;
|
|
30
|
+
- one narrow, commit-pinned GitHub exact-file evidence source;
|
|
31
|
+
- hash-chained audit events and governance metrics derived from current persisted state.
|
|
32
|
+
|
|
33
|
+
No API key is required for the default local workflow.
|
|
34
|
+
|
|
35
|
+
## Quick start
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
python -m venv .venv
|
|
39
|
+
source .venv/bin/activate
|
|
40
|
+
python -m pip install -e '.[web]'
|
|
41
|
+
claimseal demo
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
For development:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
python -m pip install -e '.[dev,web]'
|
|
48
|
+
ruff format --check .
|
|
49
|
+
ruff check .
|
|
50
|
+
mypy src/claimseal
|
|
51
|
+
pytest --cov=claimseal --cov-branch
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
CI validates the supported Python 3.11, 3.12 and 3.13 matrix.
|
|
55
|
+
|
|
56
|
+
## GitHub evidence source
|
|
57
|
+
|
|
58
|
+
Install the optional connector and provide its credential only through the environment:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
python -m pip install -e '.[github]'
|
|
62
|
+
export CLAIMSEAL_GITHUB_TOKEN='...'
|
|
63
|
+
claimseal ingest-github-source \
|
|
64
|
+
--database claimseal.db \
|
|
65
|
+
--identifier security-policy \
|
|
66
|
+
--title 'Security policy' \
|
|
67
|
+
--owner security \
|
|
68
|
+
--repository acme/security-policies \
|
|
69
|
+
--path docs/SECURITY.md \
|
|
70
|
+
--ref main \
|
|
71
|
+
--approved
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
The connector resolves the supplied ref to an immutable commit SHA and then reads the exact file at that commit. It does not search repositories, follow redirects, perform writes, persist the token, or inherit ambient HTTP proxy configuration. Without `--approved`, the source remains unavailable to default evidence retrieval.
|
|
75
|
+
|
|
76
|
+
See [GitHub evidence source](docs/integrations/github.md) for its authorization and validation boundary.
|
|
77
|
+
|
|
78
|
+
## Supported formats
|
|
79
|
+
|
|
80
|
+
| Format | Import | Export behavior |
|
|
81
|
+
| --- | --- | --- |
|
|
82
|
+
| XLSX | Yes | Writes answers to worksheet locations; formula-like output is neutralized |
|
|
83
|
+
| DOCX | Yes | Writes back to recorded paragraph/table locations |
|
|
84
|
+
| CSV | Yes | Writes to adjacent columns with formula neutralization |
|
|
85
|
+
| JSON | Yes | Structured questionnaire and claim-ledger output |
|
|
86
|
+
| Markdown | Yes | Questions are extracted from lines ending in `?` |
|
|
87
|
+
| PDF | Text-extractable only | Source PDF is not mutated; output is a JSON claim ledger |
|
|
88
|
+
|
|
89
|
+
Macro-enabled or malformed Office containers are rejected before parser libraries receive them. See [format support](docs/formats.md) for the exact boundary.
|
|
90
|
+
|
|
91
|
+
## Safety model
|
|
92
|
+
|
|
93
|
+
Export is fail closed. Drafts marked `review_required` or `conflict` need a successful human review bound to the exact current draft/evidence snapshot. `stale` evidence cannot be repaired by approval: the source must be refreshed and the affected claim revalidated. `unanswerable` drafts have no approved evidence and cannot be promoted to an external claim.
|
|
94
|
+
|
|
95
|
+
When current source state invalidates a claim snapshot, `impact-scan` identifies the dependency and `revalidate` replaces only the affected draft while preserving its answer identity and historical review record. A previous approval remains historical but is not transferable to the new digest. Source-changed claims that would otherwise auto-answer are deliberately forced through fresh review before release.
|
|
96
|
+
|
|
97
|
+
ClaimSeal also rejects attempts to overwrite the imported source questionnaire and commits completed exports with an atomic create-if-absent operation. Evidence reuse is blocked when either source content or source provenance metadata has drifted since retrieval.
|
|
98
|
+
|
|
99
|
+
See [revalidation and governance metrics](docs/revalidation-and-metrics.md), the [security model](docs/security-model.md), and [limitations](docs/limitations.md) before exposing any adapter or API beyond a local evaluation environment.
|
|
100
|
+
|
|
101
|
+
## Architecture
|
|
102
|
+
|
|
103
|
+
ClaimSeal is a modular monolith with hexagonal boundaries. Domain and application logic remain independent of document libraries, SQLite, FastAPI and other adapter dependencies.
|
|
104
|
+
|
|
105
|
+
See [architecture](docs/architecture.md) and [ADR 0001](docs/adr/0001-modular-monolith.md).
|
|
106
|
+
|
|
107
|
+
## Documentation
|
|
108
|
+
|
|
109
|
+
- [Architecture and integration contracts](docs/architecture.md)
|
|
110
|
+
- [v0.1 compatibility contract](docs/compatibility.md)
|
|
111
|
+
- [Source-change revalidation and governance metrics](docs/revalidation-and-metrics.md)
|
|
112
|
+
- [GitHub evidence source](docs/integrations/github.md)
|
|
113
|
+
- [Supported document formats](docs/formats.md)
|
|
114
|
+
- [Security model and risk register](docs/security-model.md)
|
|
115
|
+
- [Known limitations](docs/limitations.md)
|
|
116
|
+
- [Roadmap and success metrics](docs/roadmap.md)
|
|
117
|
+
- [0.1.0rc2 validation record](docs/audits/0.1.0rc2.md)
|
|
118
|
+
- [Security reporting policy](SECURITY.md)
|
|
119
|
+
- [Contributing and release discipline](CONTRIBUTING.md)
|
|
120
|
+
- [Changelog](CHANGELOG.md)
|
|
121
|
+
|
|
122
|
+
## Release boundary
|
|
123
|
+
|
|
124
|
+
Included in `0.1.0rc2`: safe import and extraction, evidence registry and retrieval, deterministic drafting, applicability/review gates, conflict/staleness handling, safe export, source-content and source-provenance impact scanning, governed claim revalidation, questionnaire-local governance metrics, SQLite/in-memory storage, audit verification, CLI, one optional commit-pinned GitHub exact-file evidence connector, optional local-only API, tests and release automation.
|
|
125
|
+
|
|
126
|
+
Not included: OCR, broad enterprise connector coverage, repository discovery/search, browser extensions, autonomous legal approval, hosted multi-tenancy, authentication/authorization, production DLP/retention controls, or a production-readiness claim.
|
|
127
|
+
|
|
128
|
+
## License
|
|
129
|
+
|
|
130
|
+
Apache License 2.0. See [LICENSE](LICENSE) and [NOTICE](NOTICE).
|