payer-agent-audit 0.1.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- payer_agent_audit-0.1.4/CHANGELOG.md +78 -0
- payer_agent_audit-0.1.4/CITATION.cff +50 -0
- payer_agent_audit-0.1.4/LICENSE +19 -0
- payer_agent_audit-0.1.4/LICENSE-APACHE +201 -0
- payer_agent_audit-0.1.4/LICENSE-MIT +21 -0
- payer_agent_audit-0.1.4/LICENSING.md +30 -0
- payer_agent_audit-0.1.4/MANIFEST.in +6 -0
- payer_agent_audit-0.1.4/NOTICE +21 -0
- payer_agent_audit-0.1.4/PKG-INFO +278 -0
- payer_agent_audit-0.1.4/README.md +233 -0
- payer_agent_audit-0.1.4/docs/ASSURANCE-CATALOG.md +81 -0
- payer_agent_audit-0.1.4/docs/PYPI_TRUSTED_PUBLISHING_SETUP.md +163 -0
- payer_agent_audit-0.1.4/docs/TRADEMARK.md +15 -0
- payer_agent_audit-0.1.4/examples/__init__.py +1 -0
- payer_agent_audit-0.1.4/examples/quickstart_um_timeliness.py +70 -0
- payer_agent_audit-0.1.4/examples/worked_example.py +145 -0
- payer_agent_audit-0.1.4/pyproject.toml +145 -0
- payer_agent_audit-0.1.4/setup.cfg +4 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit/__init__.py +63 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit/_normalize.py +41 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit/agents/__init__.py +1 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit/cli.py +117 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit/governance/__init__.py +82 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit/governance/audit_chain.py +442 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit/governance/autonomy_ladder.py +219 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit/governance/defcon.py +267 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit/governance/effective_challenge_harness.py +218 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit/governance/sovereign_veto.py +259 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit/governance/witness_anchor.py +142 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit/payer/__init__.py +50 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit/payer/appeal_iro.py +157 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit/payer/clinician_of_record.py +149 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit/payer/funding_type.py +296 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit/payer/um_timeliness.py +127 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit/py.typed +0 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit/schemas/__init__.py +21 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit/schemas/audit_event.py +267 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit.egg-info/PKG-INFO +278 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit.egg-info/SOURCES.txt +53 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit.egg-info/dependency_links.txt +1 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit.egg-info/entry_points.txt +2 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit.egg-info/requires.txt +17 -0
- payer_agent_audit-0.1.4/src/payer_agent_audit.egg-info/top_level.txt +1 -0
- payer_agent_audit-0.1.4/tests/__init__.py +0 -0
- payer_agent_audit-0.1.4/tests/adversarial/__init__.py +0 -0
- payer_agent_audit-0.1.4/tests/adversarial/test_al_probes.py +357 -0
- payer_agent_audit-0.1.4/tests/golden_corpus.py +178 -0
- payer_agent_audit-0.1.4/tests/test_boundary_scan.py +90 -0
- payer_agent_audit-0.1.4/tests/test_cli.py +75 -0
- payer_agent_audit-0.1.4/tests/test_examples.py +16 -0
- payer_agent_audit-0.1.4/tests/test_golden_corpus.py +122 -0
- payer_agent_audit-0.1.4/tests/test_hardening_round3.py +345 -0
- payer_agent_audit-0.1.4/tests/test_payer_controls.py +423 -0
- payer_agent_audit-0.1.4/tests/test_primitives_units.py +568 -0
- payer_agent_audit-0.1.4/tests/test_property_based.py +238 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are documented here. The format follows
|
|
4
|
+
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project
|
|
5
|
+
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
|
+
|
|
7
|
+
## [0.1.4] — 2026-06-27
|
|
8
|
+
|
|
9
|
+
First distribution to PyPI via Trusted Publishing (packaging/release only, no code changes).
|
|
10
|
+
|
|
11
|
+
## [0.1.3] — 2026-06-09
|
|
12
|
+
|
|
13
|
+
Frontier-autonomy README section + 'for reviewers & safety teams' note; links the framework and the non-financial agent-coordination demo. Medical-necessity scope disclaimer unchanged. No source changes.
|
|
14
|
+
|
|
15
|
+
## [0.1.2] — 2026-06-09
|
|
16
|
+
|
|
17
|
+
Documentation release: README upgraded to the conversion standard (buyer-first hook, live CI/release badges, inline trust boundary, family block). Medical-necessity scope disclaimer unchanged. No source changes.
|
|
18
|
+
|
|
19
|
+
## [0.1.1] — 2026-06-06
|
|
20
|
+
|
|
21
|
+
Documentation and metadata patch (no code/behavior change).
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
- Backfilled the Zenodo DOI (concept `10.5281/zenodo.20564377`) into
|
|
25
|
+
`CITATION.cff`, the README badge, and `DOI-PLAN.md`; added `.zenodo.json`
|
|
26
|
+
for native, reliable Zenodo metadata.
|
|
27
|
+
- Scrubbed internal build-process references from public files (planning notes,
|
|
28
|
+
section markers) and strengthened `scripts/no_internal_notes_lint.py` to catch
|
|
29
|
+
that class.
|
|
30
|
+
- Litigation golden-corpus entry restated using the complaint's own words.
|
|
31
|
+
|
|
32
|
+
## [0.1.0] — 2026-06-05
|
|
33
|
+
|
|
34
|
+
Initial release. Module (a) health-payer (aligned to the NAIC Model Bulletin framework).
|
|
35
|
+
|
|
36
|
+
### Added
|
|
37
|
+
|
|
38
|
+
- **Five corrected-spec primitives** (`governance/`):
|
|
39
|
+
- Autonomy-ladder level-gate requiring independent attestation (rejects
|
|
40
|
+
self-attestation, stale, and evidence-less claims); labeled advisory.
|
|
41
|
+
- Sovereign veto — un-self-clearable; mandatory `Authorizer` in production
|
|
42
|
+
mode; `operator_id` bound to an authenticated principal; documented durable
|
|
43
|
+
state store.
|
|
44
|
+
- Hash-chain audit ledger — verifier branches the genesis seed so both
|
|
45
|
+
deployer-keyed hardened chains and legacy chains verify; production mode
|
|
46
|
+
requires an external witness anchor; in-place tamper detected on load and
|
|
47
|
+
on verify.
|
|
48
|
+
- DEFCON state machine — immediate escalation, transition-direction guard on
|
|
49
|
+
de-escalation (no one-call `HALT`/`SHUTDOWN → NORMAL`).
|
|
50
|
+
- Effective-challenge harness — enforces challenger ≠ primary; records an
|
|
51
|
+
operator independence attestation to the chain.
|
|
52
|
+
- **Module (a) health-payer controls** (`payer/`): funding-type obligation
|
|
53
|
+
routing (CMS / ERISA / state DOI / ACA), UM-timeliness check,
|
|
54
|
+
clinician-of-record-on-denial enforcement, appeal/IRO pathway control.
|
|
55
|
+
- **CLI** (`payer-audit`): `info`, `verify`, `obligations`.
|
|
56
|
+
- **Identity-guard hardening**: a shared NFKC + zero-width normalizer
|
|
57
|
+
(`_normalize.py`) so the self-attestation (P1), self-clear (P2), and ERISA
|
|
58
|
+
reviewer-independence guards cannot be defeated by Unicode-confusable or
|
|
59
|
+
zero-width disguises of an id.
|
|
60
|
+
- **PEP 561**: ships a `py.typed` marker so adopters consume the strict types.
|
|
61
|
+
- **Audit-chain participation**: DEFCON transitions and the promotion gate now
|
|
62
|
+
optionally emit to the audit chain, so every governance primitive can be
|
|
63
|
+
ledgered.
|
|
64
|
+
- **Tests**: unit + contract, property-based (thousands of generated cases),
|
|
65
|
+
golden corpus of public matters of record (primary-source URLs), the five
|
|
66
|
+
AL-PROBES under `tests/adversarial/`, a payer-not-FDA-SaMD boundary scan, and
|
|
67
|
+
a mutation pass (`scripts/mutation_check.py`). **100% line coverage, 100%
|
|
68
|
+
mutation kill** (gate floor ≥90%).
|
|
69
|
+
- **Docs**: README, ARCHITECTURE (trust-boundary diagram), LIMITATIONS
|
|
70
|
+
(payer-not-FDA-SaMD boundary), DISCLAIMER, FAILURE-MODES, NEGATIVE-USE-CASES,
|
|
71
|
+
ASSURANCE-CATALOG, NOTICE, LICENSE, LICENSING, TRADEMARK, CITATION.cff, DOI-PLAN.
|
|
72
|
+
|
|
73
|
+
### Notes
|
|
74
|
+
|
|
75
|
+
- Reference IP for adoption — not a deployed control. Makes no
|
|
76
|
+
medical-necessity or clinical determination.
|
|
77
|
+
- Module (b) P&C / Life-&-Annuity is on the roadmap and not yet shipped.
|
|
78
|
+
- Zero runtime dependencies.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
cff-version: 1.2.0
|
|
2
|
+
message: "If you use this framework, please cite it as below."
|
|
3
|
+
type: software
|
|
4
|
+
title: "payer-agent-audit: Governance patterns for autonomous AI agents in health-insurance / payer operations"
|
|
5
|
+
authors:
|
|
6
|
+
- family-names: Bhaduri
|
|
7
|
+
given-names: Kunjar
|
|
8
|
+
affiliation: North Texas Capital Investments
|
|
9
|
+
repository-code: "https://github.com/linus10x/payer-agent-audit"
|
|
10
|
+
url: "https://github.com/linus10x/payer-agent-audit"
|
|
11
|
+
abstract: >-
|
|
12
|
+
Reference governance patterns, schemas, and runnable implementations for
|
|
13
|
+
audit-ready autonomous AI agents in health-insurance / payer operations
|
|
14
|
+
(utilization management, prior authorization, and claims/appeals support),
|
|
15
|
+
aligned to the NAIC Model Bulletin framework. Ships five primitives built to a corrected
|
|
16
|
+
specification — an autonomy-ladder level-gate requiring independent
|
|
17
|
+
attestation, an un-self-clearable sovereign veto with a mandatory
|
|
18
|
+
production-mode authorizer, a tamper-detecting hash-chain ledger
|
|
19
|
+
(within-trust-boundary) whose verifier branches the genesis seed and whose
|
|
20
|
+
production mode requires an external witness anchor, a DEFCON state machine
|
|
21
|
+
with a transition-direction guard, and an effective-challenge harness that
|
|
22
|
+
enforces challenger-not-equal-primary and records an operator independence
|
|
23
|
+
attestation. Module (a) health-payer adds funding-type-aware obligation
|
|
24
|
+
routing (CMS vs ERISA vs state DOI vs ACA) and three controls: UM timeliness,
|
|
25
|
+
clinician-of-record-on-denial, and appeal/IRO pathway. The framework makes no
|
|
26
|
+
medical-necessity or clinical determination — a payer coverage decision is a
|
|
27
|
+
benefit adjudication under insurance law, distinct from FDA medical-device
|
|
28
|
+
regulation. Maps to reference regulatory anchors including the NAIC Model
|
|
29
|
+
Bulletin on insurer use of AI, CMS-0057-F, ERISA 29 CFR 2560.503-1, and ACA
|
|
30
|
+
45 CFR 147.136. Zero runtime dependencies. Independent research; no employer
|
|
31
|
+
or client IP or confidential material.
|
|
32
|
+
keywords:
|
|
33
|
+
- ai-governance
|
|
34
|
+
- autonomous-agents
|
|
35
|
+
- health-insurance
|
|
36
|
+
- payer
|
|
37
|
+
- utilization-management
|
|
38
|
+
- prior-authorization
|
|
39
|
+
- naic
|
|
40
|
+
- erisa
|
|
41
|
+
- cms
|
|
42
|
+
- audit-trail
|
|
43
|
+
license:
|
|
44
|
+
- MIT
|
|
45
|
+
- Apache-2.0
|
|
46
|
+
version: "0.1.4"
|
|
47
|
+
date-released: "2026-06-27"
|
|
48
|
+
# The concept DOI resolves to the latest version and is the preferred citeable
|
|
49
|
+
# handle; each tagged release also mints its own version-specific DOI.
|
|
50
|
+
doi: "10.5281/zenodo.20564377"
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
payer-agent-audit is dual-licensed under either of:
|
|
2
|
+
|
|
3
|
+
* Apache License, Version 2.0 (see LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
|
|
4
|
+
* MIT license (see LICENSE-MIT or http://opensource.org/licenses/MIT)
|
|
5
|
+
|
|
6
|
+
at your option.
|
|
7
|
+
|
|
8
|
+
SPDX-License-Identifier: MIT OR Apache-2.0
|
|
9
|
+
|
|
10
|
+
Dual-licensing preserves the MIT downstream-citation graph used by the sibling
|
|
11
|
+
Autonomy Ladder libraries while supplying the express patent grant (Apache 2.0
|
|
12
|
+
§3) that Tier-1 regulated-industry legal review typically requires before
|
|
13
|
+
authorizing inbound supply-chain inclusion. Adopters elect at integration time;
|
|
14
|
+
election does not require notice to the maintainer.
|
|
15
|
+
|
|
16
|
+
For the trademark posture (governed separately from this code license per
|
|
17
|
+
Apache 2.0 §6 and standard MIT practice), see docs/TRADEMARK.md.
|
|
18
|
+
|
|
19
|
+
For contribution license terms, see LICENSING.md.
|
|
@@ -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 describing the origin of the Work and
|
|
141
|
+
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 Kunjar Bhaduri
|
|
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,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Kunjar Bhaduri
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Licensing
|
|
2
|
+
|
|
3
|
+
`payer-agent-audit` is dual-licensed under either of:
|
|
4
|
+
|
|
5
|
+
- **Apache License, Version 2.0** — [LICENSE-APACHE](LICENSE-APACHE) · [apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
|
|
6
|
+
- **MIT license** — [LICENSE-MIT](LICENSE-MIT) · [opensource.org/licenses/MIT](http://opensource.org/licenses/MIT)
|
|
7
|
+
|
|
8
|
+
at the election of the adopter. Election does not require notice to the maintainer.
|
|
9
|
+
|
|
10
|
+
`SPDX-License-Identifier: MIT OR Apache-2.0`
|
|
11
|
+
|
|
12
|
+
## Why dual
|
|
13
|
+
|
|
14
|
+
- **Preserves the MIT citation graph** used by the sibling Autonomy Ladder libraries, so prior-adopter attribution does not break.
|
|
15
|
+
- **Supplies the express patent grant** (Apache 2.0 §3) that Tier-1 regulated-industry legal review routinely requires before authorizing open-source software into a regulated supply chain; MIT does not supply it.
|
|
16
|
+
- **Costs nothing at zero external contributors** and is reversible by a future maintainer (deprecating one arm is a SemVer-minor change; a unilateral re-license away from MIT is not).
|
|
17
|
+
|
|
18
|
+
## Adopter election
|
|
19
|
+
|
|
20
|
+
Adopters cite the elected license in their NOTICE, third-party-license inventory, or equivalent. Any of these forms satisfies the requirement under both licenses:
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
payer-agent-audit (Apache-2.0): https://github.com/linus10x/payer-agent-audit
|
|
24
|
+
payer-agent-audit (MIT): https://github.com/linus10x/payer-agent-audit
|
|
25
|
+
payer-agent-audit (MIT OR Apache-2.0): https://github.com/linus10x/payer-agent-audit
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Contributing under both licenses
|
|
29
|
+
|
|
30
|
+
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the project by you, as defined in the Apache License 2.0, shall be dual-licensed as above without any additional terms or conditions.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
payer-agent-audit
|
|
2
|
+
Copyright 2026 Kunjar Bhaduri / North Texas Capital Investments (NTCI)
|
|
3
|
+
|
|
4
|
+
This product includes software developed by Kunjar Bhaduri and contributors.
|
|
5
|
+
|
|
6
|
+
This is an independent research work authored by Kunjar Bhaduri through North
|
|
7
|
+
Texas Capital Investments. It was developed independently, outside the scope of
|
|
8
|
+
any employment, on the author's own time and resources, without use of any
|
|
9
|
+
employer's or client's confidential, proprietary, or trade-secret information
|
|
10
|
+
and without any employer or client equipment, systems, or facilities. It does
|
|
11
|
+
not incorporate any employer or client intellectual property, is not a work
|
|
12
|
+
made for hire for any employer or client, and does not represent the views of
|
|
13
|
+
any employer or client. All regulatory content is drawn from public primary
|
|
14
|
+
sources cited in the repository.
|
|
15
|
+
|
|
16
|
+
Licensed under either of the Apache License, Version 2.0 (LICENSE-APACHE) or
|
|
17
|
+
the MIT license (LICENSE-MIT) at the election of the adopter.
|
|
18
|
+
|
|
19
|
+
"Autonomy Ladder" and "ALO" are trademarks of NTCI Consulting, LLC (post-formation).
|
|
20
|
+
Trademark use is governed by docs/TRADEMARK.md and is independent of the source-code
|
|
21
|
+
license per Apache License 2.0 §6.
|