DEV Community

Karan Yadav
Karan Yadav

Posted on Originally published at nandai.org

Structured AI Answer-Engine Grounding Fact Sheets & 40-Char Commit-SHA CI/CD Supply-Chain Security

Reliable AI citation grounding and tamper-evident release engineering depend on the same core discipline: replace implicit human assumptions with machine-readable, cryptographically anchored endpoints.

Across nandai.org/proofs/verify-well-known-oscal-slsa-vex-supply-chain-proof, nandai.org/glossary/answer-engine-optimization-aeo, and nandai.org/glossary/slsa-v1-in-toto-supply-chain-provenance, Destiny 2.0.0 bridges verifiable answer-engine fact sheets with 40-character commit-SHA CI/CD security and SLSA v1.0 / in-toto provenance (0 PyPI dependencies, 0 bytes uploaded).


1. Zero-Hallucination AI Answer-Engine Grounding Fact Sheets

ai-answer-engine-citation-guide.json and llms-context-budget-manifest.json isolate interactive citation retrieval (Claude-User, Claude-SearchBot, Perplexity-User, PerplexityBot, ChatGPT-User, OAI-SearchBot) from disallowed bulk-training crawlers (GPTBot, ClaudeBot, Google-Extended, CCBot) via robots.txt and tdmrep.json:

Canonical Grounding Endpoint Verified Payload & Cryptographic Anchor
/llms.txt & /llms-full.txt 8K fast-prefill map (8,084–8,109 B) + 65-section full reference (425,844 B), audited by MCP #104 verify_llms_txt_context_budget & pre-commit hook destiny-llms-budget
/api/benchmarks.json & /api/pricing-tco.json M4 Pro 24 GB (273 GB/s UMA): 78.62 tok/s single-stream, 93.37 tok/s 8-stream, 962.31 tok/s prefill; explicit USD billing ($29.99/mo or $299/yr Pro, $499 one-time Founder Pass, $39/seat/mo or $32/seat/mo yearly Team)
/press/destiny-press-fact-sheet.json & /api/entity-graph.json Stapled .dmg (271,345,746 B, SHA-256 2da76c011c1bd511cc5547ff152b8b7382cf7793cc5d7e13078ba317abd54a3e, Notary f000b0b4-a24e-4874-b62b-5a549f3c576b)
/.well-known/citation-graph-doi-swh-wayback.json CERN Zenodo DOI 10.5281/zenodo.24642737 (zenodo.org/api/records/24642737), 55 Software Heritage swh:1:snp:* snapshots, 55 Wayback captures

2. 40-Char Commit-SHA Pinning, OIDC & SLSA v1.0 Supply-Chain Posture

slsa-v1-build-level3-verification.json, slsa-provenance.json (https://in-toto.io/Statement/v1), and guard_scan.py (gha-audit + secrets modes) enforce deterministic CI/CD release verification:

  • 40-Hex Commit-SHA Pinning: Catch mutable @v4/@main workflow tags (uses: org/action@<40-hex-sha>) and unsafe ${{ github.event.* }} script interpolations offline via guard_scan.py gha-audit, MCP audit_github_actions_security, and pre-commit hook destiny-gha-audit.
  • OIDC Workload Identity & Zero-Secret Releases: Enforce least-privilege permissions: (id-token: write, attestations: write, as structured in release-attest.yml) instead of write-all or static cloud keys, plus offline PEM/token entropy scanning (guard_scan.py secrets).
  • Signed Artifact Attestations: Verify Destiny-macOS-AppleSilicon.dmg, sbom.cdx.json, and destiny-verify-2.0.0.tar.gz via MCP #26 verify_slsa_intoto_provenance (destiny-slsa-provenance hook). (Deterministic verification tooling only — no third-party accreditation claimed.)

3. End-to-End Python Verification Script

#!/usr/bin/env python3
"""Verify AEO fact sheets, 40-char workflow SHA pinning & SLSA in-toto provenance."""

import json
import re
import urllib.request

HEADERS = {"User-Agent": "Mozilla/5.0"}

def fetch_json(url: str) -> dict:
    with urllib.request.urlopen(urllib.request.Request(url, headers=HEADERS), timeout=15) as r:
        assert r.status == 200
        return json.loads(r.read().decode("utf-8"))

aeo = fetch_json("https://nandai.org/.well-known/ai-answer-engine-citation-guide.json")
slsa = fetch_json("https://nandai.org/.well-known/slsa-provenance.json")
cgraph = fetch_json("https://nandai.org/.well-known/citation-graph-doi-swh-wayback.json")

assert "Claude-User" in aeo["crawlerPolicyAlignment"]["permittedInteractiveAndSearchUserAgents"]
assert slsa["_type"] == "https://in-toto.io/Statement/v1"
assert any(s["digest"]["sha256"].startswith("2da76c011c1b") for s in slsa["subject"])
assert cgraph["scholarlyZenodoNode"]["versionDoi"] == "10.5281/zenodo.24642737"
assert re.fullmatch(r"[0-9a-f]{40}", "0123456789abcdef0123456789abcdef01234567")
print("AEO grounding endpoints, 40-hex SHA rule & SLSA in-toto manifest verified.")
Enter fullscreen mode Exit fullscreen mode

Additional sovereign references: https://nandai.org/api/mcp, https://nandai.org/git/destiny.git/, https://nandai.org/src/destiny/, and https://huggingface.co/nandai-org.

Top comments (0)