dmytro-nasyrov commited on
Commit
c1239e9
·
verified ·
1 Parent(s): 6f2b0b0

Add 42 draft decision records with native method registries

Browse files

Preserve 17 RAG rules, 12 weighted build-or-buy criteria and 5 framework profiles without changing native method semantics. Add 8 separately identified architecture proposals. Include deterministic exporter, fixed source snapshots, candidate schema and attribution. Human review and canonical proposal adoption remain pending.

CHANGELOG.md CHANGED
@@ -1,7 +1,10 @@
1
- # Changelog
2
 
3
- ## Private preparation 2026-08-18.1
4
 
5
- - Added a blocking Dataset card and candidate schema.
6
- - Registered the `rag`, `build_buy`, `framework` and `architecture` configs.
7
- - Kept the released row count at zero while all source gates remain open.
 
 
 
 
1
+ # Candidate changes
2
 
3
+ 2026-09-17 — 0.1.0-candidate.1
4
 
5
+ - Added actual draft JSONL partitions and a deterministic snapshot exporter.
6
+ - Preserved native source payloads, method registries, hashes and source-specific notices.
7
+ - Added explicit unreviewed candidate schema; preserved the original release schema.
8
+ - Separated original proposals from published source facts.
9
+ - Connected the companion Space to an immutable, hash-checked dataset snapshot.
10
+ - Public release and human review remain pending. Earlier commits retain the previous preparation history.
LICENSE-NOTICE.md ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Source attribution and license scope
2
+
3
+ This private candidate preserves upstream declarations. It does not assign a new blanket license to proposed additions or claim a signed rights decision. Referenced third-party works and trademarks retain their respective rights.
4
+
5
+ ## rag
6
+
7
+ Source: https://github.com/PharosProduction/rag-vs-fine-tuning-matrix at `6ea24ef75c3ad09a3bb76d1c20a173bfab592559`.
8
+
9
+ # Data license
10
+
11
+ The original structured data in `data/` and its byte-identical public mirror
12
+ in `docs/data/` are licensed under the Creative Commons Attribution 4.0
13
+ International license (CC BY 4.0).
14
+
15
+ Attribution: **Pharos Production, “RAG vs Fine-Tuning Decision Matrix,” 2026**.
16
+
17
+ The license text and terms are available at
18
+ <https://creativecommons.org/licenses/by/4.0/>.
19
+
20
+ This license covers the original selection, organization, annotations, rules,
21
+ and scenarios in those directories. It does not relicense third-party source
22
+ material referenced by URL. Each source remains subject to its publisher's
23
+ terms. Pharos Production names and marks are not licensed for use as trademarks.
24
+
25
+
26
+ MIT License
27
+
28
+ Copyright (c) 2026 Pharos Production
29
+
30
+ Permission is hereby granted, free of charge, to any person obtaining a copy
31
+ of this software and associated documentation files (the "Software"), to deal
32
+ in the Software without restriction, including without limitation the rights
33
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
34
+ copies of the Software, and to permit persons to whom the Software is
35
+ furnished to do so, subject to the following conditions:
36
+
37
+ The above copyright notice and this permission notice shall be included in all
38
+ copies or substantial portions of the Software.
39
+
40
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
41
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
42
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
43
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
44
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
45
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
46
+ SOFTWARE.
47
+
48
+
49
+ ## build_buy
50
+
51
+ Source: https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard at `c8ad4067654a6777cea3b652a80f62dc6aeb21fb`.
52
+
53
+ # Data license
54
+
55
+ The original decision-model registries in `data/` are licensed under Creative
56
+ Commons Attribution 4.0 International (CC BY 4.0). Third-party source titles,
57
+ trademarks and linked works remain the property of their respective owners.
58
+
59
+
60
+ MIT License
61
+
62
+ Copyright (c) 2026 Pharos Production
63
+
64
+ Permission is hereby granted, free of charge, to any person obtaining a copy
65
+ of this software and associated documentation files (the "Software"), to deal
66
+ in the Software without restriction, including without limitation the rights
67
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
68
+ copies of the Software, and to permit persons to whom the Software is
69
+ furnished to do so, subject to the following conditions:
70
+
71
+ The above copyright notice and this permission notice shall be included in all
72
+ copies or substantial portions of the Software.
73
+
74
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
75
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
76
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
77
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
78
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
79
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
80
+ SOFTWARE.
81
+
82
+
83
+ ## framework
84
+
85
+ Source: https://github.com/PharosProduction/enterprise-ai-agent-frameworks at `b1213f374722edde01ca74a7ccac68e835070705`.
86
+
87
+ # Editorial text and data license
88
+
89
+ The original editorial text, framework comparison dataset, claim ledger and source annotations in this repository are licensed under the [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/).
90
+
91
+ Attribution: **Pharos Production Engineering Editorial, “Top 5 AI Agent Frameworks for Enterprise Workflows,” research cutoff 28 August 2026.**
92
+
93
+ The license does not apply to third-party names, trademarks, source documentation or quoted facts, which remain subject to their respective rights. The comparison is engineering decision support, not legal advice, a security certification or a vendor endorsement.
94
+
95
+
96
+ MIT License
97
+
98
+ Copyright (c) 2026 Pharos Production
99
+
100
+ Permission is hereby granted, free of charge, to any person obtaining a copy
101
+ of this software and associated documentation files (the "Software"), to deal
102
+ in the Software without restriction, including without limitation the rights
103
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
104
+ copies of the Software, and to permit persons to whom the Software is
105
+ furnished to do so, subject to the following conditions:
106
+
107
+ The above copyright notice and this permission notice shall be included in all
108
+ copies or substantial portions of the Software.
109
+
110
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
111
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
112
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
113
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
114
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
115
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
116
+ SOFTWARE.
117
+
README.md CHANGED
@@ -1,76 +1,80 @@
1
  ---
2
- pretty_name: Production AI Decision Rules (Private Preparation)
3
- language: [en]
4
- tags: [decision-support, production-ai, provenance, governance]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  ---
6
 
7
- # Production AI Decision Rules
8
 
9
- **Private preparation: no released rows.** The four configs are present in
10
- the contract, but their source gates are still open. This repository must stay
11
- private and must not be cited as a released Dataset.
12
 
13
- ## Audience
14
 
15
- This Dataset is designed for CTOs, AI platform architects and technical owners
16
- who need a traceable starting point for a bounded architecture experiment.
17
 
18
- ## Decision job
19
 
20
- `PATH_SELECTION` returns a candidate implementation path, its disqualifiers and
21
- the evidence still missing for the stated scenario. It does not issue a
22
- universal recommendation. The intended configs are `rag`, `build_buy`,
23
- `framework` and `architecture`.
 
 
24
 
25
- ## Source boundary
26
 
27
- GitHub repositories and their live Pages releases remain canonical. A row can
28
- only be generated from a fixed source commit and a verified canonical data
29
- bundle. Corrections happen upstream; Hugging Face rows are never edited as an
30
- independent source of truth.
31
 
32
- The RAG matrix is live and passes its automated source checks. It is still
33
- blocked here because named review, rights approval, primary-claim closure and a
34
- lossless export mapping are absent. The other three mapped sources are not yet
35
- built or published.
36
 
37
- ## Schema and configs
38
 
39
- `schema.json` defines the candidate row contract and lineage fields. A released
40
- row must identify its source asset, HTTPS URL, fixed commit, source bundle hash,
41
- version, review status, verification time and limitations. No JSONL files or
42
- `data_files` mapping are present while every config remains source-gated.
43
 
44
- ## Limitations
45
 
46
- - The Dataset contains zero released rows.
47
- - The schema is a candidate until each source maps without invented fields.
48
- - A candidate path still requires a bounded experiment and accountable human
49
- decision-making.
50
- - Contradictory reviewed sources remain `DISPUTED` and block a primary result.
51
 
52
- ## License and rights state
53
 
54
- No Dataset license has been selected. Upstream declarations do not replace a
55
- named decision covering redistribution in the combined Dataset. Public release
56
- is blocked until that decision and the privacy review are recorded.
57
 
58
- ## Review state
59
 
60
- No named technical reviewer or rights approver has signed this Dataset scope.
61
- The source manifest records each missing receipt explicitly. Automated tests
62
- are technical evidence, not human sign-off.
63
 
64
- ## Corrections
65
 
66
- Report a source error in the canonical GitHub repository named by the affected
67
- manifest entry. A correction must produce a new source commit, deterministic
68
- export, validation record and immutable Dataset revision.
69
 
70
- ## Publication gate
71
 
72
- Release requires every source predicate to pass together: live source, fixed
73
- commit, canonical bundle hash, closed primary claims, deterministic validation,
74
- named technical review, named rights approval, visible limitations and passed
75
- technical and E-E-A-T checks. The planned calendar date does not override this
76
- gate.
 
1
  ---
2
+ language:
3
+ - en
4
+ pretty_name: Production AI Decision Rules v0.1
5
+ size_categories:
6
+ - n<1K
7
+ tags:
8
+ - production-ai
9
+ - decision-support
10
+ - provenance
11
+ - draft
12
+ configs:
13
+ - config_name: rag
14
+ data_files:
15
+ - split: draft
16
+ path: rag.jsonl
17
+ - config_name: build_buy
18
+ data_files:
19
+ - split: draft
20
+ path: build_buy.jsonl
21
+ - config_name: framework
22
+ data_files:
23
+ - split: draft
24
+ path: framework.jsonl
25
+ - config_name: architecture
26
+ data_files:
27
+ - split: draft
28
+ path: architecture.jsonl
29
  ---
30
 
31
+ # Production AI Decision Rules v0.1
32
 
33
+ **Functional private candidate · independent human review pending.**
 
 
34
 
