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

Add private source-gated Dataset contract

Browse files

Private preparation only: candidate schema, source manifest and zero released rows.

Files changed (5) hide show
  1. CHANGELOG.md +7 -0
  2. README.md +76 -0
  3. release.json +21 -0
  4. schema.json +59 -0
  5. source-manifest.json +51 -0
CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
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.
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.
release.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
schema.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
+ }
source-manifest.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }