docs: sync local oss reuse sweep

This commit is contained in:
732642856
2026-07-19 16:52:38 +08:00
parent 29619a0f29
commit 138f9c317d
3 changed files with 100 additions and 2 deletions
@@ -5,8 +5,8 @@
"production_tuning_allowed": false,
"boundary": "Index of current governance packets only. Raw oracle artifacts remain in references/oracle/artifacts and are not all duplicated here.",
"summary": {
"packet_count": 26,
"blocked_or_partial_count": 20,
"packet_count": 27,
"blocked_or_partial_count": 21,
"human_review_required_count": 1
},
"packets": [
@@ -217,6 +217,14 @@
"claim_status": "partial",
"consumer_policy": "research_to_commercial_contract_only",
"claim_boundary": "KP star/sub-lord and significator probe exposes raw fields and hash, but cannot drive precise event timing without exact KP cusp oracle and independent negative holdout validation."
},
{
"packet_id": "local_oss_reuse_sweep_kp_muhurta_av_compat",
"path": "references/oracle/local_oss_reuse_sweep_kp_muhurta_av_compat_2026_07_19.json",
"domain": "reuse_governance",
"claim_status": "partial",
"consumer_policy": "research_only",
"claim_boundary": "Records local/OSS reusable candidates for KP, Muhurta, AV and compatibility; discovery only, no runtime truth upgrade."
}
]
}
@@ -0,0 +1,77 @@
{
"scope": "local_oss_reuse_sweep_kp_muhurta_av_compat",
"created_at": "2026-07-19",
"status": "reuse_sweep_v1",
"production_tuning_allowed": false,
"boundary": "Discovery artifact only. It records reusable local/OSS sources and license/privacy boundaries; it does not upgrade any technique to runtime truth.",
"local_candidates": [
{
"path": "scripts/kp_system.py",
"reusable_for": ["KP star/sub lord", "KP significator ABCD", "KP DBA timeline probe"],
"reuse_status": "already_reused_by_probe",
"license_boundary": "Local implementation cites diliprk/VedicAstro MIT; keep exact-source audit before commercial precise timing.",
"claim_boundary": "Probe-only until exact KP cusp oracle and negative holdout validation."
},
{
"path": "references/open_source_sources/VedicAstro",
"reusable_for": ["KP sublord CSV oracle", "KP significator reference", "KP horary reference"],
"reuse_status": "oracle_reference_only",
"license_boundary": "MIT candidate; reuse only after file-level source/license check.",
"claim_boundary": "Do not copy broad implementation blindly; prefer fixture/oracle comparison."
},
{
"path": "references/kp-astrology-complete-system.md",
"reusable_for": ["KP workflow prose", "significator explanation", "ruling planets checklist"],
"reuse_status": "documentation_reference",
"license_boundary": "Internal reference; do not treat as numeric oracle.",
"claim_boundary": "Can guide tests and schema names, not timing truth."
},
{
"path": "references/muhurta-complete-guide.md",
"reusable_for": ["Muhurta factor inventory", "Tarabala/Chandrabala/Panchaka checklist"],
"reuse_status": "documentation_reference",
"license_boundary": "Internal reference; formula/source validation required before runtime scoring.",
"claim_boundary": "Does not close full Muhurta scoring."
},
{
"path": "references/ashtakavarga-complete-system.md",
"reusable_for": ["advanced Ashtakavarga usage inventory"],
"reuse_status": "documentation_reference",
"license_boundary": "Internal reference; worked examples required.",
"claim_boundary": "Core BAV/SAV exists; timing overlays remain observation-only."
},
{
"path": "/Users/wuyongnaren/Documents/星轨talk/engines-repo/jyotish",
"reusable_for": ["adapter pattern review"],
"reuse_status": "read_only_cross_project_reference",
"license_boundary": "Separate project; do not copy directly without ownership/ancestry audit.",
"claim_boundary": "Reference only; main research repo remains source of truth."
}
],
"web_candidates": [
{
"name": "VedicAstro",
"url": "https://github.com/diliprk/VedicAstro",
"reuse_status": "MIT candidate for KP-oriented references",
"claim_boundary": "Use as source/oracle candidate only after pinning file, commit and license."
},
{
"name": "PyJHora",
"url": "https://github.com/naturalstupid/PyJHora",
"reuse_status": "AGPL oracle/reference only",
"claim_boundary": "Do not vendor or make runtime dependency."
},
{
"name": "Kala calculation list",
"url": "https://www.vedic-astrology.net/kala/List-of-Calculations.asp",
"reuse_status": "feature-surface benchmark",
"claim_boundary": "Use for gap comparison, not formula copying."
}
],
"next_best_actions": [
"Pin VedicAstro KP files/CSV commit and hashes for exact star/sub-lord oracle.",
"Add exact KP cusp contract before runtime significator timing.",
"Build Muhurta factor probe from existing Panchanga/sunrise-sunset modules before scoring.",
"Keep Ashtakavarga advanced timing blocked until independent negative holdout exists."
]
}
+13
View File
@@ -12,6 +12,7 @@ REGISTRIES = [
"ashtakavarga_advanced_usage_gap_registry_2026_07_19.json",
"compatibility_full_system_gap_registry_2026_07_19.json",
]
REUSE_SWEEP = ROOT / "references/oracle/local_oss_reuse_sweep_kp_muhurta_av_compat_2026_07_19.json"
REQUIRED_FIELDS = {
"technique_id",
"local_code_status",
@@ -77,3 +78,15 @@ def test_compatibility_registry_separates_basic_koota_from_advanced_overlays() -
assert ids["ashtakoota_core"]["local_code_status"] == "present"
assert ids["composite_davidson_charts"]["commercial_sync_status"] == "not_for_commercial_runtime"
assert ids["relationship_av_overlay"]["external_oracle_status"] == "missing"
def test_local_oss_reuse_sweep_records_reusable_sources_without_truth_upgrade() -> None:
data = json.loads(REUSE_SWEEP.read_text(encoding="utf-8"))
assert data["status"] == "reuse_sweep_v1"
assert data["production_tuning_allowed"] is False
local_paths = {item["path"] for item in data["local_candidates"]}
assert "scripts/kp_system.py" in local_paths
assert "references/open_source_sources/VedicAstro" in local_paths
assert "references/muhurta-complete-guide.md" in local_paths
assert all(item["claim_boundary"] for item in data["local_candidates"])
assert any(item["reuse_status"] == "AGPL oracle/reference only" for item in data["web_candidates"])