35
+ This private candidate contains **42 decision records** and their native method registries. The companion [Decision Lab](https://huggingface.co/spaces/pharosproduction/production-ai-decision-lab) applies scenario inputs, shows a candidate path and retains missing evidence, exclusions and source boundaries.
36
 
37
+ Pharos Production's published [RAG and fine-tuning decision matrix](https://pharosproduction.github.io/rag-vs-fine-tuning-matrix/) makes selection criteria and stopping conditions inspectable. This package preserves that approach alongside the native build-or-buy and framework methods, with a separate architecture proposal.
 
38
 
39
+ ## Contents
40
 
41
+ | Config | Draft records | Preserved method |
42
+ |---|---:|---|
43
+ | `rag` | 17 | Eleven decision rules and six advisories. Ascending priority, first decision match, all/any/none condition groups. |
44
+ | `build_buy` | 12 | Weighted criteria, native thresholds, unknown-input gates and blocking constraints. |
45
+ | `framework` | 5 | Native framework profiles. Language/deployment filters and preference ordering. |
46
+ | `architecture` | 8 | Original proposed pattern rules, pending a published canonical source and human review. |
47
 
48
+ All partitions use the `draft` split. Every row has `review_status=NOT_REVIEWED`, `status=DRAFT` and `verified_at=null`. There are no reviewed release rows in this candidate.
49
 
50
+ ## How to use the records
 
 
 
51
 
52
+ RAG rules retain their original priorities and exclusion semantics. Build-or-buy retains the signed known-weight formula and its constraint override. The index is not a probability, price estimate or benchmark. Framework ordering reflects selected preferences among profiles that satisfy the hard filters. Architecture rules are an explicit proposal for evaluation, not evidence that one pattern will outperform another.
 
 
 
53
 
54
+ Each row has `record_id`, `record_type`, `config`, `payload_json` and lineage fields. `payload_json` preserves the native rule, criterion or framework object. `data.json` includes the complete method registries required by the engines. A typed envelope prevents weighted criteria or framework profiles from being silently converted into Boolean rules.
55
 
56
+ The current `schema.json` is candidate schema **2.0.0-candidate.1**. The earlier public-release contract is preserved byte-for-byte as `release-schema-v1.json`. Candidate states are a deliberate schema change. They do not satisfy the earlier `REVIEWED` gate. A consumer of the old schema must opt into the candidate contract explicitly.
 
 
 
57
 
58
+ ## Reproducibility and provenance
59
 
60
+ `source-snapshot.json` retains the exact native file contents, source commits and file hashes. `source-manifest.json` indexes them. `source-proposals.json` records new AI-assisted engineering suggestions separately. Those suggestions have not been adopted into canonical upstream sources. The eight architecture proposals are authored preparation material, not observed results.
 
 
 
 
61
 
62
+ To check a downloaded repository with Python's standard library, run:
63
 
64
+ ```sh
65
+ python3 exporter.py --verify-dataset .
66
+ ```
67
 
68
+ The check rebuilds every JSONL partition and `data.json` in memory, compares the exported bytes and verifies the retained source-file hashes. It makes no network call. The Space locks the dataset to an exact Hugging Face commit and checks the bundled `data.json` SHA-256 before evaluation.
69
 
70
+ ## Boundaries and review
 
 
71
 
72
+ Framework evidence retains its August 28, 2026 cutoff and historical versions. Verify current capability behavior before implementation. A language listing does not establish feature parity across SDKs. Architecture proposals have no canonical source commit. Their commit and source URL are explicitly null. Unknown scenario inputs remain unknown. The cost benchmark is excluded.
73
 
74
+ No client records, production telemetry or credentials are included. Examples in the Space are explicitly fictional. AI assistance prepared normalized fields, proposals and packaging. Automated checks cannot supply independent human review, rights approval or actual operational evidence. Public release still requires the recorded source, review and rights decisions. Changing a status label is not a substitute.
 
 
75
 
76
+ ## Rights and corrections
77
 
78
+ `LICENSE-NOTICE.md` preserves source-specific MIT and CC BY 4.0 declarations and attribution. Linked third-party works retain their owners' terms. No new blanket license or human rights-approval signature is asserted for the combined candidate.
79
+
80
+ Correct source facts in the relevant canonical repository, then regenerate the snapshot. Review new proposals in `source-proposals.json` before adopting them upstream. Report packaging defects with a record ID, exact dataset revision and file hash, without private evidence payloads. See `CHANGELOG.md` for this candidate's changes.
 
 
architecture.jsonl ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {"config": "architecture", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"id\": \"ARCH-NO-EVALUATION\", \"next_steps\": [\"Define representative cases, failure criteria and an accountable acceptance owner before selecting an autonomous path.\"], \"outcome\": \"EVALUATION_REQUIRED\", \"priority\": 10, \"rejected_options\": [\"AUTONOMOUS_RELEASE\"], \"when\": {\"all\": [{\"criterionId\": \"evaluation_ready\", \"operator\": \"equals\", \"value\": \"no\"}], \"any\": [], \"none\": []}}", "record_id": "ARCH-NO-EVALUATION", "record_type": "PATTERN_RULE_PROPOSAL", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": null, "source_data_hash": "sha256:6059c2b5fae158edd2f4071767ae7fbe3d1bfb4a10f6b6f7d7063d9905531d38", "source_url": null, "status": "DRAFT", "verified_at": null}
2
+ {"config": "architecture", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"id\": \"ARCH-UNKNOWN-CORE\", \"next_steps\": [\"Resolve the unknown core questions; unknown is not equivalent to no.\"], \"outcome\": \"INSUFFICIENT_EVIDENCE\", \"priority\": 20, \"rejected_options\": [], \"when\": {\"all\": [], \"any\": [{\"criterionId\": \"evaluation_ready\", \"operator\": \"equals\", \"value\": \"unknown\"}, {\"criterionId\": \"fixed_steps\", \"operator\": \"equals\", \"value\": \"unknown\"}, {\"criterionId\": \"external_knowledge\", \"operator\": \"equals\", \"value\": \"unknown\"}, {\"criterionId\": \"tool_actions\", \"operator\": \"equals\", \"value\": \"unknown\"}, {\"criterionId\": \"independent_subtasks\", \"operator\": \"equals\", \"value\": \"unknown\"}, {\"criterionId\": \"parallel_justified\", \"operator\": \"equals\", \"value\": \"unknown\"}], \"none\": []}}", "record_id": "ARCH-UNKNOWN-CORE", "record_type": "PATTERN_RULE_PROPOSAL", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": null, "source_data_hash": "sha256:6059c2b5fae158edd2f4071767ae7fbe3d1bfb4a10f6b6f7d7063d9905531d38", "source_url": null, "status": "DRAFT", "verified_at": null}
3
+ {"config": "architecture", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"id\": \"ARCH-ACTION-BOUNDARY\", \"next_steps\": [\"Define scoped authorization, approval, containment and recovery for external effects.\"], \"outcome\": \"ACTION_BOUNDARY_REQUIRED\", \"priority\": 30, \"rejected_options\": [\"AUTONOMOUS_TOOL_ACTIONS\"], \"when\": {\"all\": [{\"criterionId\": \"tool_actions\", \"operator\": \"equals\", \"value\": \"yes\"}], \"any\": [{\"criterionId\": \"approval_boundary\", \"operator\": \"not_equals\", \"value\": \"yes\"}, {\"criterionId\": \"recovery_tested\", \"operator\": \"not_equals\", \"value\": \"yes\"}], \"none\": []}}", "record_id": "ARCH-ACTION-BOUNDARY", "record_type": "PATTERN_RULE_PROPOSAL", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": null, "source_data_hash": "sha256:6059c2b5fae158edd2f4071767ae7fbe3d1bfb4a10f6b6f7d7063d9905531d38", "source_url": null, "status": "DRAFT", "verified_at": null}
4
+ {"config": "architecture", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"id\": \"ARCH-FIXED-WORKFLOW\", \"next_steps\": [\"Implement explicit step transitions and validation gates; attach retrieval or approved tools only where the step requires them.\"], \"outcome\": \"DETERMINISTIC_WORKFLOW\", \"priority\": 40, \"rejected_options\": [], \"when\": {\"all\": [{\"criterionId\": \"fixed_steps\", \"operator\": \"equals\", \"value\": \"yes\"}], \"any\": [], \"none\": []}}", "record_id": "ARCH-FIXED-WORKFLOW", "record_type": "PATTERN_RULE_PROPOSAL", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": null, "source_data_hash": "sha256:6059c2b5fae158edd2f4071767ae7fbe3d1bfb4a10f6b6f7d7063d9905531d38", "source_url": null, "status": "DRAFT", "verified_at": null}
5
+ {"config": "architecture", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"id\": \"ARCH-RETRIEVAL\", \"next_steps\": [\"Validate source access, retrieval coverage and answer grounding against the evaluation set.\"], \"outcome\": \"RETRIEVAL_PIPELINE\", \"priority\": 50, \"rejected_options\": [], \"when\": {\"all\": [{\"criterionId\": \"tool_actions\", \"operator\": \"equals\", \"value\": \"no\"}, {\"criterionId\": \"external_knowledge\", \"operator\": \"equals\", \"value\": \"yes\"}], \"any\": [], \"none\": []}}", "record_id": "ARCH-RETRIEVAL", "record_type": "PATTERN_RULE_PROPOSAL", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": null, "source_data_hash": "sha256:6059c2b5fae158edd2f4071767ae7fbe3d1bfb4a10f6b6f7d7063d9905531d38", "source_url": null, "status": "DRAFT", "verified_at": null}
6
+ {"config": "architecture", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"id\": \"ARCH-ORCHESTRATION\", \"next_steps\": [\"Define worker boundaries, a coordinator merge contract, cancellation and duplicate-effect handling before an evaluation.\"], \"outcome\": \"ORCHESTRATOR_WORKERS\", \"priority\": 60, \"rejected_options\": [], \"when\": {\"all\": [{\"criterionId\": \"independent_subtasks\", \"operator\": \"equals\", \"value\": \"yes\"}, {\"criterionId\": \"parallel_justified\", \"operator\": \"equals\", \"value\": \"yes\"}], \"any\": [], \"none\": []}}", "record_id": "ARCH-ORCHESTRATION", "record_type": "PATTERN_RULE_PROPOSAL", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": null, "source_data_hash": "sha256:6059c2b5fae158edd2f4071767ae7fbe3d1bfb4a10f6b6f7d7063d9905531d38", "source_url": null, "status": "DRAFT", "verified_at": null}
7
+ {"config": "architecture", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"id\": \"ARCH-BOUNDED-AGENT\", \"next_steps\": [\"Start with one agent and scoped tools, iteration limits and a tested stop path; compare it with the simplest working baseline.\"], \"outcome\": \"BOUNDED_TOOL_AGENT\", \"priority\": 70, \"rejected_options\": [], \"when\": {\"all\": [{\"criterionId\": \"tool_actions\", \"operator\": \"equals\", \"value\": \"yes\"}], \"any\": [], \"none\": []}}", "record_id": "ARCH-BOUNDED-AGENT", "record_type": "PATTERN_RULE_PROPOSAL", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": null, "source_data_hash": "sha256:6059c2b5fae158edd2f4071767ae7fbe3d1bfb4a10f6b6f7d7063d9905531d38", "source_url": null, "status": "DRAFT", "verified_at": null}
8
+ {"config": "architecture", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"id\": \"ARCH-BASELINE\", \"next_steps\": [\"Evaluate a single-call baseline before adding dynamic coordination.\"], \"outcome\": \"SINGLE_CALL_BASELINE\", \"priority\": 80, \"rejected_options\": [], \"when\": {\"all\": [{\"criterionId\": \"evaluation_ready\", \"operator\": \"equals\", \"value\": \"yes\"}], \"any\": [], \"none\": []}}", "record_id": "ARCH-BASELINE", "record_type": "PATTERN_RULE_PROPOSAL", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": null, "source_data_hash": "sha256:6059c2b5fae158edd2f4071767ae7fbe3d1bfb4a10f6b6f7d7063d9905531d38", "source_url": null, "status": "DRAFT", "verified_at": null}
build_buy.jsonl ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"config": "build_buy", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"gateCritical\": false, \"id\": \"strategic_differentiation\", \"label\": \"Strategic differentiation\", \"options\": [{\"blocks\": [], \"evidencePrompt\": \"Name the available products and the exact capability each already covers.\", \"id\": \"buy\", \"interpretation\": \"The workflow is available from several credible products and is not central to competitive advantage.\", \"label\": \"Useful but commodity\", \"value\": -1}, {\"blocks\": [], \"evidencePrompt\": \"Separate commodity platform functions from logic that must remain yours.\", \"id\": \"hybrid\", \"interpretation\": \"The shell is common, but domain rules or user experience contain differentiated work.\", \"label\": \"Some differentiated logic\", \"value\": 0}, {\"blocks\": [], \"evidencePrompt\": \"Describe what a competitor could not reproduce by buying the same platform.\", \"id\": \"build\", \"interpretation\": \"The agent's behavior, feedback loop or workflow is part of the product moat.\", \"label\": \"Core proprietary capability\", \"value\": 1}, {\"blocks\": [], \"evidencePrompt\": \"Get a product-owner decision before treating the score as ready.\", \"id\": \"unknown\", \"interpretation\": \"The strategic role has not been agreed.\", \"label\": \"Unknown\", \"value\": null}], \"order\": 1, \"question\": \"How much of the agent's behavior creates a durable product or operating advantage?\", \"weight\": 3, \"whyItMatters\": \"Commodity capability is expensive to recreate. Differentiating decision logic can be risky to surrender to a vendor roadmap.\"}", "record_id": "strategic_differentiation", "record_type": "WEIGHTED_CRITERION", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "c8ad4067654a6777cea3b652a80f62dc6aeb21fb", "source_data_hash": "sha256:baa562980cf07255e2bf4fa1fded945dadaffcb7726abf7f7d07313d2d506cbd", "source_url": "https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard/blob/c8ad4067654a6777cea3b652a80f62dc6aeb21fb/data/criteria.json", "status": "DRAFT", "verified_at": null}
2
+ {"config": "build_buy", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"gateCritical\": false, \"id\": \"workflow_uniqueness\", \"label\": \"Workflow and policy uniqueness\", \"options\": [{\"blocks\": [], \"evidencePrompt\": \"List the required steps and map them to available vendor features.\", \"id\": \"buy\", \"interpretation\": \"The process follows common product patterns with limited exceptions.\", \"label\": \"Standard workflow\", \"value\": -1}, {\"blocks\": [], \"evidencePrompt\": \"Mark each step as configure, extend or own.\", \"id\": \"hybrid\", \"interpretation\": \"Most steps are standard while a few rules or actions need owned extensions.\", \"label\": \"Standard core, custom edges\", \"value\": 0}, {\"blocks\": [], \"evidencePrompt\": \"Document the exceptions that generic products cannot express safely.\", \"id\": \"build\", \"interpretation\": \"The process depends on organization-specific rules, exceptions or sequencing.\", \"label\": \"Proprietary policy engine\", \"value\": 1}, {\"blocks\": [], \"evidencePrompt\": \"Run a workflow discovery session with operators and control owners.\", \"id\": \"unknown\", \"interpretation\": \"The real workflow has not been mapped.\", \"label\": \"Unknown\", \"value\": null}], \"order\": 2, \"question\": \"Are the agent's rules, tools and exception paths standard or organization-specific?\", \"weight\": 3, \"whyItMatters\": \"A standard workflow favors configuration. Deep policy logic and unusual exceptions increase the value of owned orchestration.\"}", "record_id": "workflow_uniqueness", "record_type": "WEIGHTED_CRITERION", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "c8ad4067654a6777cea3b652a80f62dc6aeb21fb", "source_data_hash": "sha256:baa562980cf07255e2bf4fa1fded945dadaffcb7726abf7f7d07313d2d506cbd", "source_url": "https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard/blob/c8ad4067654a6777cea3b652a80f62dc6aeb21fb/data/criteria.json", "status": "DRAFT", "verified_at": null}
3
+ {"config": "build_buy", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"gateCritical\": true, \"id\": \"data_control\", \"label\": \"Data control and residency\", \"options\": [{\"blocks\": [], \"evidencePrompt\": \"Attach the approved data-flow, retention terms and deletion test.\", \"id\": \"buy\", \"interpretation\": \"A shortlisted vendor can meet documented handling and residency requirements.\", \"label\": \"Approved vendor path exists\", \"value\": -1}, {\"blocks\": [], \"evidencePrompt\": \"Draw the trust boundary and identify which fields may cross it.\", \"id\": \"hybrid\", \"interpretation\": \"Commodity services are acceptable outside a controlled data and policy boundary.\", \"label\": \"Sensitive boundary can be isolated\", \"value\": 0}, {\"blocks\": [\"BUY\"], \"evidencePrompt\": \"Cite the binding policy, regulation or security decision and the failed vendor requirement.\", \"id\": \"build\", \"interpretation\": \"No approved vendor route currently meets a mandatory data-control constraint.\", \"label\": \"Controlled custom path required\", \"value\": 1}, {\"blocks\": [], \"evidencePrompt\": \"Complete data classification and a vendor data-flow review.\", \"id\": \"unknown\", \"interpretation\": \"Data classification or vendor handling is unresolved.\", \"label\": \"Unknown\", \"value\": null}], \"order\": 3, \"question\": \"Can an approved vendor path meet data location, retention, deletion and training-use constraints?\", \"weight\": 3, \"whyItMatters\": \"A mandatory control that the shortlist cannot meet disqualifies a pure buy decision regardless of feature fit.\"}", "record_id": "data_control", "record_type": "WEIGHTED_CRITERION", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "c8ad4067654a6777cea3b652a80f62dc6aeb21fb", "source_data_hash": "sha256:baa562980cf07255e2bf4fa1fded945dadaffcb7726abf7f7d07313d2d506cbd", "source_url": "https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard/blob/c8ad4067654a6777cea3b652a80f62dc6aeb21fb/data/criteria.json", "status": "DRAFT", "verified_at": null}
4
+ {"config": "build_buy", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"gateCritical\": false, \"id\": \"integration_depth\", \"label\": \"Integration depth\", \"options\": [{\"blocks\": [], \"evidencePrompt\": \"Verify the exact objects, permissions and rate limits in the vendor connector.\", \"id\": \"buy\", \"interpretation\": \"The use case relies on supported connectors and limited read-oriented access.\", \"label\": \"Standard connectors and reads\", \"value\": -1}, {\"blocks\": [], \"evidencePrompt\": \"Identify the crown-jewel integrations and keep their contracts portable.\", \"id\": \"hybrid\", \"interpretation\": \"Common systems are covered, but one or more integrations require owned adapters.\", \"label\": \"Mixed connector depth\", \"value\": 0}, {\"blocks\": [], \"evidencePrompt\": \"Map identity, authorization, idempotency, rollback and reconciliation for each action.\", \"id\": \"build\", \"interpretation\": \"The agent needs legacy access, custom APIs, transactional writes or organization-specific recovery.\", \"label\": \"Deep custom transaction paths\", \"value\": 1}, {\"blocks\": [], \"evidencePrompt\": \"Inventory systems, actions, permissions, error modes and data owners.\", \"id\": \"unknown\", \"interpretation\": \"The integration inventory is incomplete.\", \"label\": \"Unknown\", \"value\": null}], \"order\": 4, \"question\": \"How deeply must the agent interact with systems, permissions and failure recovery?\", \"weight\": 3, \"whyItMatters\": \"Connector count alone is weak evidence. Permission fidelity, write actions and recovery semantics drive integration ownership.\"}", "record_id": "integration_depth", "record_type": "WEIGHTED_CRITERION", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "c8ad4067654a6777cea3b652a80f62dc6aeb21fb", "source_data_hash": "sha256:baa562980cf07255e2bf4fa1fded945dadaffcb7726abf7f7d07313d2d506cbd", "source_url": "https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard/blob/c8ad4067654a6777cea3b652a80f62dc6aeb21fb/data/criteria.json", "status": "DRAFT", "verified_at": null}
5
+ {"config": "build_buy", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"gateCritical\": false, \"id\": \"time_to_value\", \"label\": \"Time to validated value\", \"options\": [{\"blocks\": [], \"evidencePrompt\": \"Name the decision deadline and the KPI that must be measured by then.\", \"id\": \"buy\", \"interpretation\": \"The business needs a production-like baseline before a custom platform could be staffed and built.\", \"label\": \"Evidence needed immediately\", \"value\": -1}, {\"blocks\": [], \"evidencePrompt\": \"Define the first reversible slice and the later migration gate.\", \"id\": \"hybrid\", \"interpretation\": \"A vendor or open component can establish a baseline while custom boundaries are validated.\", \"label\": \"Phased evidence window\", \"value\": 0}, {\"blocks\": [], \"evidencePrompt\": \"Confirm staffing dates, release gates and the cost of delayed learning.\", \"id\": \"build\", \"interpretation\": \"The roadmap can absorb iterative architecture, evaluation and operating-model work.\", \"label\": \"Longer validation horizon\", \"value\": 1}, {\"blocks\": [], \"evidencePrompt\": \"Set a business deadline and a production-like validation target.\", \"id\": \"unknown\", \"interpretation\": \"No decision deadline or measurable outcome is agreed.\", \"label\": \"Unknown\", \"value\": null}], \"order\": 5, \"question\": \"How soon must a production-like workflow produce measurable evidence?\", \"weight\": 3, \"whyItMatters\": \"Urgency favors a configurable baseline, while a longer decision window can support owned architecture and repeated evaluation.\"}", "record_id": "time_to_value", "record_type": "WEIGHTED_CRITERION", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "c8ad4067654a6777cea3b652a80f62dc6aeb21fb", "source_data_hash": "sha256:baa562980cf07255e2bf4fa1fded945dadaffcb7726abf7f7d07313d2d506cbd", "source_url": "https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard/blob/c8ad4067654a6777cea3b652a80f62dc6aeb21fb/data/criteria.json", "status": "DRAFT", "verified_at": null}
6
+ {"config": "build_buy", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"gateCritical\": true, \"id\": \"team_capability\", \"label\": \"Engineering and product capability\", \"options\": [{\"blocks\": [\"BUILD\"], \"evidencePrompt\": \"Record the unfilled roles and the opportunity cost of reallocating staff.\", \"id\": \"buy\", \"interpretation\": \"The organization cannot assign a durable cross-functional owner team.\", \"label\": \"No dedicated build team\", \"value\": -1}, {\"blocks\": [], \"evidencePrompt\": \"Assign owners for product, platform, data, security and evaluation.\", \"id\": \"hybrid\", \"interpretation\": \"Internal engineers can own integration and domain logic while buying missing platform capability.\", \"label\": \"Strong software team, selective gaps\", \"value\": 0}, {\"blocks\": [], \"evidencePrompt\": \"Name the people, allocation, prior systems and on-call plan.\", \"id\": \"build\", \"interpretation\": \"A durable team has relevant delivery and operating experience.\", \"label\": \"Experienced agent delivery team\", \"value\": 1}, {\"blocks\": [], \"evidencePrompt\": \"Replace role names with named owners and committed capacity.\", \"id\": \"unknown\", \"interpretation\": \"Staffing is hypothetical.\", \"label\": \"Unknown\", \"value\": null}], \"order\": 6, \"question\": \"Can a named internal team design, test and evolve the agent beyond a prototype?\", \"weight\": 3, \"whyItMatters\": \"Build capacity includes product ownership, data engineering, security and evaluation, not only prompt or application code.\"}", "record_id": "team_capability", "record_type": "WEIGHTED_CRITERION", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "c8ad4067654a6777cea3b652a80f62dc6aeb21fb", "source_data_hash": "sha256:baa562980cf07255e2bf4fa1fded945dadaffcb7726abf7f7d07313d2d506cbd", "source_url": "https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard/blob/c8ad4067654a6777cea3b652a80f62dc6aeb21fb/data/criteria.json", "status": "DRAFT", "verified_at": null}
7
+ {"config": "build_buy", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"gateCritical\": true, \"id\": \"lifecycle_capacity\", \"label\": \"Lifecycle ownership\", \"options\": [{\"blocks\": [\"BUILD\"], \"evidencePrompt\": \"Confirm what the vendor operates and what remains your responsibility.\", \"id\": \"buy\", \"interpretation\": \"The organization needs a vendor to carry much of the platform lifecycle.\", \"label\": \"Need managed lifecycle coverage\", \"value\": -1}, {\"blocks\": [], \"evidencePrompt\": \"Create a RACI for monitoring, changes, incidents, data and access.\", \"id\": \"hybrid\", \"interpretation\": \"The vendor runs commodity layers while the organization owns domain quality and incidents.\", \"label\": \"Shared operating model\", \"value\": 0}, {\"blocks\": [], \"evidencePrompt\": \"Attach the evaluation cadence, on-call rota, rollback path and change policy.\", \"id\": \"build\", \"interpretation\": \"The organization can own releases, regressions, infrastructure and incident response.\", \"label\": \"Full internal lifecycle team\", \"value\": 1}, {\"blocks\": [], \"evidencePrompt\": \"Assign durable owners before approving a build.\", \"id\": \"unknown\", \"interpretation\": \"No operating owner has accepted responsibility.\", \"label\": \"Unknown\", \"value\": null}], \"order\": 7, \"question\": \"Who will operate evaluation, monitoring, incidents and model or vendor changes?\", \"weight\": 3, \"whyItMatters\": \"The sourcing choice changes the work, but it never removes responsibility for outcomes and controls.\"}", "record_id": "lifecycle_capacity", "record_type": "WEIGHTED_CRITERION", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "c8ad4067654a6777cea3b652a80f62dc6aeb21fb", "source_data_hash": "sha256:baa562980cf07255e2bf4fa1fded945dadaffcb7726abf7f7d07313d2d506cbd", "source_url": "https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard/blob/c8ad4067654a6777cea3b652a80f62dc6aeb21fb/data/criteria.json", "status": "DRAFT", "verified_at": null}
8
+ {"config": "build_buy", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"gateCritical\": false, \"id\": \"capital_shape\", \"label\": \"Budget and capital shape\", \"options\": [{\"blocks\": [], \"evidencePrompt\": \"Record approved setup spend, recurring spend and procurement limits.\", \"id\": \"buy\", \"interpretation\": \"Subscription or usage spend is easier to approve than a larger internal build.\", \"label\": \"Lower initial commitment\", \"value\": -1}, {\"blocks\": [], \"evidencePrompt\": \"Separate vendor, integration, internal labor and contingency budgets.\", \"id\": \"hybrid\", \"interpretation\": \"The budget can fund a platform and a bounded custom layer.\", \"label\": \"Balanced spend profile\", \"value\": 0}, {\"blocks\": [], \"evidencePrompt\": \"Verify capital, headcount and contingency approvals.\", \"id\": \"build\", \"interpretation\": \"The organization can fund discovery, engineering and operating capability before benefits stabilize.\", \"label\": \"Front-loaded investment is approved\", \"value\": 1}, {\"blocks\": [], \"evidencePrompt\": \"Get separate approval ranges for one-time and recurring spend.\", \"id\": \"unknown\", \"interpretation\": \"Budget shape is not approved.\", \"label\": \"Unknown\", \"value\": null}], \"order\": 8, \"question\": \"Does the organization prefer lower initial commitment or controlled long-term investment?\", \"weight\": 2, \"whyItMatters\": \"The same nominal budget can produce different decisions depending on cash timing and approved headcount.\"}", "record_id": "capital_shape", "record_type": "WEIGHTED_CRITERION", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "c8ad4067654a6777cea3b652a80f62dc6aeb21fb", "source_data_hash": "sha256:baa562980cf07255e2bf4fa1fded945dadaffcb7726abf7f7d07313d2d506cbd", "source_url": "https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard/blob/c8ad4067654a6777cea3b652a80f62dc6aeb21fb/data/criteria.json", "status": "DRAFT", "verified_at": null}
9
+ {"config": "build_buy", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"gateCritical\": false, \"id\": \"scale_economics\", \"label\": \"Scale and unit economics\", \"options\": [{\"blocks\": [], \"evidencePrompt\": \"Define the unit of work and a bounded adoption range.\", \"id\": \"buy\", \"interpretation\": \"The organization benefits from avoiding fixed platform investment while demand is unproven.\", \"label\": \"Demand is uncertain or modest\", \"value\": -1}, {\"blocks\": [], \"evidencePrompt\": \"Track cost per successful task, active user, action and exception.\", \"id\": \"hybrid\", \"interpretation\": \"Usage can be measured, but the economic crossover requires a live baseline.\", \"label\": \"Scale is measurable, crossover unclear\", \"value\": 0}, {\"blocks\": [], \"evidencePrompt\": \"Show demand, peak shape, growth assumptions and cost per successful outcome.\", \"id\": \"build\", \"interpretation\": \"Stable high volume can justify owned cost controls and reusable platform work.\", \"label\": \"High predictable scale\", \"value\": 1}, {\"blocks\": [], \"evidencePrompt\": \"Define a measurable unit and collect a baseline.\", \"id\": \"unknown\", \"interpretation\": \"No unit or demand model exists.\", \"label\": \"Unknown\", \"value\": null}], \"order\": 9, \"question\": \"Are demand, workload units and marginal costs measurable enough to compare paths?\", \"weight\": 2, \"whyItMatters\": \"A low pilot price says little about per-user, per-task or per-action economics at production scale.\"}", "record_id": "scale_economics", "record_type": "WEIGHTED_CRITERION", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "c8ad4067654a6777cea3b652a80f62dc6aeb21fb", "source_data_hash": "sha256:baa562980cf07255e2bf4fa1fded945dadaffcb7726abf7f7d07313d2d506cbd", "source_url": "https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard/blob/c8ad4067654a6777cea3b652a80f62dc6aeb21fb/data/criteria.json", "status": "DRAFT", "verified_at": null}
10
+ {"config": "build_buy", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"gateCritical\": false, \"id\": \"portability_tolerance\", \"label\": \"Portability and vendor dependency\", \"options\": [{\"blocks\": [], \"evidencePrompt\": \"Record renewal, export, termination assistance and deletion terms.\", \"id\": \"buy\", \"interpretation\": \"The organization accepts a managed platform dependency with bounded exit terms.\", \"label\": \"Contractual dependency is acceptable\", \"value\": -1}, {\"blocks\": [], \"evidencePrompt\": \"Run an export and redeploy test for the assets that must remain yours.\", \"id\": \"hybrid\", \"interpretation\": \"Domain logic, data and evals remain portable while replaceable services are bought.\", \"label\": \"Portable core, managed shell\", \"value\": 0}, {\"blocks\": [], \"evidencePrompt\": \"List every asset needed to operate after vendor account termination.\", \"id\": \"build\", \"interpretation\": \"The organization needs control over runtime boundaries and migration paths.\", \"label\": \"High portability requirement\", \"value\": 1}, {\"blocks\": [], \"evidencePrompt\": \"Write an exit scenario before vendor selection or platform build.\", \"id\": \"unknown\", \"interpretation\": \"Exit requirements are undefined.\", \"label\": \"Unknown\", \"value\": null}], \"order\": 10, \"question\": \"What must remain movable if the model, platform or commercial terms change?\", \"weight\": 2, \"whyItMatters\": \"Code ownership is incomplete when prompts, evals, state, logs or deployment cannot leave the vendor runtime.\"}", "record_id": "portability_tolerance", "record_type": "WEIGHTED_CRITERION", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "c8ad4067654a6777cea3b652a80f62dc6aeb21fb", "source_data_hash": "sha256:baa562980cf07255e2bf4fa1fded945dadaffcb7726abf7f7d07313d2d506cbd", "source_url": "https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard/blob/c8ad4067654a6777cea3b652a80f62dc6aeb21fb/data/criteria.json", "status": "DRAFT", "verified_at": null}
11
+ {"config": "build_buy", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"gateCritical\": false, \"id\": \"evaluation_control\", \"label\": \"Evaluation and observability control\", \"options\": [{\"blocks\": [], \"evidencePrompt\": \"Verify each required artifact in a production-like trial.\", \"id\": \"buy\", \"interpretation\": \"The platform exposes the required traces, eval hooks, exports and release controls.\", \"label\": \"Vendor evidence is sufficient\", \"value\": -1}, {\"blocks\": [], \"evidencePrompt\": \"Keep test data, metrics and release criteria outside the vendor-only surface.\", \"id\": \"hybrid\", \"interpretation\": \"The platform can be wrapped by an organization-owned test and observability layer.\", \"label\": \"Own evals around a bought runtime\", \"value\": 0}, {\"blocks\": [], \"evidencePrompt\": \"Name the failure taxonomy, test set, trace fields and stop conditions.\", \"id\": \"build\", \"interpretation\": \"The use case needs custom evaluation, traces or action-level controls unavailable from products.\", \"label\": \"Domain-specific evidence is central\", \"value\": 1}, {\"blocks\": [], \"evidencePrompt\": \"Define what must be observable before comparing vendors or architectures.\", \"id\": \"unknown\", \"interpretation\": \"The evidence contract is not defined.\", \"label\": \"Unknown\", \"value\": null}], \"order\": 11, \"question\": \"Can a bought product expose the evidence needed to test domain quality and actions?\", \"weight\": 2, \"whyItMatters\": \"A system cannot be governed from a demo score. Teams need test sets, traces, failure labels and release gates tied to their own workflow.\"}", "record_id": "evaluation_control", "record_type": "WEIGHTED_CRITERION", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "c8ad4067654a6777cea3b652a80f62dc6aeb21fb", "source_data_hash": "sha256:baa562980cf07255e2bf4fa1fded945dadaffcb7726abf7f7d07313d2d506cbd", "source_url": "https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard/blob/c8ad4067654a6777cea3b652a80f62dc6aeb21fb/data/criteria.json", "status": "DRAFT", "verified_at": null}
12
+ {"config": "build_buy", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"gateCritical\": true, \"id\": \"compliance_path\", \"label\": \"Compliance and third-party path\", \"options\": [{\"blocks\": [], \"evidencePrompt\": \"Attach the approved control matrix, contracts and residual-risk owner.\", \"id\": \"buy\", \"interpretation\": \"A vendor route can satisfy documented procurement, security and compliance gates.\", \"label\": \"Approved vendor controls fit\", \"value\": -1}, {\"blocks\": [], \"evidencePrompt\": \"Map each obligation to the vendor, internal owner or shared process.\", \"id\": \"hybrid\", \"interpretation\": \"The path needs vendor evidence plus organization-owned controls and records.\", \"label\": \"Control boundary must be shared\", \"value\": 0}, {\"blocks\": [\"BUY\"], \"evidencePrompt\": \"Cite the failed gate and the evidence a controlled build must produce.\", \"id\": \"build\", \"interpretation\": \"A mandatory approval or control cannot be met by the current vendor shortlist.\", \"label\": \"Custom controlled path required\", \"value\": 1}, {\"blocks\": [], \"evidencePrompt\": \"Get legal, security and risk owners to classify the use case.\", \"id\": \"unknown\", \"interpretation\": \"The applicable obligations or approval route are unresolved.\", \"label\": \"Unknown\", \"value\": null}], \"order\": 12, \"question\": \"Which sourcing path can produce the required approvals, records and accountability?\", \"weight\": 2, \"whyItMatters\": \"A vendor certification does not transfer accountability. A custom build also creates documentation and control obligations.\"}", "record_id": "compliance_path", "record_type": "WEIGHTED_CRITERION", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "c8ad4067654a6777cea3b652a80f62dc6aeb21fb", "source_data_hash": "sha256:baa562980cf07255e2bf4fa1fded945dadaffcb7726abf7f7d07313d2d506cbd", "source_url": "https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard/blob/c8ad4067654a6777cea3b652a80f62dc6aeb21fb/data/criteria.json", "status": "DRAFT", "verified_at": null}
compatibility.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "candidate_schema": "2.0.0-candidate.1",
3
+ "previous_schema_file": "release-schema-v1.json",
4
+ "backwards_compatible": false,
5
+ "rows": {
6
+ "architecture": 8,
7
+ "build_buy": 12,
8
+ "framework": 5,
9
+ "rag": 17
10
+ },
11
+ "adoption": "Explicit candidate opt-in required; no row meets the old REVIEWED release gate.",
12
+ "new_source_fields": "AI-assisted proposals retained separately; upstream adoption pending."
13
+ }
data.json ADDED
The diff for this file is too large to render. See raw diff
 
exporter.py ADDED
@@ -0,0 +1,235 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Reproducible private candidate export. Network-free after snapshot creation."""
2
+ from pathlib import Path
3
+ import hashlib
4
+ import json
5
+ import shutil
6
+ import subprocess
7
+ import sys
8
+
9
+ ROOT = Path(__file__).resolve().parents[1]
10
+ REPOS = ROOT / 'repos'
11
+ STAMP = '2026-09-17T06:17:24Z'
12
+ SPECS = {
13
+ 'security': ('pharos-agent-security-control-mapper', 'agent-security-control-mapper', 'data'),
14
+ 'aibom': ('pharos-aibom-tools-compared', 'aibom-tools-compared', 'data'),
15
+ 'drift': ('pharos-production-ai-drift-planner', 'production-ai-drift-planner', 'docs/data'),
16
+ 'governance': ('pharos-ai-governance-readiness-map', 'ai-governance-readiness-map', 'docs/data'),
17
+ 'rag': ('pharos-rag-vs-fine-tuning-matrix', 'rag-vs-fine-tuning-matrix', 'data'),
18
+ 'build_buy': ('pharos-build-vs-buy-ai-agent-scorecard', 'build-vs-buy-ai-agent-scorecard', 'data'),
19
+ 'framework': ('pharos-enterprise-ai-agent-frameworks', 'enterprise-ai-agent-frameworks', 'data'),
20
+ }
21
+ ENGINES = {'rag': 'decision-engine.js', 'build_buy': 'decision-scorecard.js', 'framework': 'framework-selector.js'}
22
+
23
+ def h(data):
24
+ return 'sha256:' + hashlib.sha256(data).hexdigest()
25
+
26
+ def dump(path, obj):
27
+ path.parent.mkdir(parents=True, exist_ok=True)
28
+ path.write_text(json.dumps(obj, ensure_ascii=False, sort_keys=True, indent=2) + '\n')
29
+
30
+ def freeze_sources():
31
+ path = ROOT / 'source-snapshot.json'
32
+ if path.exists():
33
+ return json.loads(path.read_text())
34
+ sources = {}
35
+ for config, (local, repo, folder) in SPECS.items():
36
+ base = Path('/Users/rudrafury/Projects') / local
37
+ sha = subprocess.check_output(['git', 'rev-parse', 'HEAD'], cwd=base, text=True).strip()
38
+ names = subprocess.check_output(['git', 'ls-tree', '-r', '--name-only', sha, folder], cwd=base, text=True).splitlines()
39
+ names = [n for n in names if n.endswith('.json')] + ['LICENSE', 'README.md']
40
+ if config in ENGINES:
41
+ names.append('docs/assets/' + ENGINES[config])
42
+ files = {}
43
+ for name in sorted(names):
44
+ raw = subprocess.check_output(['git', 'show', sha + ':' + name], cwd=base)
45
+ files[name] = {'sha256': h(raw), 'content': raw.decode('utf-8'),
46
+ 'url': f'https://github.com/PharosProduction/{repo}/blob/{sha}/{name}'}
47
+ sources[config] = {'repo': f'https://github.com/PharosProduction/{repo}', 'commit': sha,
48
+ 'pages': f'https://pharosproduction.github.io/{repo}/', 'files': files,
49
+ 'snapshot_at': STAMP, 'independent_human_review': 'NOT_REVIEWED'}
50
+ dump(path, sources)
51
+ return sources
52
+
53
+ def native(sources, config, file):
54
+ folder = SPECS[config][2]
55
+ return json.loads(sources[config]['files'][folder + '/' + file + '.json']['content'])
56
+
57
+ def lineage(sources, config, file):
58
+ source = sources[config]
59
+ entry = source['files'][SPECS[config][2] + '/' + file + '.json']
60
+ return {'source_commit_sha': source['commit'], 'source_url': entry['url'],
61
+ 'source_data_hash': entry['sha256'], 'review_status': 'NOT_REVIEWED', 'status': 'DRAFT',
62
+ 'verified_at': None, 'snapshot_at': STAMP}
63
+
64
+ def make_controls(sources, proposals):
65
+ result = {key: [] for key in ('security', 'aibom', 'drift', 'governance')}
66
+ for r in native(sources, 'security', 'controls')['controls']:
67
+ p = proposals['security_layers'][r['layerId']]
68
+ result['security'].append({
69
+ 'control_id': r['id'], 'name': r['name'], 'risk': p['risk'],
70
+ 'system_boundary': 'Agent runtime, delegated identities and connected tools in the selected environment.',
71
+ 'action': r['implementation'], 'verification': r['verification'],
72
+ 'evidence_type': r['evidenceArtifacts'], 'owner_role': r['suggestedOwnerRole'],
73
+ 'change_trigger': r['name'] + ': review on ' + p['trigger'], 'rollback': p['rollback'],
74
+ 'source_native_id': r['id'], 'source_payload_json': json.dumps(r, sort_keys=True),
75
+ 'field_origin': 'action/verification/evidence/owner: source; risk/boundary/trigger/rollback: engineering proposal',
76
+ **lineage(sources, 'security', 'controls')})
77
+ for p in proposals['aibom_controls']:
78
+ result['aibom'].append({**p, 'source_native_id': None, 'source_payload_json': 'null',
79
+ 'field_origin': 'Original engineering proposal; the source compares tools and does not contain these controls.',
80
+ **lineage(sources, 'aibom', 'tools')})
81
+ for r in native(sources, 'drift', 'metrics'):
82
+ result['drift'].append({
83
+ 'control_id': 'DRIFT-' + r['id'].upper(), 'name': r['name'],
84
+ 'risk': 'A change affecting ' + r['name'].lower() + ' goes undetected or receives an inappropriate response.',
85
+ 'system_boundary': 'Selected production AI system, versioned evaluation cohort and monitoring window.',
86
+ 'action': r['response'], 'verification': r['definition'],
87
+ 'evidence_type': ['Versioned metric definition and baseline', 'Measured observations with sampling window and denominator', 'Response and recovery exercise record'],
88
+ 'owner_role': 'Monitoring owner with the affected component owner',
89
+ 'change_trigger': 'Review when the model, prompt, data, tools, traffic mix, metric definition or local error budget changes.',
90
+ 'rollback': r['rollback'], 'source_native_id': r['id'],
91
+ 'source_payload_json': json.dumps(r, sort_keys=True),
92
+ 'field_origin': 'name/action/verification/rollback: source; risk/boundary/evidence/owner/trigger: engineering proposal',
93
+ **lineage(sources, 'drift', 'metrics')})
94
+ for r in native(sources, 'governance', 'controls'):
95
+ p = proposals['governance'][r['id']]
96
+ result['governance'].append({
97
+ 'control_id': 'GOV-' + r['id'].upper(), 'name': r['title'], 'risk': p['risk'],
98
+ 'system_boundary': 'The named AI system, intended use, affected people and operating organization.',
99
+ 'action': r['purpose'], 'verification': 'Inspect the dated record, scope and named decision owner; exercise the documented procedure where applicable.',
100
+ 'evidence_type': [r['evidence']],
101
+ 'owner_role': r['suggestedResponsible'] + '; accountable role: ' + r['suggestedAccountable'],
102
+ 'change_trigger': p['trigger'], 'rollback': p['rollback'], 'source_native_id': r['id'],
103
+ 'source_payload_json': json.dumps(r, sort_keys=True),
104
+ 'field_origin': 'name/action/evidence/roles: source; remaining normalized fields: engineering proposal',
105
+ **lineage(sources, 'governance', 'controls')})
106
+ for config, rows in result.items():
107
+ for row in rows:
108
+ row.update(config=config, decision_job='RELEASE_EVIDENCE',
109
+ limitations=['Engineering draft; independent human review is pending.',
110
+ 'A listed artifact or suggested role does not establish operating effectiveness or an actual assignment.',
111
+ 'New normalized fields require canonical upstream adoption before public release.'])
112
+ if config == 'drift':
113
+ row['limitations'].append('Source thresholds are illustrative; calibrate locally. This catalog does not evaluate live telemetry.')
114
+ return result
115
+
116
+ def make_decisions(sources, proposals):
117
+ registries = {}
118
+ for config in ('rag', 'build_buy', 'framework'):
119
+ registries[config] = {Path(p).stem: json.loads(v['content']) for p, v in sources[config]['files'].items() if p.endswith('.json')}
120
+ registries['architecture'] = proposals['architecture']
121
+ sets = {
122
+ 'rag': ('RULE', 'rules', registries['rag']['rules']['rules']),
123
+ 'build_buy': ('WEIGHTED_CRITERION', 'criteria', registries['build_buy']['criteria']['criteria']),
124
+ 'framework': ('FRAMEWORK_PROFILE', 'frameworks', registries['framework']['frameworks']['frameworks']),
125
+ 'architecture': ('PATTERN_RULE_PROPOSAL', None, registries['architecture']['rules']),
126
+ }
127
+ rows = {}
128
+ for config, (kind, file, records) in sets.items():
129
+ rows[config] = []
130
+ for r in records:
131
+ origin = lineage(sources, config, file) if file else {
132
+ 'source_commit_sha': None, 'source_url': None,
133
+ 'source_data_hash': h(json.dumps(proposals['architecture'], sort_keys=True).encode()),
134
+ 'review_status': 'NOT_REVIEWED', 'status': 'DRAFT', 'verified_at': None, 'snapshot_at': STAMP}
135
+ rows[config].append({'record_id': r['id'], 'config': config, 'record_type': kind,
136
+ 'decision_job': 'PATH_SELECTION', 'payload_json': json.dumps(r, ensure_ascii=False, sort_keys=True),
137
+ 'limitations': ['Native method retained; numeric preference is not a probability or performance benchmark.',
138
+ 'Architecture proposals have no published canonical source; framework facts retain their original cutoff.'],
139
+ **origin})
140
+ return rows, registries
141
+
142
+ def build():
143
+ sources = freeze_sources()
144
+ proposals = json.loads((ROOT / 'source-proposals/proposals.json').read_text())
145
+ controls = make_controls(sources, proposals)
146
+ decisions, registries = make_decisions(sources, proposals)
147
+ for kind, rows in [('control-evidence', controls), ('decision-rules', decisions)]:
148
+ repo = REPOS / ('production-ai-' + kind)
149
+ for config, records in rows.items():
150
+ (repo / (config + '.jsonl')).write_text(''.join(json.dumps(r, ensure_ascii=False, sort_keys=True) + '\n' for r in records))
151
+ bundle = {'schema_version': '2.0.0-candidate.1', 'release_version': '0.1.0-candidate.1',
152
+ 'review_status': 'NOT_REVIEWED', 'publish_eligible': False,
153
+ 'mode': 'DRAFT_EXPLORATION', 'generated_at': STAMP,
154
+ 'controls': controls} if kind == 'control-evidence' else {
155
+ 'schema_version': '2.0.0-candidate.1', 'release_version': '0.1.0-candidate.1',
156
+ 'review_status': 'NOT_REVIEWED', 'publish_eligible': False,
157
+ 'mode': 'DRAFT_EXPLORATION', 'generated_at': STAMP, 'registries': registries}
158
+ dump(repo / 'data.json', bundle)
159
+ subset = {c: s for c, s in sources.items() if c in rows}
160
+ dump(repo / 'source-snapshot.json', subset)
161
+ dump(repo / 'source-proposals.json', proposals if kind == 'control-evidence' else {'architecture': proposals['architecture']})
162
+ manifest = {c: {k: v for k, v in s.items() if k != 'files'} | {
163
+ 'files': {p: {k: v for k, v in f.items() if k != 'content'} for p, f in s['files'].items()}}
164
+ for c, s in subset.items()}
165
+ dump(repo / 'source-manifest.json', {'sources': manifest, 'original_proposals': {
166
+ 'path': 'source-proposals.json', 'sha256': h((repo / 'source-proposals.json').read_bytes()),
167
+ 'canonical_adoption': 'PENDING', 'human_review': 'NOT_REVIEWED'}})
168
+ dump(repo / 'release.json', {'version': '0.1.0-candidate.1', 'schema_version': '2.0.0-candidate.1',
169
+ 'lifecycle': 'FUNCTIONAL_PRIVATE_CANDIDATE', 'publish_eligible': False,
170
+ 'independent_human_review': 'NOT_REVIEWED', 'rights_decision': 'PENDING',
171
+ 'upstream_proposal_adoption': 'PENDING', 'row_counts': {c: len(rs) for c, rs in rows.items()},
172
+ 'files': {c + '.jsonl': h((repo / (c + '.jsonl')).read_bytes()) for c in rows},
173
+ 'data_sha256': h((repo / 'data.json').read_bytes()),
174
+ 'publication_authority': 'User authorized Control Evidence Dataset publication on 2026-09-17; review/rights evidence has not been supplied.'})
175
+ original = ROOT.parents[1] / 'HF-PP-2026-W02/repos' / repo.name / 'schema.json'
176
+ shutil.copyfile(original, repo / 'release-schema-v1.json')
177
+ # Public v1 is kept unchanged. Candidate rows cannot masquerade as REVIEWED.
178
+ example = next(iter(rows.values()))[0]
179
+ properties = {k: {'type': 'string', 'minLength': 1} for k in example}
180
+ for key in ['limitations', 'evidence_type']:
181
+ if key in properties: properties[key] = {'type': 'array', 'minItems': 1, 'items': {'type': 'string', 'minLength': 1}}
182
+ properties.update(review_status={'const': 'NOT_REVIEWED'}, status={'const': 'DRAFT'},
183
+ verified_at={'type': 'null'}, source_data_hash={'type': 'string', 'pattern': '^sha256:[a-f0-9]{64}$'},
184
+ source_commit_sha={'type': ['string', 'null'], 'pattern': '^[a-f0-9]{40}$'},
185
+ source_url={'type': ['string', 'null'], 'pattern': '^https://'},
186
+ config={'enum': list(rows)}, decision_job={'const': 'RELEASE_EVIDENCE' if kind == 'control-evidence' else 'PATH_SELECTION'})
187
+ if 'source_native_id' in properties: properties['source_native_id'] = {'type': ['string', 'null']}
188
+ common = {'type': 'object', 'additionalProperties': False, 'required': list(example), 'properties': properties}
189
+ dump(repo / 'schema.json', {'$schema': 'https://json-schema.org/draft/2020-12/schema', 'title': kind + ' candidate 2.0.0-candidate.1', **common})
190
+ shutil.copyfile(Path(__file__), repo / 'exporter.py')
191
+ for config, module in ENGINES.items():
192
+ raw = sources[config]['files']['docs/assets/' + module]['content']
193
+ (REPOS / 'production-ai-decision-lab' / module.replace('.js', '.mjs')).write_text(raw)
194
+ for dataset, space in [('control-evidence', 'evidence-pack'), ('decision-rules', 'decision-lab')]:
195
+ src, dst = REPOS / ('production-ai-' + dataset), REPOS / ('production-ai-' + space)
196
+ shutil.copyfile(src / 'data.json', dst / 'data.json')
197
+ lock_path = dst / 'dataset-lock.json'
198
+ old = json.loads(lock_path.read_text()) if lock_path.exists() else {}
199
+ digest = h((src / 'data.json').read_bytes())
200
+ dump(lock_path, {
201
+ 'dataset_repo': 'pharosproduction/production-ai-' + dataset,
202
+ 'revision': old.get('revision') if old.get('files', {}).get('data.json') == digest else None,
203
+ 'lifecycle': 'FUNCTIONAL_PRIVATE_CANDIDATE', 'publish_eligible': False,
204
+ 'mode': 'DRAFT_EXPLORATION', 'files': {'data.json': digest}})
205
+ dump(ROOT / 'audit/build-result.json', {'controls': {c: len(r) for c, r in controls.items()},
206
+ 'decisions': {c: len(r) for c, r in decisions.items()}, 'native_engines': 'BYTE_IDENTICAL',
207
+ 'published_rows': 0, 'human_review': 'NOT_REVIEWED'})
208
+ print((ROOT / 'audit/build-result.json').read_text())
209
+
210
+ def reproduce_dataset(directory):
211
+ directory = Path(directory)
212
+ sources = json.loads((directory / 'source-snapshot.json').read_text())
213
+ proposals = json.loads((directory / 'source-proposals.json').read_text())
214
+ if 'security' in sources:
215
+ rows = make_controls(sources, proposals)
216
+ bundle = {'controls': rows}
217
+ else:
218
+ rows, registries = make_decisions(sources, proposals)
219
+ bundle = {'registries': registries}
220
+ bundle.update(schema_version='2.0.0-candidate.1', release_version='0.1.0-candidate.1', review_status='NOT_REVIEWED',
221
+ publish_eligible=False, mode='DRAFT_EXPLORATION', generated_at=STAMP)
222
+ expected = json.dumps(bundle, ensure_ascii=False, sort_keys=True, indent=2) + '\n'
223
+ assert expected.encode() == (directory / 'data.json').read_bytes(), 'data.json differs from deterministic source export'
224
+ for config, records in rows.items():
225
+ expected = ''.join(json.dumps(r, ensure_ascii=False, sort_keys=True) + '\n' for r in records)
226
+ assert expected.encode() == (directory / (config + '.jsonl')).read_bytes(), config + ' rows differ'
227
+ for source in sources.values():
228
+ for entry in source['files'].values(): assert h(entry['content'].encode()) == entry['sha256']
229
+ print('PASS: snapshot hashes and deterministic dataset export match.')
230
+
231
+ if __name__ == '__main__':
232
+ if len(sys.argv) == 3 and sys.argv[1] == '--verify-dataset':
233
+ reproduce_dataset(sys.argv[2])
234
+ else:
235
+ build()
framework.jsonl ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {"config": "framework", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"bestFor\": \"Long-running or failure-sensitive workflows where teams need explicit control over state transitions, pause/resume behavior, and replay boundaries.\", \"capabilities\": {\"approval\": {\"detail\": \"The interrupt primitive pauses execution, exposes approval context, and resumes the same thread after an external decision.\", \"sourceIds\": [\"LG-HITL\"], \"status\": \"native\"}, \"deployment\": {\"detail\": \"The open-source runtime can run in application infrastructure, while Agent Server packages graphs with persistence and a durable task queue for self-hosted or managed deployment.\", \"sourceIds\": [\"LG-SERVER\"], \"status\": \"self-host-or-managed\"}, \"observability\": {\"detail\": \"Execution paths and state transitions can be traced through LangSmith; tracing can be disabled or conditioned for data-sensitive runs.\", \"sourceIds\": [\"LG-OVERVIEW\", \"LG-PRIVACY\"], \"status\": \"integrated\"}, \"recovery\": {\"detail\": \"Durable execution resumes from checkpoints after interruption or worker failure; node boundaries determine how much work may repeat.\", \"sourceIds\": [\"LG-PERSIST\", \"LG-SERVER\"], \"status\": \"native\"}, \"state\": {\"detail\": \"A checkpointer stores graph state as snapshots organized into threads at graph steps; persistent backends replace InMemorySaver for production.\", \"sourceIds\": [\"LG-PERSIST\"], \"status\": \"native\"}}, \"constraints\": \"The graph model exposes control but increases design and testing work. Production persistence needs a durable checkpointer or Agent Server rather than the in-memory example backend.\", \"deploymentControl\": [\"self-host\", \"managed\"], \"disqualifiers\": [\"A short, deterministic tool call sequence is simpler in ordinary application code\", \"The team cannot own explicit graph topology and checkpoint migration\"], \"id\": \"langgraph\", \"languages\": [\"python\", \"typescript\"], \"license\": \"MIT\", \"modelStrategy\": [\"agnostic\"], \"name\": \"LangGraph\", \"orchestrationModel\": \"Explicit state graph with nodes, edges, conditional routing, cycles, and checkpointed execution.\", \"priorities\": [\"durable-recovery\", \"approval\", \"observability\", \"explicit-control\"], \"release\": {\"publishedAt\": \"2026-08-11\", \"sourceId\": \"LG-REL\", \"track\": \"Python core\", \"version\": \"1.2.11\"}, \"tradeoffs\": [\"High control and inspectable state\", \"More orchestration code and a steeper graph mental model\", \"LangSmith is an integrated product, not a requirement of the open-source runtime\"]}", "record_id": "langgraph", "record_type": "FRAMEWORK_PROFILE", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "b1213f374722edde01ca74a7ccac68e835070705", "source_data_hash": "sha256:42ad1d6f7dae557ab024be640e13271ce9f8b19f81ffe808880de3bef3b5cd8b", "source_url": "https://github.com/PharosProduction/enterprise-ai-agent-frameworks/blob/b1213f374722edde01ca74a7ccac68e835070705/data/frameworks.json", "status": "DRAFT", "verified_at": null}
2
+ {"config": "framework", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"bestFor\": \"Enterprises standardizing on .NET, Python, Go, Azure identity, or Microsoft operations while retaining explicit multi-agent workflow control.\", \"capabilities\": {\"approval\": {\"detail\": \"RequestPort and tool-approval requests pause workflows; pending requests are included in checkpoints and re-emitted after restore.\", \"sourceIds\": [\"MAF-HITL\"], \"status\": \"native\"}, \"deployment\": {\"detail\": \"Agents and workflows run in-process or behind application services and integrate with Microsoft and Azure agent services; deployment architecture remains an application decision.\", \"sourceIds\": [\"MAF-OVERVIEW\"], \"status\": \"self-host-or-managed\"}, \"observability\": {\"detail\": \"The agent capability surface exports traces, metrics, and logs and supports shared interception hooks for operational controls.\", \"sourceIds\": [\"MAF-CAPABILITIES\"], \"status\": \"native\"}, \"recovery\": {\"detail\": \"Workflows resume or rehydrate from a checkpoint, including pending request state; durable storage must replace in-memory checkpoint storage.\", \"sourceIds\": [\"MAF-CHECKPOINT\", \"MAF-HITL\"], \"status\": \"native\"}, \"state\": {\"detail\": \"Checkpoint managers capture executor state, pending messages, requests, responses, and shared state at superstep boundaries.\", \"sourceIds\": [\"MAF-CHECKPOINT\"], \"status\": \"native\"}}, \"constraints\": \"Feature parity varies by language and integration. Teams must verify the exact client surface because some UI workflow lifecycle events and resume controls are not mapped in the .NET AG-UI integration.\", \"deploymentControl\": [\"self-host\", \"managed\"], \"disqualifiers\": [\"The team requires identical workflow lifecycle behavior across every language client\", \"The deployment platform must avoid Microsoft-specific operational dependencies\"], \"id\": \"microsoft-agent-framework\", \"languages\": [\"python\", \"dotnet\", \"go\"], \"license\": \"MIT\", \"modelStrategy\": [\"agnostic\", \"microsoft\"], \"name\": \"Microsoft Agent Framework\", \"orchestrationModel\": \"Agent abstractions plus graph workflows, orchestrations, request ports, middleware, and checkpoint managers.\", \"priorities\": [\"durable-recovery\", \"approval\", \"observability\", \"microsoft-stack\", \"multi-language\"], \"release\": {\"publishedAt\": \"2026-08-28\", \"sourceId\": \"MAF-REL\", \"track\": \"Python\", \"version\": \"1.16.0\"}, \"tradeoffs\": [\"Typed enterprise integration and multi-language workflow support\", \"Fast-moving APIs require pinned versions and migration tests\", \"Azure alignment is strongest, although the framework supports multiple providers\"]}", "record_id": "microsoft-agent-framework", "record_type": "FRAMEWORK_PROFILE", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "b1213f374722edde01ca74a7ccac68e835070705", "source_data_hash": "sha256:42ad1d6f7dae557ab024be640e13271ce9f8b19f81ffe808880de3bef3b5cd8b", "source_url": "https://github.com/PharosProduction/enterprise-ai-agent-frameworks/blob/b1213f374722edde01ca74a7ccac68e835070705/data/frameworks.json", "status": "DRAFT", "verified_at": null}
3
+ {"config": "framework", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"bestFor\": \"Python teams composing role-oriented multi-agent business processes that benefit from a concise crew abstraction and Flow-based approval routing.\", \"capabilities\": {\"approval\": {\"detail\": \"The human_feedback decorator pauses a Flow for review and can route approved, rejected, or revision outcomes to distinct listeners.\", \"sourceIds\": [\"CR-FLOWS\"], \"status\": \"native\"}, \"deployment\": {\"detail\": \"Python services can self-host crews and Flows; AMP offers GitHub-, CLI-, or Studio-driven managed deployments with generated API access.\", \"sourceIds\": [\"CR-AMP\", \"CR-PROD\"], \"status\": \"self-host-or-managed\"}, \"observability\": {\"detail\": \"CrewAI exposes execution tracing, while the managed AMP platform adds detailed traces, logs, team controls, and production monitoring.\", \"sourceIds\": [\"CR-DOCS\", \"CR-AMP\"], \"status\": \"integrated\"}, \"recovery\": {\"detail\": \"Persisted Flow state survives restarts and can resume by ID, but the deployment must supply durable storage and idempotent side-effect handling.\", \"sourceIds\": [\"CR-FLOWS\", \"CR-PROD\"], \"status\": \"configured\"}, \"state\": {\"detail\": \"The persist decorator stores Flow state, uses SQLite by default, and supports resuming or forking a persisted flow by state identifier.\", \"sourceIds\": [\"CR-FLOWS\"], \"status\": \"native\"}}, \"constraints\": \"Crews and Flows are different orchestration layers. Durable production behavior depends on configuring persistence and the surrounding runtime rather than assuming a crew definition is automatically recoverable.\", \"deploymentControl\": [\"self-host\", \"managed\"], \"disqualifiers\": [\"The core application stack is TypeScript or .NET with no Python service boundary\", \"The workflow requires graph-level checkpoint semantics to be the primary programming model\"], \"id\": \"crewai\", \"languages\": [\"python\"], \"license\": \"MIT\", \"modelStrategy\": [\"agnostic\"], \"name\": \"CrewAI\", \"orchestrationModel\": \"Role-based crews for agent collaboration plus event-driven Flows for routing, persistence, and approval points.\", \"priorities\": [\"multi-agent\", \"approval\", \"rapid-composition\", \"managed-cloud\"], \"release\": {\"publishedAt\": \"2026-08-27\", \"sourceId\": \"CR-REL\", \"track\": \"Python\", \"version\": \"1.15.18\"}, \"tradeoffs\": [\"Concise role and task composition\", \"Flows add operational control but create a second mental model\", \"Managed deployment and full observability are concentrated in CrewAI AMP\"]}", "record_id": "crewai", "record_type": "FRAMEWORK_PROFILE", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "b1213f374722edde01ca74a7ccac68e835070705", "source_data_hash": "sha256:42ad1d6f7dae557ab024be640e13271ce9f8b19f81ffe808880de3bef3b5cd8b", "source_url": "https://github.com/PharosProduction/enterprise-ai-agent-frameworks/blob/b1213f374722edde01ca74a7ccac68e835070705/data/frameworks.json", "status": "DRAFT", "verified_at": null}
4
+ {"config": "framework", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"bestFor\": \"Python products centered on OpenAI models that need a small orchestration surface, built-in tracing, sessions, guardrails, and tool approval.\", \"capabilities\": {\"approval\": {\"detail\": \"Tools can require approval, paused RunState can be serialized, and unresolved interruptions remain pending until approved or rejected.\", \"sourceIds\": [\"OA-HITL\"], \"status\": \"native\"}, \"deployment\": {\"detail\": \"The SDK runs inside a Python application; teams choose their hosting and add a durable orchestrator when workflows span long waits or process restarts.\", \"sourceIds\": [\"OA-RUN\"], \"status\": \"application-owned\"}, \"observability\": {\"detail\": \"Built-in tracing records model generations, tool calls, handoffs, guardrails, and custom events with controls for sensitive trace content.\", \"sourceIds\": [\"OA-TRACE\"], \"status\": \"native\"}, \"recovery\": {\"detail\": \"Serialized run state supports approval pause/resume; process-restart durability and automatic recovery use documented Dapr, Temporal, Restate, or DBOS integrations.\", \"sourceIds\": [\"OA-HITL\", \"OA-RUN\"], \"status\": \"external-runtime\"}, \"state\": {\"detail\": \"Sessions store conversation history through SQLite, Redis, SQLAlchemy, Dapr, encrypted, file-backed, or OpenAI-managed implementations.\", \"sourceIds\": [\"OA-RUN\"], \"status\": \"native\"}}, \"constraints\": \"The SDK manages the agent loop, but durable long-running recovery comes through Dapr, Temporal, Restate, DBOS, or application infrastructure rather than a built-in workflow server.\", \"deploymentControl\": [\"self-host\", \"managed\"], \"disqualifiers\": [\"Provider neutrality is a hard procurement requirement\", \"The system needs a built-in graph runtime and checkpoint manager without external workflow infrastructure\"], \"id\": \"openai-agents-sdk\", \"languages\": [\"python\"], \"license\": \"MIT\", \"modelStrategy\": [\"openai\", \"agnostic-with-adapters\"], \"name\": \"OpenAI Agents SDK\", \"orchestrationModel\": \"A compact runner with agents, tools, handoffs, guardrails, sessions, interruptions, and tracing.\", \"priorities\": [\"approval\", \"observability\", \"minimal-sdk\", \"openai-stack\"], \"release\": {\"publishedAt\": \"2026-08-19\", \"sourceId\": \"OA-REL\", \"track\": \"Python\", \"version\": \"0.22.0\"}, \"tradeoffs\": [\"Small API surface and first-party OpenAI integrations\", \"Provider adapters exist but the default path is OpenAI-first\", \"Durability adds an external orchestration dependency\"]}", "record_id": "openai-agents-sdk", "record_type": "FRAMEWORK_PROFILE", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "b1213f374722edde01ca74a7ccac68e835070705", "source_data_hash": "sha256:42ad1d6f7dae557ab024be640e13271ce9f8b19f81ffe808880de3bef3b5cd8b", "source_url": "https://github.com/PharosProduction/enterprise-ai-agent-frameworks/blob/b1213f374722edde01ca74a7ccac68e835070705/data/frameworks.json", "status": "DRAFT", "verified_at": null}
5
+ {"config": "framework", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"bestFor\": \"Multi-language teams using Gemini or Google Cloud that want one agent toolkit across local development, Agent Runtime, Cloud Run, and GKE.\", \"capabilities\": {\"approval\": {\"detail\": \"Graph workflows can request external human input and resume through the workflow runtime rather than hiding approval inside prompt text.\", \"sourceIds\": [\"GA-HITL\", \"GA-RESUME\"], \"status\": \"native\"}, \"deployment\": {\"detail\": \"Documented targets include Agent Runtime, Cloud Run, and GKE, with CLI support for CI/CD, service identity, secrets, scaling, and observability.\", \"sourceIds\": [\"GA-DEPLOY\"], \"status\": \"self-host-or-managed\"}, \"observability\": {\"detail\": \"OpenTelemetry instrumentation exports agent and tool traces; Google tooling connects traces to Cloud Trace and optional BigQuery analytics.\", \"sourceIds\": [\"GA-OBS\"], \"status\": \"integrated\"}, \"recovery\": {\"detail\": \"Resumable workflow sessions persist execution progress and continue graph work after interruption when backed by a persistent session service.\", \"sourceIds\": [\"GA-RESUME\", \"GA-STATE\"], \"status\": \"native\"}, \"state\": {\"detail\": \"Serializable session state is persisted by DatabaseSessionService or VertexAiSessionService; InMemorySessionService loses state on restart.\", \"sourceIds\": [\"GA-STATE\"], \"status\": \"native\"}}, \"constraints\": \"Session persistence depends on the selected SessionService, and operational features differ across SDK languages and deployment targets. In-memory sessions do not survive a restart.\", \"deploymentControl\": [\"self-host\", \"managed\"], \"disqualifiers\": [\"The organization requires a cloud-neutral operations plane\", \"The chosen language needs a feature that exists only in another ADK SDK\"], \"id\": \"google-adk\", \"languages\": [\"python\", \"typescript\", \"go\", \"java\", \"kotlin\"], \"license\": \"Apache-2.0\", \"modelStrategy\": [\"google\", \"agnostic\"], \"name\": \"Google ADK\", \"orchestrationModel\": \"LLM agents, deterministic sequential/parallel/loop agents, and graph workflows backed by sessions and events.\", \"priorities\": [\"multi-language\", \"managed-cloud\", \"observability\", \"google-stack\", \"multi-agent\"], \"release\": {\"publishedAt\": \"2026-08-26\", \"sourceId\": \"GA-REL\", \"track\": \"Python\", \"version\": \"2.8.0\"}, \"tradeoffs\": [\"Broad language coverage and Google Cloud deployment paths\", \"Strongest operational path assumes Google Cloud\", \"Teams must verify feature parity for their chosen language\"]}", "record_id": "google-adk", "record_type": "FRAMEWORK_PROFILE", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "b1213f374722edde01ca74a7ccac68e835070705", "source_data_hash": "sha256:42ad1d6f7dae557ab024be640e13271ce9f8b19f81ffe808880de3bef3b5cd8b", "source_url": "https://github.com/PharosProduction/enterprise-ai-agent-frameworks/blob/b1213f374722edde01ca74a7ccac68e835070705/data/frameworks.json", "status": "DRAFT", "verified_at": null}
license-ledger.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "decision": "PENDING_HUMAN_REVIEW",
3
+ "notice_file": "LICENSE-NOTICE.md",
4
+ "upstream_notices": "Exact source declarations preserved in source-snapshot.json.",
5
+ "new_blanket_license": null
6
+ }
rag.jsonl ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"config": "rag", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"claimIds\": [\"CLAIM-RAG-FRESHNESS-FIT\", \"CLAIM-CORPUS-QUALITY\"], \"disqualifiers\": [\"NO_AUTHORITATIVE_CORPUS\"], \"id\": \"RULE-BLOCKED-NO-CORPUS\", \"kind\": \"decision\", \"nextSteps\": [\"Identify an authoritative, permissioned corpus and an owner for updates before selecting a knowledge architecture.\"], \"outcomeId\": \"BLOCKED\", \"priority\": 10, \"rejectedOutcomes\": [\"RAG\", \"HYBRID\", \"FINE_TUNING\"], \"sourceIds\": [\"SOURCE-MICROSOFT-RAG-VS-FT\", \"SOURCE-RAG-PAPER\"], \"when\": {\"all\": [{\"criterionId\": \"authoritative_corpus\", \"operator\": \"equals\", \"value\": \"no\"}], \"any\": [{\"criterionId\": \"fresh_facts\", \"operator\": \"equals\", \"value\": \"yes\"}, {\"criterionId\": \"source_citations\", \"operator\": \"equals\", \"value\": \"yes\"}]}}", "record_id": "RULE-BLOCKED-NO-CORPUS", "record_type": "RULE", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "6ea24ef75c3ad09a3bb76d1c20a173bfab592559", "source_data_hash": "sha256:2e7e1cc3602086eccdced9d531ae327fc9d17f1d7e09e9b7f431c918e6627d83", "source_url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/data/rules.json", "status": "DRAFT", "verified_at": null}
2
+ {"config": "rag", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"claimIds\": [\"CLAIM-EVAL-FIRST\"], \"id\": \"RULE-INSUFFICIENT-UNKNOWN-CORE\", \"kind\": \"decision\", \"nextSteps\": [\"Resolve every unknown core input with a named evidence owner before forcing an architecture choice.\"], \"outcomeId\": \"INSUFFICIENT_EVIDENCE\", \"priority\": 20, \"sourceIds\": [\"SOURCE-OPENAI-MODEL-OPTIMIZATION\"], \"when\": {\"any\": [{\"criterionId\": \"fresh_facts\", \"operator\": \"equals\", \"value\": \"unknown\"}, {\"criterionId\": \"source_citations\", \"operator\": \"equals\", \"value\": \"unknown\"}, {\"criterionId\": \"behavior_change\", \"operator\": \"equals\", \"value\": \"unknown\"}, {\"criterionId\": \"representative_examples\", \"operator\": \"equals\", \"value\": \"unknown\"}, {\"criterionId\": \"evaluation_set\", \"operator\": \"equals\", \"value\": \"unknown\"}, {\"criterionId\": \"authoritative_corpus\", \"operator\": \"equals\", \"value\": \"unknown\"}, {\"criterionId\": \"retrieval_operations\", \"operator\": \"equals\", \"value\": \"unknown\"}, {\"criterionId\": \"training_operations\", \"operator\": \"equals\", \"value\": \"unknown\"}, {\"criterionId\": \"stable_narrow_task\", \"operator\": \"equals\", \"value\": \"unknown\"}]}}", "record_id": "RULE-INSUFFICIENT-UNKNOWN-CORE", "record_type": "RULE", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "6ea24ef75c3ad09a3bb76d1c20a173bfab592559", "source_data_hash": "sha256:2e7e1cc3602086eccdced9d531ae327fc9d17f1d7e09e9b7f431c918e6627d83", "source_url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/data/rules.json", "status": "DRAFT", "verified_at": null}
3
+ {"config": "rag", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"claimIds\": [\"CLAIM-EVAL-FIRST\", \"CLAIM-EXAMPLES-REQUIRED\"], \"disqualifiers\": [\"NO_EVALUATION_SET\"], \"id\": \"RULE-INSUFFICIENT-NO-EVAL\", \"kind\": \"decision\", \"nextSteps\": [\"Create a versioned task evaluation set and acceptance criteria, then compare candidates against the same baseline.\"], \"outcomeId\": \"INSUFFICIENT_EVIDENCE\", \"priority\": 30, \"sourceIds\": [\"SOURCE-OPENAI-MODEL-OPTIMIZATION\"], \"when\": {\"all\": [{\"criterionId\": \"evaluation_set\", \"operator\": \"equals\", \"value\": \"no\"}]}}", "record_id": "RULE-INSUFFICIENT-NO-EVAL", "record_type": "RULE", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "6ea24ef75c3ad09a3bb76d1c20a173bfab592559", "source_data_hash": "sha256:2e7e1cc3602086eccdced9d531ae327fc9d17f1d7e09e9b7f431c918e6627d83", "source_url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/data/rules.json", "status": "DRAFT", "verified_at": null}
4
+ {"config": "rag", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"claimIds\": [\"CLAIM-EXAMPLES-REQUIRED\", \"CLAIM-EVAL-FIRST\"], \"id\": \"RULE-BASELINE-NO-EXAMPLES\", \"kind\": \"decision\", \"nextSteps\": [\"Establish a prompt baseline and collect permitted, representative failure and success examples before training.\"], \"outcomeId\": \"BASELINE_FIRST\", \"priority\": 40, \"rejectedOutcomes\": [\"FINE_TUNING\", \"HYBRID\"], \"sourceIds\": [\"SOURCE-OPENAI-MODEL-OPTIMIZATION\"], \"when\": {\"all\": [{\"criterionId\": \"behavior_change\", \"operator\": \"equals\", \"value\": \"yes\"}, {\"criterionId\": \"representative_examples\", \"operator\": \"equals\", \"value\": \"no\"}]}}", "record_id": "RULE-BASELINE-NO-EXAMPLES", "record_type": "RULE", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "6ea24ef75c3ad09a3bb76d1c20a173bfab592559", "source_data_hash": "sha256:2e7e1cc3602086eccdced9d531ae327fc9d17f1d7e09e9b7f431c918e6627d83", "source_url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/data/rules.json", "status": "DRAFT", "verified_at": null}
5
+ {"config": "rag", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"claimIds\": [\"CLAIM-CORPUS-QUALITY\"], \"disqualifiers\": [\"NO_RETRIEVAL_OPERATING_PATH\"], \"id\": \"RULE-BLOCKED-NO-RETRIEVAL-OPS\", \"kind\": \"decision\", \"nextSteps\": [\"Assign ownership for ingestion, index freshness, retrieval evaluation, rollback, and access control.\"], \"outcomeId\": \"BLOCKED\", \"priority\": 50, \"rejectedOutcomes\": [\"RAG\", \"HYBRID\"], \"sourceIds\": [\"SOURCE-MICROSOFT-RAG-VS-FT\"], \"when\": {\"all\": [{\"criterionId\": \"authoritative_corpus\", \"operator\": \"equals\", \"value\": \"yes\"}, {\"criterionId\": \"retrieval_operations\", \"operator\": \"equals\", \"value\": \"no\"}], \"any\": [{\"criterionId\": \"fresh_facts\", \"operator\": \"equals\", \"value\": \"yes\"}, {\"criterionId\": \"source_citations\", \"operator\": \"equals\", \"value\": \"yes\"}]}}", "record_id": "RULE-BLOCKED-NO-RETRIEVAL-OPS", "record_type": "RULE", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "6ea24ef75c3ad09a3bb76d1c20a173bfab592559", "source_data_hash": "sha256:2e7e1cc3602086eccdced9d531ae327fc9d17f1d7e09e9b7f431c918e6627d83", "source_url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/data/rules.json", "status": "DRAFT", "verified_at": null}
6
+ {"config": "rag", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"claimIds\": [\"CLAIM-EXAMPLES-REQUIRED\", \"CLAIM-EVAL-FIRST\"], \"disqualifiers\": [\"NO_TRAINING_OPERATING_PATH\"], \"id\": \"RULE-BLOCKED-NO-TRAINING-OPS\", \"kind\": \"decision\", \"nextSteps\": [\"Assign ownership for datasets, model versions, regression evaluation, rollback, and provider lifecycle.\"], \"outcomeId\": \"BLOCKED\", \"priority\": 60, \"rejectedOutcomes\": [\"FINE_TUNING\", \"HYBRID\"], \"sourceIds\": [\"SOURCE-OPENAI-MODEL-OPTIMIZATION\"], \"when\": {\"all\": [{\"criterionId\": \"behavior_change\", \"operator\": \"equals\", \"value\": \"yes\"}, {\"criterionId\": \"representative_examples\", \"operator\": \"equals\", \"value\": \"yes\"}, {\"criterionId\": \"training_operations\", \"operator\": \"equals\", \"value\": \"no\"}]}}", "record_id": "RULE-BLOCKED-NO-TRAINING-OPS", "record_type": "RULE", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "6ea24ef75c3ad09a3bb76d1c20a173bfab592559", "source_data_hash": "sha256:2e7e1cc3602086eccdced9d531ae327fc9d17f1d7e09e9b7f431c918e6627d83", "source_url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/data/rules.json", "status": "DRAFT", "verified_at": null}
7
+ {"config": "rag", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"claimIds\": [\"CLAIM-HYBRID-PATTERN\", \"CLAIM-DUAL-OPERATIONS\", \"CLAIM-RAFT-SCOPE\"], \"id\": \"RULE-HYBRID-CANDIDATE\", \"kind\": \"decision\", \"nextSteps\": [\"Test retrieval and behavior adaptation separately before testing the combined system; retain both rollback paths.\"], \"outcomeId\": \"HYBRID\", \"priority\": 70, \"sourceIds\": [\"SOURCE-RAFT-PAPER\", \"SOURCE-MICROSOFT-RAG-VS-FT\"], \"when\": {\"all\": [{\"criterionId\": \"behavior_change\", \"operator\": \"equals\", \"value\": \"yes\"}, {\"criterionId\": \"representative_examples\", \"operator\": \"equals\", \"value\": \"yes\"}, {\"criterionId\": \"authoritative_corpus\", \"operator\": \"equals\", \"value\": \"yes\"}, {\"criterionId\": \"retrieval_operations\", \"operator\": \"equals\", \"value\": \"yes\"}, {\"criterionId\": \"training_operations\", \"operator\": \"equals\", \"value\": \"yes\"}, {\"criterionId\": \"stable_narrow_task\", \"operator\": \"equals\", \"value\": \"yes\"}], \"any\": [{\"criterionId\": \"fresh_facts\", \"operator\": \"equals\", \"value\": \"yes\"}, {\"criterionId\": \"source_citations\", \"operator\": \"equals\", \"value\": \"yes\"}]}}", "record_id": "RULE-HYBRID-CANDIDATE", "record_type": "RULE", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "6ea24ef75c3ad09a3bb76d1c20a173bfab592559", "source_data_hash": "sha256:2e7e1cc3602086eccdced9d531ae327fc9d17f1d7e09e9b7f431c918e6627d83", "source_url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/data/rules.json", "status": "DRAFT", "verified_at": null}
8
+ {"config": "rag", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"claimIds\": [\"CLAIM-RAG-RUNTIME-RETRIEVAL\", \"CLAIM-RAG-FRESHNESS-FIT\", \"CLAIM-RAG-PROVENANCE\"], \"id\": \"RULE-RAG-CANDIDATE\", \"kind\": \"decision\", \"nextSteps\": [\"Build a retrieval baseline and evaluate passage relevance, claim support, answer quality, freshness, and recovery from stale indexes.\"], \"outcomeId\": \"RAG\", \"priority\": 80, \"sourceIds\": [\"SOURCE-RAG-PAPER\", \"SOURCE-MICROSOFT-RAG-VS-FT\"], \"when\": {\"all\": [{\"criterionId\": \"authoritative_corpus\", \"operator\": \"equals\", \"value\": \"yes\"}, {\"criterionId\": \"retrieval_operations\", \"operator\": \"equals\", \"value\": \"yes\"}], \"any\": [{\"criterionId\": \"fresh_facts\", \"operator\": \"equals\", \"value\": \"yes\"}, {\"criterionId\": \"source_citations\", \"operator\": \"equals\", \"value\": \"yes\"}]}}", "record_id": "RULE-RAG-CANDIDATE", "record_type": "RULE", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "6ea24ef75c3ad09a3bb76d1c20a173bfab592559", "source_data_hash": "sha256:2e7e1cc3602086eccdced9d531ae327fc9d17f1d7e09e9b7f431c918e6627d83", "source_url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/data/rules.json", "status": "DRAFT", "verified_at": null}
9
+ {"config": "rag", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"claimIds\": [\"CLAIM-FINE-TUNING-BEHAVIOR\", \"CLAIM-EXAMPLES-REQUIRED\", \"CLAIM-LORA-METHOD\"], \"id\": \"RULE-FINE-TUNING-CANDIDATE\", \"kind\": \"decision\", \"nextSteps\": [\"Compare prompt-only and fine-tuned candidates on target behavior, held-out examples, regressions, and rollback readiness.\"], \"outcomeId\": \"FINE_TUNING\", \"priority\": 90, \"sourceIds\": [\"SOURCE-OPENAI-MODEL-OPTIMIZATION\", \"SOURCE-MICROSOFT-RAG-VS-FT\", \"SOURCE-LORA-PAPER\"], \"when\": {\"all\": [{\"criterionId\": \"behavior_change\", \"operator\": \"equals\", \"value\": \"yes\"}, {\"criterionId\": \"representative_examples\", \"operator\": \"equals\", \"value\": \"yes\"}, {\"criterionId\": \"training_operations\", \"operator\": \"equals\", \"value\": \"yes\"}, {\"criterionId\": \"stable_narrow_task\", \"operator\": \"equals\", \"value\": \"yes\"}], \"none\": [{\"criterionId\": \"fresh_facts\", \"operator\": \"equals\", \"value\": \"yes\"}, {\"criterionId\": \"source_citations\", \"operator\": \"equals\", \"value\": \"yes\"}]}}", "record_id": "RULE-FINE-TUNING-CANDIDATE", "record_type": "RULE", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "6ea24ef75c3ad09a3bb76d1c20a173bfab592559", "source_data_hash": "sha256:2e7e1cc3602086eccdced9d531ae327fc9d17f1d7e09e9b7f431c918e6627d83", "source_url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/data/rules.json", "status": "DRAFT", "verified_at": null}
10
+ {"config": "rag", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"claimIds\": [\"CLAIM-EVAL-FIRST\"], \"id\": \"RULE-BASELINE-NO-PRIMARY-GAP\", \"kind\": \"decision\", \"nextSteps\": [\"Measure the current prompt or workflow baseline and document a specific failure class before adding architecture.\"], \"outcomeId\": \"BASELINE_FIRST\", \"priority\": 100, \"sourceIds\": [\"SOURCE-OPENAI-MODEL-OPTIMIZATION\"], \"when\": {\"all\": [{\"criterionId\": \"fresh_facts\", \"operator\": \"equals\", \"value\": \"no\"}, {\"criterionId\": \"source_citations\", \"operator\": \"equals\", \"value\": \"no\"}, {\"criterionId\": \"behavior_change\", \"operator\": \"equals\", \"value\": \"no\"}]}}", "record_id": "RULE-BASELINE-NO-PRIMARY-GAP", "record_type": "RULE", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "6ea24ef75c3ad09a3bb76d1c20a173bfab592559", "source_data_hash": "sha256:2e7e1cc3602086eccdced9d531ae327fc9d17f1d7e09e9b7f431c918e6627d83", "source_url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/data/rules.json", "status": "DRAFT", "verified_at": null}
11
+ {"config": "rag", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"claimIds\": [\"CLAIM-EVAL-FIRST\"], \"id\": \"RULE-INSUFFICIENT-FALLBACK\", \"kind\": \"decision\", \"nextSteps\": [\"Document which requirement, data asset, or operating capability prevents the available evidence from matching a candidate rule.\"], \"outcomeId\": \"INSUFFICIENT_EVIDENCE\", \"priority\": 110, \"sourceIds\": [\"SOURCE-OPENAI-MODEL-OPTIMIZATION\", \"SOURCE-PHAROS-GUIDE\"], \"when\": {\"all\": [{\"criterionId\": \"fresh_facts\", \"operator\": \"not_equals\", \"value\": \"unknown\"}]}}", "record_id": "RULE-INSUFFICIENT-FALLBACK", "record_type": "RULE", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "6ea24ef75c3ad09a3bb76d1c20a173bfab592559", "source_data_hash": "sha256:2e7e1cc3602086eccdced9d531ae327fc9d17f1d7e09e9b7f431c918e6627d83", "source_url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/data/rules.json", "status": "DRAFT", "verified_at": null}
12
+ {"config": "rag", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"claimIds\": [\"CLAIM-LEXICAL-SEMANTIC\", \"CLAIM-RERANKING\"], \"id\": \"ADVISORY-LEXICAL-RETRIEVAL\", \"kind\": \"advisory\", \"nextSteps\": [\"Benchmark BM25 or another lexical path alongside embeddings, then evaluate fusion and reranking on exact-term failures.\"], \"priority\": 200, \"sourceIds\": [\"SOURCE-ANTHROPIC-CONTEXTUAL-RETRIEVAL\"], \"when\": {\"all\": [{\"criterionId\": \"exact_term_retrieval\", \"operator\": \"equals\", \"value\": \"yes\"}]}}", "record_id": "ADVISORY-LEXICAL-RETRIEVAL", "record_type": "RULE", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "6ea24ef75c3ad09a3bb76d1c20a173bfab592559", "source_data_hash": "sha256:2e7e1cc3602086eccdced9d531ae327fc9d17f1d7e09e9b7f431c918e6627d83", "source_url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/data/rules.json", "status": "DRAFT", "verified_at": null}
13
+ {"config": "rag", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"claimIds\": [\"CLAIM-RAG-PROVENANCE\"], \"id\": \"ADVISORY-CITATION-FAITHFULNESS\", \"kind\": \"advisory\", \"nextSteps\": [\"Evaluate whether each material generated claim is supported by its cited passage; do not treat citation presence as faithfulness.\"], \"priority\": 210, \"sourceIds\": [\"SOURCE-RAG-PAPER\", \"SOURCE-ANTHROPIC-CONTEXTUAL-RETRIEVAL\"], \"when\": {\"all\": [{\"criterionId\": \"source_citations\", \"operator\": \"equals\", \"value\": \"yes\"}]}}", "record_id": "ADVISORY-CITATION-FAITHFULNESS", "record_type": "RULE", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "6ea24ef75c3ad09a3bb76d1c20a173bfab592559", "source_data_hash": "sha256:2e7e1cc3602086eccdced9d531ae327fc9d17f1d7e09e9b7f431c918e6627d83", "source_url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/data/rules.json", "status": "DRAFT", "verified_at": null}
14
+ {"config": "rag", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"claimIds\": [\"CLAIM-RUNTIME-MEASUREMENT\"], \"id\": \"ADVISORY-RUNTIME-BENCHMARK\", \"kind\": \"advisory\", \"nextSteps\": [\"Benchmark end-to-end latency and cost on the intended provider, corpus, traffic shape, and quality target.\"], \"priority\": 220, \"sourceIds\": [\"SOURCE-MICROSOFT-RAG-VS-FT\", \"SOURCE-OPENAI-MODEL-OPTIMIZATION\"], \"when\": {\"all\": [{\"criterionId\": \"strict_runtime_budget\", \"operator\": \"equals\", \"value\": \"yes\"}]}}", "record_id": "ADVISORY-RUNTIME-BENCHMARK", "record_type": "RULE", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "6ea24ef75c3ad09a3bb76d1c20a173bfab592559", "source_data_hash": "sha256:2e7e1cc3602086eccdced9d531ae327fc9d17f1d7e09e9b7f431c918e6627d83", "source_url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/data/rules.json", "status": "DRAFT", "verified_at": null}
15
+ {"config": "rag", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"claimIds\": [\"CLAIM-PRIVACY-TOPOLOGY\"], \"id\": \"ADVISORY-PRIVACY-TOPOLOGY\", \"kind\": \"advisory\", \"nextSteps\": [\"Retain the verified data-flow map and recheck provider retention, training, access, and deletion controls before release.\"], \"priority\": 230, \"sourceIds\": [\"SOURCE-OPENAI-DATA-CONTROLS\"], \"when\": {\"all\": [{\"criterionId\": \"privacy_topology\", \"operator\": \"equals\", \"value\": \"yes\"}]}}", "record_id": "ADVISORY-PRIVACY-TOPOLOGY", "record_type": "RULE", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "6ea24ef75c3ad09a3bb76d1c20a173bfab592559", "source_data_hash": "sha256:2e7e1cc3602086eccdced9d531ae327fc9d17f1d7e09e9b7f431c918e6627d83", "source_url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/data/rules.json", "status": "DRAFT", "verified_at": null}
16
+ {"config": "rag", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"claimIds\": [\"CLAIM-PRIVACY-TOPOLOGY\"], \"id\": \"ADVISORY-PRIVACY-UNRESOLVED\", \"kind\": \"advisory\", \"nextSteps\": [\"Map storage, retrieval, training, retention, access, and deletion paths; architecture labels alone do not establish privacy.\"], \"priority\": 240, \"sourceIds\": [\"SOURCE-OPENAI-DATA-CONTROLS\", \"SOURCE-MICROSOFT-RAG-VS-FT\"], \"when\": {\"any\": [{\"criterionId\": \"privacy_topology\", \"operator\": \"equals\", \"value\": \"no\"}, {\"criterionId\": \"privacy_topology\", \"operator\": \"equals\", \"value\": \"unknown\"}]}}", "record_id": "ADVISORY-PRIVACY-UNRESOLVED", "record_type": "RULE", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "6ea24ef75c3ad09a3bb76d1c20a173bfab592559", "source_data_hash": "sha256:2e7e1cc3602086eccdced9d531ae327fc9d17f1d7e09e9b7f431c918e6627d83", "source_url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/data/rules.json", "status": "DRAFT", "verified_at": null}
17
+ {"config": "rag", "decision_job": "PATH_SELECTION", "limitations": ["Native method retained; numeric preference is not a probability or performance benchmark.", "Architecture proposals have no published canonical source; framework facts retain their original cutoff."], "payload_json": "{\"claimIds\": [\"CLAIM-HYBRID-PATTERN\", \"CLAIM-DUAL-OPERATIONS\"], \"id\": \"ADVISORY-HYBRID-OPERATIONS\", \"kind\": \"advisory\", \"nextSteps\": [\"Version the corpus, index, training dataset, base model, adapter or tuned model, and evaluation suite as separate release inputs.\"], \"priority\": 250, \"sourceIds\": [\"SOURCE-RAFT-PAPER\"], \"when\": {\"all\": [{\"criterionId\": \"retrieval_operations\", \"operator\": \"equals\", \"value\": \"yes\"}, {\"criterionId\": \"training_operations\", \"operator\": \"equals\", \"value\": \"yes\"}, {\"criterionId\": \"behavior_change\", \"operator\": \"equals\", \"value\": \"yes\"}], \"any\": [{\"criterionId\": \"fresh_facts\", \"operator\": \"equals\", \"value\": \"yes\"}, {\"criterionId\": \"source_citations\", \"operator\": \"equals\", \"value\": \"yes\"}]}}", "record_id": "ADVISORY-HYBRID-OPERATIONS", "record_type": "RULE", "review_status": "NOT_REVIEWED", "snapshot_at": "2026-09-17T06:17:24Z", "source_commit_sha": "6ea24ef75c3ad09a3bb76d1c20a173bfab592559", "source_data_hash": "sha256:2e7e1cc3602086eccdced9d531ae327fc9d17f1d7e09e9b7f431c918e6627d83", "source_url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/data/rules.json", "status": "DRAFT", "verified_at": null}
release-schema-v1.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "Production AI decision rule candidate schema",
4
+ "description": "Candidate row contract. No row may be released until source mapping, review and rights gates pass.",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": ["rule_id", "decision_job", "rule_kind", "priority", "outcome", "conditions", "questions", "options", "disqualifiers", "rejected_options", "evidence_required", "next_steps", "source_claim_ids", "source_reference_ids", "source_asset_id", "source_url", "source_commit_sha", "source_data_hash", "source_version", "review_status", "verified_at", "limitations", "status"],
8
+ "properties": {
9
+ "rule_id": {"type": "string", "minLength": 1},
10
+ "decision_job": {"const": "PATH_SELECTION"},
11
+ "rule_kind": {"type": "string", "enum": ["DECISION", "ADVISORY", "STOP_CONDITION"]},
12
+ "priority": {"type": "integer", "minimum": 0},
13
+ "outcome": {"type": "string", "minLength": 1},
14
+ "conditions": {
15
+ "type": "array",
16
+ "minItems": 1,
17
+ "items": {
18
+ "type": "object",
19
+ "additionalProperties": false,
20
+ "required": ["group", "criterion_id", "operator", "value"],
21
+ "properties": {
22
+ "group": {"type": "string", "minLength": 1},
23
+ "criterion_id": {"type": "string", "minLength": 1},
24
+ "operator": {"type": "string", "enum": ["equals", "not_equals", "in", "not_in"]},
25
+ "value": {}
26
+ }
27
+ }
28
+ },
29
+ "questions": {
30
+ "type": "array",
31
+ "items": {
32
+ "type": "object",
33
+ "additionalProperties": false,
34
+ "required": ["criterion_id", "question", "allowed_answers"],
35
+ "properties": {
36
+ "criterion_id": {"type": "string", "minLength": 1},
37
+ "question": {"type": "string", "minLength": 1},
38
+ "allowed_answers": {"type": "array", "minItems": 1, "items": {"type": "string", "minLength": 1}}
39
+ }
40
+ }
41
+ },
42
+ "options": {"type": "array", "items": {"type": "string", "minLength": 1}},
43
+ "disqualifiers": {"type": "array", "items": {"type": "string", "minLength": 1}},
44
+ "rejected_options": {"type": "array", "items": {"type": "string", "minLength": 1}},
45
+ "evidence_required": {"type": "array", "items": {"type": "string", "minLength": 1}},
46
+ "next_steps": {"type": "array", "items": {"type": "string", "minLength": 1}},
47
+ "source_claim_ids": {"type": "array", "items": {"type": "string", "minLength": 1}},
48
+ "source_reference_ids": {"type": "array", "items": {"type": "string", "minLength": 1}},
49
+ "source_asset_id": {"type": "string", "minLength": 1},
50
+ "source_url": {"type": "string", "format": "uri", "pattern": "^https://"},
51
+ "source_commit_sha": {"type": "string", "pattern": "^[0-9a-f]{40}$"},
52
+ "source_data_hash": {"type": "string", "pattern": "^sha256:[0-9a-f]{64}$"},
53
+ "source_version": {"type": "string", "minLength": 1},
54
+ "review_status": {"type": "string", "enum": ["REVIEWED", "DISPUTED"]},
55
+ "verified_at": {"type": "string", "format": "date-time"},
56
+ "limitations": {"type": "array", "minItems": 1, "items": {"type": "string", "minLength": 1}},
57
+ "status": {"type": "string", "enum": ["ACTIVE", "DISPUTED", "DEPRECATED"]}
58
+ }
59
+ }
release.json CHANGED
@@ -1,21 +1,23 @@
1
  {
2
- "schema_version": "1.0.0",
3
- "repo_id": "pharosproduction/production-ai-decision-rules",
4
- "repo_type": "dataset",
5
- "private": true,
 
 
 
 
 
 
6
  "publish_eligible": false,
7
- "lifecycle": "SOURCE_GATED",
8
- "preparation_version": "2026-08-18.1",
9
- "configs": ["rag", "build_buy", "framework", "architecture"],
10
- "row_count": 0,
11
- "schema_status": "CANDIDATE_SOURCE_MAPPING_OPEN",
12
- "source_manifest": "source-manifest.json",
13
- "blocking_reasons": [
14
- "NO_SOURCE_IS_HF_ELIGIBLE",
15
- "NAMED_TECHNICAL_REVIEW_MISSING",
16
- "NAMED_RIGHTS_APPROVAL_MISSING",
17
- "RAG_PRIMARY_CLAIMS_NOT_CLOSED",
18
- "RAG_LOSSLESS_SCHEMA_MAPPING_NOT_CLOSED"
19
- ],
20
- "validated_at": "2026-08-18T15:30:00+03:00"
21
  }
 
1
  {
2
+ "data_sha256": "sha256:1f09f1719c005e6cbbfaf07f4c894311a89abe300cea069c5580d3332eeed31d",
3
+ "files": {
4
+ "architecture.jsonl": "sha256:313e772557ceb9fa35632a3aec86ba73aabfad4311a9ef6c342db41f73a866d2",
5
+ "build_buy.jsonl": "sha256:4de37f6c7679cea464f049c1d157a0707d7a1a4fa0acfc75a78c7b8ceb045b39",
6
+ "framework.jsonl": "sha256:91cd61cdc58e7828ca029e0fa74db13ecdc95ff71344fc820f6ba74970cd1bd1",
7
+ "rag.jsonl": "sha256:ea6bdae22e2aa50d748045ec29e7caa9cd04af4013fcc5093dd837db0b65ed3b"
8
+ },
9
+ "independent_human_review": "NOT_REVIEWED",
10
+ "lifecycle": "FUNCTIONAL_PRIVATE_CANDIDATE",
11
+ "publication_authority": "User authorized Control Evidence Dataset publication on 2026-09-17; review/rights evidence has not been supplied.",
12
  "publish_eligible": false,
13
+ "rights_decision": "PENDING",
14
+ "row_counts": {
15
+ "architecture": 8,
16
+ "build_buy": 12,
17
+ "framework": 5,
18
+ "rag": 17
19
+ },
20
+ "schema_version": "2.0.0-candidate.1",
21
+ "upstream_proposal_adoption": "PENDING",
22
+ "version": "0.1.0-candidate.1"
 
 
 
 
23
  }
schema.json CHANGED
@@ -1,59 +1,85 @@
1
  {
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "title": "Production AI decision rule candidate schema",
4
- "description": "Candidate row contract. No row may be released until source mapping, review and rights gates pass.",
5
- "type": "object",
6
  "additionalProperties": false,
7
- "required": ["rule_id", "decision_job", "rule_kind", "priority", "outcome", "conditions", "questions", "options", "disqualifiers", "rejected_options", "evidence_required", "next_steps", "source_claim_ids", "source_reference_ids", "source_asset_id", "source_url", "source_commit_sha", "source_data_hash", "source_version", "review_status", "verified_at", "limitations", "status"],
8
  "properties": {
9
- "rule_id": {"type": "string", "minLength": 1},
10
- "decision_job": {"const": "PATH_SELECTION"},
11
- "rule_kind": {"type": "string", "enum": ["DECISION", "ADVISORY", "STOP_CONDITION"]},
12
- "priority": {"type": "integer", "minimum": 0},
13
- "outcome": {"type": "string", "minLength": 1},
14
- "conditions": {
15
- "type": "array",
16
- "minItems": 1,
17
- "items": {
18
- "type": "object",
19
- "additionalProperties": false,
20
- "required": ["group", "criterion_id", "operator", "value"],
21
- "properties": {
22
- "group": {"type": "string", "minLength": 1},
23
- "criterion_id": {"type": "string", "minLength": 1},
24
- "operator": {"type": "string", "enum": ["equals", "not_equals", "in", "not_in"]},
25
- "value": {}
26
- }
27
- }
28
- },
29
- "questions": {
30
- "type": "array",
31
  "items": {
32
- "type": "object",
33
- "additionalProperties": false,
34
- "required": ["criterion_id", "question", "allowed_answers"],
35
- "properties": {
36
- "criterion_id": {"type": "string", "minLength": 1},
37
- "question": {"type": "string", "minLength": 1},
38
- "allowed_answers": {"type": "array", "minItems": 1, "items": {"type": "string", "minLength": 1}}
39
- }
40
- }
41
- },
42
- "options": {"type": "array", "items": {"type": "string", "minLength": 1}},
43
- "disqualifiers": {"type": "array", "items": {"type": "string", "minLength": 1}},
44
- "rejected_options": {"type": "array", "items": {"type": "string", "minLength": 1}},
45
- "evidence_required": {"type": "array", "items": {"type": "string", "minLength": 1}},
46
- "next_steps": {"type": "array", "items": {"type": "string", "minLength": 1}},
47
- "source_claim_ids": {"type": "array", "items": {"type": "string", "minLength": 1}},
48
- "source_reference_ids": {"type": "array", "items": {"type": "string", "minLength": 1}},
49
- "source_asset_id": {"type": "string", "minLength": 1},
50
- "source_url": {"type": "string", "format": "uri", "pattern": "^https://"},
51
- "source_commit_sha": {"type": "string", "pattern": "^[0-9a-f]{40}$"},
52
- "source_data_hash": {"type": "string", "pattern": "^sha256:[0-9a-f]{64}$"},
53
- "source_version": {"type": "string", "minLength": 1},
54
- "review_status": {"type": "string", "enum": ["REVIEWED", "DISPUTED"]},
55
- "verified_at": {"type": "string", "format": "date-time"},
56
- "limitations": {"type": "array", "minItems": 1, "items": {"type": "string", "minLength": 1}},
57
- "status": {"type": "string", "enum": ["ACTIVE", "DISPUTED", "DEPRECATED"]}
58
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  }
 
1
  {
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
 
 
 
3
  "additionalProperties": false,
 
4
  "properties": {
5
+ "config": {
6
+ "enum": [
7
+ "rag",
8
+ "build_buy",
9
+ "framework",
10
+ "architecture"
11
+ ]
12
+ },
13
+ "decision_job": {
14
+ "const": "PATH_SELECTION"
15
+ },
16
+ "limitations": {
 
 
 
 
 
 
 
 
 
 
17
  "items": {
18
+ "minLength": 1,
19
+ "type": "string"
20
+ },
21
+ "minItems": 1,
22
+ "type": "array"
23
+ },
24
+ "payload_json": {
25
+ "minLength": 1,
26
+ "type": "string"
27
+ },
28
+ "record_id": {
29
+ "minLength": 1,
30
+ "type": "string"
31
+ },
32
+ "record_type": {
33
+ "minLength": 1,
34
+ "type": "string"
35
+ },
36
+ "review_status": {
37
+ "const": "NOT_REVIEWED"
38
+ },
39
+ "snapshot_at": {
40
+ "minLength": 1,
41
+ "type": "string"
42
+ },
43
+ "source_commit_sha": {
44
+ "pattern": "^[a-f0-9]{40}$",
45
+ "type": [
46
+ "string",
47
+ "null"
48
+ ]
49
+ },
50
+ "source_data_hash": {
51
+ "pattern": "^sha256:[a-f0-9]{64}$",
52
+ "type": "string"
53
+ },
54
+ "source_url": {
55
+ "pattern": "^https://",
56
+ "type": [
57
+ "string",
58
+ "null"
59
+ ]
60
+ },
61
+ "status": {
62
+ "const": "DRAFT"
63
+ },
64
+ "verified_at": {
65
+ "type": "null"
66
+ }
67
+ },
68
+ "required": [
69
+ "record_id",
70
+ "config",
71
+ "record_type",
72
+ "decision_job",
73
+ "payload_json",
74
+ "limitations",
75
+ "source_commit_sha",
76
+ "source_url",
77
+ "source_data_hash",
78
+ "review_status",
79
+ "status",
80
+ "verified_at",
81
+ "snapshot_at"
82
+ ],
83
+ "title": "decision-rules candidate 2.0.0-candidate.1",
84
+ "type": "object"
85
  }
source-manifest.json CHANGED
@@ -1,51 +1,145 @@
1
  {
2
- "schema_version": "1.0.0",
3
- "decision_job": "PATH_SELECTION",
4
- "generated_at": "2026-08-18T15:12:00+03:00",
5
- "sources": [
6
- {
7
- "source_asset_id": "GHP-2026-08-18-02",
8
- "hf_config": "rag",
9
- "source_status": "PUBLISHED",
10
- "source_repo": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix",
11
- "canonical_pages_url": "https://pharosproduction.github.io/rag-vs-fine-tuning-matrix/",
12
- "source_commit_sha": "6ea24ef75c3ad09a3bb76d1c20a173bfab592559",
13
- "source_data_hash": "sha256:7691c56ba2e6e11dd17e0992567a578ca3cb2602a5ef3efc85fa31ee331470a4",
14
- "eligibility": "SOURCE_GATED",
15
- "blocking_reasons": ["REVIEWER_MISSING", "REVIEW_SIGNOFF_MISSING", "RIGHTS_PENDING", "CLAIMS_NOT_CLOSED", "CANONICAL_EXPORT_MANIFEST_MISSING", "SCHEMA_MAPPING_NOT_CLOSED"]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  },
17
- {
18
- "source_asset_id": "GHP-2026-08-25-04",
19
- "hf_config": "build_buy",
20
- "source_status": "PLANNED_NOT_BUILT",
21
- "source_repo": "NOT_AVAILABLE_SOURCE_NOT_BUILT",
22
- "canonical_pages_url": "NOT_AVAILABLE_SOURCE_NOT_BUILT",
23
- "source_commit_sha": "NOT_AVAILABLE_SOURCE_NOT_BUILT",
24
- "source_data_hash": "NOT_AVAILABLE_SOURCE_NOT_BUILT",
25
- "eligibility": "SOURCE_GATED",
26
- "blocking_reasons": ["SOURCE_NOT_PUBLISHED", "CANONICAL_DATA_MISSING", "REVIEWER_MISSING", "RIGHTS_PENDING"]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  },
28
- {
29
- "source_asset_id": "GHP-2026-08-28-05",
30
- "hf_config": "framework",
31
- "source_status": "PLANNED_NOT_BUILT",
32
- "source_repo": "NOT_AVAILABLE_SOURCE_NOT_BUILT",
33
- "canonical_pages_url": "NOT_AVAILABLE_SOURCE_NOT_BUILT",
34
- "source_commit_sha": "NOT_AVAILABLE_SOURCE_NOT_BUILT",
35
- "source_data_hash": "NOT_AVAILABLE_SOURCE_NOT_BUILT",
36
- "eligibility": "SOURCE_GATED",
37
- "blocking_reasons": ["SOURCE_NOT_PUBLISHED", "CANONICAL_DATA_MISSING", "REVIEWER_MISSING", "RIGHTS_PENDING"]
38
- },
39
- {
40
- "source_asset_id": "GHP-2026-09-04-07",
41
- "hf_config": "architecture",
42
- "source_status": "PLANNED_NOT_BUILT",
43
- "source_repo": "NOT_AVAILABLE_SOURCE_NOT_BUILT",
44
- "canonical_pages_url": "NOT_AVAILABLE_SOURCE_NOT_BUILT",
45
- "source_commit_sha": "NOT_AVAILABLE_SOURCE_NOT_BUILT",
46
- "source_data_hash": "NOT_AVAILABLE_SOURCE_NOT_BUILT",
47
- "eligibility": "SOURCE_GATED",
48
- "blocking_reasons": ["SOURCE_NOT_PUBLISHED", "CANONICAL_DATA_MISSING", "REVIEWER_MISSING", "RIGHTS_PENDING"]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  }
50
- ]
51
  }
 
1
  {
2
+ "original_proposals": {
3
+ "canonical_adoption": "PENDING",
4
+ "human_review": "NOT_REVIEWED",
5
+ "path": "source-proposals.json",
6
+ "sha256": "sha256:3a8a49812f2bccc63bc0a761cb4b218b8ab0cbbba25b2228c272ad7cbbc86059"
7
+ },
8
+ "sources": {
9
+ "build_buy": {
10
+ "commit": "c8ad4067654a6777cea3b652a80f62dc6aeb21fb",
11
+ "files": {
12
+ "DATA-LICENSE.md": {
13
+ "sha256": "sha256:6bf6af383376986dca1b4aa4c3bd9e4ce17cab8a75c18d62094cdf29be1e3840",
14
+ "url": "https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard/blob/c8ad4067654a6777cea3b652a80f62dc6aeb21fb/DATA-LICENSE.md"
15
+ },
16
+ "LICENSE": {
17
+ "sha256": "sha256:48463cc27a86bdc41249f2e93168615728c7860d350b4dd51c7606e5c512555e",
18
+ "url": "https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard/blob/c8ad4067654a6777cea3b652a80f62dc6aeb21fb/LICENSE"
19
+ },
20
+ "README.md": {
21
+ "sha256": "sha256:1e3b416b11c1bd14a0fe28f86d0ed2c4015891d0d94456ba99e8a110f87b13f3",
22
+ "url": "https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard/blob/c8ad4067654a6777cea3b652a80f62dc6aeb21fb/README.md"
23
+ },
24
+ "data/claims.json": {
25
+ "sha256": "sha256:6890c6712af4550f520b44187fea89b07eb40f102e8207eebf7a1ec24e4f4e38",
26
+ "url": "https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard/blob/c8ad4067654a6777cea3b652a80f62dc6aeb21fb/data/claims.json"
27
+ },
28
+ "data/criteria.json": {
29
+ "sha256": "sha256:baa562980cf07255e2bf4fa1fded945dadaffcb7726abf7f7d07313d2d506cbd",
30
+ "url": "https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard/blob/c8ad4067654a6777cea3b652a80f62dc6aeb21fb/data/criteria.json"
31
+ },
32
+ "data/methodology.json": {
33
+ "sha256": "sha256:f5eeacd9f42d14adfa004ac0b23d82dab77cf341de08623c7eb35d1c36f315f0",
34
+ "url": "https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard/blob/c8ad4067654a6777cea3b652a80f62dc6aeb21fb/data/methodology.json"
35
+ },
36
+ "data/profiles.json": {
37
+ "sha256": "sha256:bf2a0aae34c6c776da5bd0d69d3913f8922be6cfd7f88131f447dfa6d5722291",
38
+ "url": "https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard/blob/c8ad4067654a6777cea3b652a80f62dc6aeb21fb/data/profiles.json"
39
+ },
40
+ "data/sources.json": {
41
+ "sha256": "sha256:69781b0a45d9690d9c3537eb59e9c43704bea92da77d06318af1528b411c0783",
42
+ "url": "https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard/blob/c8ad4067654a6777cea3b652a80f62dc6aeb21fb/data/sources.json"
43
+ },
44
+ "data/tco.json": {
45
+ "sha256": "sha256:d7896962e88b1c544877528d0d620761fdcab903f54d43b9dbf74a8006381398",
46
+ "url": "https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard/blob/c8ad4067654a6777cea3b652a80f62dc6aeb21fb/data/tco.json"
47
+ },
48
+ "docs/assets/decision-scorecard.js": {
49
+ "sha256": "sha256:40e5682cda7cea69e453c70047f2a1cf93a9d5525905dc4df0389a78d3be75eb",
50
+ "url": "https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard/blob/c8ad4067654a6777cea3b652a80f62dc6aeb21fb/docs/assets/decision-scorecard.js"
51
+ }
52
+ },
53
+ "independent_human_review": "NOT_REVIEWED",
54
+ "pages": "https://pharosproduction.github.io/build-vs-buy-ai-agent-scorecard/",
55
+ "repo": "https://github.com/PharosProduction/build-vs-buy-ai-agent-scorecard",
56
+ "snapshot_at": "2026-09-17T06:17:24Z"
57
  },
58
+ "framework": {
59
+ "commit": "b1213f374722edde01ca74a7ccac68e835070705",
60
+ "files": {
61
+ "DATA-LICENSE.md": {
62
+ "sha256": "sha256:5fb13b5e4854905d6ba554da4a0eae8e97f7c87e9d362f1f9e23bf9e4b3fe52a",
63
+ "url": "https://github.com/PharosProduction/enterprise-ai-agent-frameworks/blob/b1213f374722edde01ca74a7ccac68e835070705/DATA-LICENSE.md"
64
+ },
65
+ "LICENSE": {
66
+ "sha256": "sha256:48463cc27a86bdc41249f2e93168615728c7860d350b4dd51c7606e5c512555e",
67
+ "url": "https://github.com/PharosProduction/enterprise-ai-agent-frameworks/blob/b1213f374722edde01ca74a7ccac68e835070705/LICENSE"
68
+ },
69
+ "README.md": {
70
+ "sha256": "sha256:301038df41f7926d19a41d411aa818e5aef3e299ce2c8ada91c92bd81e93bb40",
71
+ "url": "https://github.com/PharosProduction/enterprise-ai-agent-frameworks/blob/b1213f374722edde01ca74a7ccac68e835070705/README.md"
72
+ },
73
+ "data/claims.json": {
74
+ "sha256": "sha256:417c6630921a5e1cb39b05fa6759810431572de63a11818ec05c582dc2078628",
75
+ "url": "https://github.com/PharosProduction/enterprise-ai-agent-frameworks/blob/b1213f374722edde01ca74a7ccac68e835070705/data/claims.json"
76
+ },
77
+ "data/frameworks.json": {
78
+ "sha256": "sha256:42ad1d6f7dae557ab024be640e13271ce9f8b19f81ffe808880de3bef3b5cd8b",
79
+ "url": "https://github.com/PharosProduction/enterprise-ai-agent-frameworks/blob/b1213f374722edde01ca74a7ccac68e835070705/data/frameworks.json"
80
+ },
81
+ "data/sources.json": {
82
+ "sha256": "sha256:9af0efc358c2e78c33eeaa5d834f38aba63f076081e37e884795154031354893",
83
+ "url": "https://github.com/PharosProduction/enterprise-ai-agent-frameworks/blob/b1213f374722edde01ca74a7ccac68e835070705/data/sources.json"
84
+ },
85
+ "docs/assets/framework-selector.js": {
86
+ "sha256": "sha256:65679649e6e58d1d0633f8c09649e42d27c8838da1189bf260a08f9e3120fb24",
87
+ "url": "https://github.com/PharosProduction/enterprise-ai-agent-frameworks/blob/b1213f374722edde01ca74a7ccac68e835070705/docs/assets/framework-selector.js"
88
+ }
89
+ },
90
+ "independent_human_review": "NOT_REVIEWED",
91
+ "pages": "https://pharosproduction.github.io/enterprise-ai-agent-frameworks/",
92
+ "repo": "https://github.com/PharosProduction/enterprise-ai-agent-frameworks",
93
+ "snapshot_at": "2026-09-17T06:17:24Z"
94
  },
95
+ "rag": {
96
+ "commit": "6ea24ef75c3ad09a3bb76d1c20a173bfab592559",
97
+ "files": {
98
+ "DATA-LICENSE.md": {
99
+ "sha256": "sha256:48b1fe8b6c6ad19bb0fe6aeb55a897bcd121fe85bab135674a51fddd46341678",
100
+ "url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/DATA-LICENSE.md"
101
+ },
102
+ "LICENSE": {
103
+ "sha256": "sha256:48463cc27a86bdc41249f2e93168615728c7860d350b4dd51c7606e5c512555e",
104
+ "url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/LICENSE"
105
+ },
106
+ "README.md": {
107
+ "sha256": "sha256:f7ec44a5cf624b436395d051f4ad667184fe72439e6a3878803131f578be1e46",
108
+ "url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/README.md"
109
+ },
110
+ "data/claims.json": {
111
+ "sha256": "sha256:148501946fd5fba96bedff868fed95baab092d48e921977d8f672e8d6996ec8c",
112
+ "url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/data/claims.json"
113
+ },
114
+ "data/criteria.json": {
115
+ "sha256": "sha256:2ee709871a6fe387d392de77f2346c013df988e16fe82c9f2fb27b4547397004",
116
+ "url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/data/criteria.json"
117
+ },
118
+ "data/methodology.json": {
119
+ "sha256": "sha256:bed80ed497a8d4c41219339ee3667800979c50100f3cc83db92255ae4db1320c",
120
+ "url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/data/methodology.json"
121
+ },
122
+ "data/rules.json": {
123
+ "sha256": "sha256:2e7e1cc3602086eccdced9d531ae327fc9d17f1d7e09e9b7f431c918e6627d83",
124
+ "url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/data/rules.json"
125
+ },
126
+ "data/scenarios.json": {
127
+ "sha256": "sha256:081c6dd447997048338e0e027e78f10e43ca4cdcc89dc8135bdf57484006e6ae",
128
+ "url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/data/scenarios.json"
129
+ },
130
+ "data/sources.json": {
131
+ "sha256": "sha256:7bcabfde4cf9568ed097dba26b4393f708771695f2913e43a6252d7f1afe1ac7",
132
+ "url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/data/sources.json"
133
+ },
134
+ "docs/assets/decision-engine.js": {
135
+ "sha256": "sha256:7236040b1894e67cb560abb6433e0c35afe5da83b846adb9ab31c5d8c2b286fb",
136
+ "url": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix/blob/6ea24ef75c3ad09a3bb76d1c20a173bfab592559/docs/assets/decision-engine.js"
137
+ }
138
+ },
139
+ "independent_human_review": "NOT_REVIEWED",
140
+ "pages": "https://pharosproduction.github.io/rag-vs-fine-tuning-matrix/",
141
+ "repo": "https://github.com/PharosProduction/rag-vs-fine-tuning-matrix",
142
+ "snapshot_at": "2026-09-17T06:17:24Z"
143
  }
144
+ }
145
  }
source-proposals.json ADDED
@@ -0,0 +1,312 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architecture": {
3
+ "criteria": [
4
+ {
5
+ "allowedAnswers": [
6
+ "unknown",
7
+ "yes",
8
+ "no"
9
+ ],
10
+ "core": true,
11
+ "id": "evaluation_ready",
12
+ "question": "Is there a representative evaluation set and an explicit acceptance decision?"
13
+ },
14
+ {
15
+ "allowedAnswers": [
16
+ "unknown",
17
+ "yes",
18
+ "no"
19
+ ],
20
+ "core": true,
21
+ "id": "fixed_steps",
22
+ "question": "Can the work be described as a stable sequence of steps?"
23
+ },
24
+ {
25
+ "allowedAnswers": [
26
+ "unknown",
27
+ "yes",
28
+ "no"
29
+ ],
30
+ "core": true,
31
+ "id": "external_knowledge",
32
+ "question": "Does the task need a controlled external knowledge source?"
33
+ },
34
+ {
35
+ "allowedAnswers": [
36
+ "unknown",
37
+ "yes",
38
+ "no"
39
+ ],
40
+ "core": true,
41
+ "id": "tool_actions",
42
+ "question": "Must the system perform external tool actions?"
43
+ },
44
+ {
45
+ "allowedAnswers": [
46
+ "unknown",
47
+ "yes",
48
+ "no"
49
+ ],
50
+ "core": true,
51
+ "id": "independent_subtasks",
52
+ "question": "Can subtasks be isolated with explicit input and output contracts?"
53
+ },
54
+ {
55
+ "allowedAnswers": [
56
+ "unknown",
57
+ "yes",
58
+ "no"
59
+ ],
60
+ "core": true,
61
+ "id": "parallel_justified",
62
+ "question": "Does a measured baseline justify the added coordination cost?"
63
+ },
64
+ {
65
+ "allowedAnswers": [
66
+ "unknown",
67
+ "yes",
68
+ "no"
69
+ ],
70
+ "core": false,
71
+ "id": "approval_boundary",
72
+ "question": "For tool actions, are authorization and human approval boundaries explicit?"
73
+ },
74
+ {
75
+ "allowedAnswers": [
76
+ "unknown",
77
+ "yes",
78
+ "no"
79
+ ],
80
+ "core": false,
81
+ "id": "recovery_tested",
82
+ "question": "For tool actions, has failure recovery been exercised?"
83
+ }
84
+ ],
85
+ "limitations": [
86
+ "Original engineering proposal, not an empirical benchmark or a released canonical source.",
87
+ "Patterns may be combined after evaluation; the first match is a starting point, not proof of fitness.",
88
+ "The 2024 pattern reference is conceptual; current framework features must be verified separately."
89
+ ],
90
+ "method": "Ascending priority, first matching rule; all AND any AND none; unspecified answers are unknown.",
91
+ "references": [
92
+ {
93
+ "checked_at": "2026-09-17",
94
+ "scope": "Conceptual distinction between fixed workflows and dynamic agents, and common composition patterns; not validation of these proposed rules.",
95
+ "url": "https://www.anthropic.com/engineering/building-effective-agents"
96
+ }
97
+ ],
98
+ "rules": [
99
+ {
100
+ "id": "ARCH-NO-EVALUATION",
101
+ "next_steps": [
102
+ "Define representative cases, failure criteria and an accountable acceptance owner before selecting an autonomous path."
103
+ ],
104
+ "outcome": "EVALUATION_REQUIRED",
105
+ "priority": 10,
106
+ "rejected_options": [
107
+ "AUTONOMOUS_RELEASE"
108
+ ],
109
+ "when": {
110
+ "all": [
111
+ {
112
+ "criterionId": "evaluation_ready",
113
+ "operator": "equals",
114
+ "value": "no"
115
+ }
116
+ ],
117
+ "any": [],
118
+ "none": []
119
+ }
120
+ },
121
+ {
122
+ "id": "ARCH-UNKNOWN-CORE",
123
+ "next_steps": [
124
+ "Resolve the unknown core questions; unknown is not equivalent to no."
125
+ ],
126
+ "outcome": "INSUFFICIENT_EVIDENCE",
127
+ "priority": 20,
128
+ "rejected_options": [],
129
+ "when": {
130
+ "all": [],
131
+ "any": [
132
+ {
133
+ "criterionId": "evaluation_ready",
134
+ "operator": "equals",
135
+ "value": "unknown"
136
+ },
137
+ {
138
+ "criterionId": "fixed_steps",
139
+ "operator": "equals",
140
+ "value": "unknown"
141
+ },
142
+ {
143
+ "criterionId": "external_knowledge",
144
+ "operator": "equals",
145
+ "value": "unknown"
146
+ },
147
+ {
148
+ "criterionId": "tool_actions",
149
+ "operator": "equals",
150
+ "value": "unknown"
151
+ },
152
+ {
153
+ "criterionId": "independent_subtasks",
154
+ "operator": "equals",
155
+ "value": "unknown"
156
+ },
157
+ {
158
+ "criterionId": "parallel_justified",
159
+ "operator": "equals",
160
+ "value": "unknown"
161
+ }
162
+ ],
163
+ "none": []
164
+ }
165
+ },
166
+ {
167
+ "id": "ARCH-ACTION-BOUNDARY",
168
+ "next_steps": [
169
+ "Define scoped authorization, approval, containment and recovery for external effects."
170
+ ],
171
+ "outcome": "ACTION_BOUNDARY_REQUIRED",
172
+ "priority": 30,
173
+ "rejected_options": [
174
+ "AUTONOMOUS_TOOL_ACTIONS"
175
+ ],
176
+ "when": {
177
+ "all": [
178
+ {
179
+ "criterionId": "tool_actions",
180
+ "operator": "equals",
181
+ "value": "yes"
182
+ }
183
+ ],
184
+ "any": [
185
+ {
186
+ "criterionId": "approval_boundary",
187
+ "operator": "not_equals",
188
+ "value": "yes"
189
+ },
190
+ {
191
+ "criterionId": "recovery_tested",
192
+ "operator": "not_equals",
193
+ "value": "yes"
194
+ }
195
+ ],
196
+ "none": []
197
+ }
198
+ },
199
+ {
200
+ "id": "ARCH-FIXED-WORKFLOW",
201
+ "next_steps": [
202
+ "Implement explicit step transitions and validation gates; attach retrieval or approved tools only where the step requires them."
203
+ ],
204
+ "outcome": "DETERMINISTIC_WORKFLOW",
205
+ "priority": 40,
206
+ "rejected_options": [],
207
+ "when": {
208
+ "all": [
209
+ {
210
+ "criterionId": "fixed_steps",
211
+ "operator": "equals",
212
+ "value": "yes"
213
+ }
214
+ ],
215
+ "any": [],
216
+ "none": []
217
+ }
218
+ },
219
+ {
220
+ "id": "ARCH-RETRIEVAL",
221
+ "next_steps": [
222
+ "Validate source access, retrieval coverage and answer grounding against the evaluation set."
223
+ ],
224
+ "outcome": "RETRIEVAL_PIPELINE",
225
+ "priority": 50,
226
+ "rejected_options": [],
227
+ "when": {
228
+ "all": [
229
+ {
230
+ "criterionId": "tool_actions",
231
+ "operator": "equals",
232
+ "value": "no"
233
+ },
234
+ {
235
+ "criterionId": "external_knowledge",
236
+ "operator": "equals",
237
+ "value": "yes"
238
+ }
239
+ ],
240
+ "any": [],
241
+ "none": []
242
+ }
243
+ },
244
+ {
245
+ "id": "ARCH-ORCHESTRATION",
246
+ "next_steps": [
247
+ "Define worker boundaries, a coordinator merge contract, cancellation and duplicate-effect handling before an evaluation."
248
+ ],
249
+ "outcome": "ORCHESTRATOR_WORKERS",
250
+ "priority": 60,
251
+ "rejected_options": [],
252
+ "when": {
253
+ "all": [
254
+ {
255
+ "criterionId": "independent_subtasks",
256
+ "operator": "equals",
257
+ "value": "yes"
258
+ },
259
+ {
260
+ "criterionId": "parallel_justified",
261
+ "operator": "equals",
262
+ "value": "yes"
263
+ }
264
+ ],
265
+ "any": [],
266
+ "none": []
267
+ }
268
+ },
269
+ {
270
+ "id": "ARCH-BOUNDED-AGENT",
271
+ "next_steps": [
272
+ "Start with one agent and scoped tools, iteration limits and a tested stop path; compare it with the simplest working baseline."
273
+ ],
274
+ "outcome": "BOUNDED_TOOL_AGENT",
275
+ "priority": 70,
276
+ "rejected_options": [],
277
+ "when": {
278
+ "all": [
279
+ {
280
+ "criterionId": "tool_actions",
281
+ "operator": "equals",
282
+ "value": "yes"
283
+ }
284
+ ],
285
+ "any": [],
286
+ "none": []
287
+ }
288
+ },
289
+ {
290
+ "id": "ARCH-BASELINE",
291
+ "next_steps": [
292
+ "Evaluate a single-call baseline before adding dynamic coordination."
293
+ ],
294
+ "outcome": "SINGLE_CALL_BASELINE",
295
+ "priority": 80,
296
+ "rejected_options": [],
297
+ "when": {
298
+ "all": [
299
+ {
300
+ "criterionId": "evaluation_ready",
301
+ "operator": "equals",
302
+ "value": "yes"
303
+ }
304
+ ],
305
+ "any": [],
306
+ "none": []
307
+ }
308
+ }
309
+ ],
310
+ "version": "0.1.0-draft.1"
311
+ }
312
+ }
source-snapshot.json ADDED
The diff for this file is too large to render. See raw diff