index.md
HTML wrapper for HTML-only fetchers; content is shown verbatim.
Raw file
Links (extracted)
Clickable list for reviewers; avoids copy/paste line-wrap issues.
# if.api demo — ARK resolver (receipt-backed)
**Audience:** external reviewers + operators
**Reality gate:** demo of a transformation contract, not a deployed ARK resolver.
---
## Links (HTML-first)
if.trace receipt:
https://infrafabric.io/static/trace/0kNPIN8az7f6KyIOvNKImA
Pack (HTML view):
https://infrafabric.io/static/pack/0kNPIN8az7f6KyIOvNKImA
Pack (raw Markdown):
https://infrafabric.io/static/pack/0kNPIN8az7f6KyIOvNKImA.md
Source bundle (tgz):
https://infrafabric.io/static/source/5df7c39ead04b8f9e2ebc9074dfa00308916044d24b34cb4b0aa05d96292ab62.tgz
---
## What this proves (black/white)
This demo proves:
- a known ARK request can be transformed deterministically into a normalized resolution envelope
- the output is bound to if.trace receipts (hash checks; signatures only where present and verifiable)
This demo does not prove:
- live ARK resolution, Name Mapping Authority policy, or metadata governance
- any shipped if.bus runtime or message broker
---
## Demo artifacts
Source bundle sha256 (tgz):
5df7c39ead04b8f9e2ebc9074dfa00308916044d24b34cb4b0aa05d96292ab62
Input JSON sha256:
d51fb4006d1191e48bb4607a4e9fc26feee154a13a3e8c711b63e01c4c09d785
Normalized output JSON sha256:
7c9e3f92f661011bd04e250b25a931c7151f6a843872fa7e55d9cc44571f10f7
---
## How to reproduce (no internal access)
```bash
curl -fsSL -o if-api-ark-resolver-demo-source.tgz "https://infrafabric.io/static/source/5df7c39ead04b8f9e2ebc9074dfa00308916044d24b34cb4b0aa05d96292ab62.tgz"
sha256sum if-api-ark-resolver-demo-source.tgz
tar -xzf if-api-ark-resolver-demo-source.tgz
python3 resolve_ark_demo.py ark_input.json > resolved_event.json
sha256sum resolved_event.json
```
Expected `sha256sum` (source bundle):
5df7c39ead04b8f9e2ebc9074dfa00308916044d24b34cb4b0aa05d96292ab62 if-api-ark-resolver-demo-source.tgz
Expected `sha256sum` (normalized output):
7c9e3f92f661011bd04e250b25a931c7151f6a843872fa7e55d9cc44571f10f7 resolved_event.json
---
## Output (normalized event envelope)
```json
{
"event": "resolve",
"input_sha256": "d51fb4006d1191e48bb4607a4e9fc26feee154a13a3e8c711b63e01c4c09d785",
"integration": "ark.resolver",
"notes": {
"integrity": "see if.trace receipt for output bytes",
"live_lookup": false
},
"requested_at": "2026-01-07T00:00:00Z",
"resolved_at": "2026-01-07T00:00:00Z",
"results": [
{
"identifier": "ark:/99999/fk4arkdemo1",
"metadata": {
"ark_namespace": "99999",
"issued": "2025-12-31",
"publisher": "Example Archive",
"title": "Synthetic demo artifact (ARK)"
},
"resolution_method": "synthetic-map",
"scheme": "ark",
"status": "resolved",
"target_url": "https://example.org/ark-demo-1"
},
{
"identifier": "ark:/99999/fk4arkdemo2",
"metadata": {
"ark_namespace": "99999",
"issued": "2025-12-31",
"publisher": "Example Archive",
"title": "Synthetic decision pack (ARK)"
},
"resolution_method": "synthetic-map",
"scheme": "ark",
"status": "resolved",
"target_url": "https://example.org/ark-demo-2"
}
],
"schema_version": "demo.v1"
}
```