[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116068":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":34,"updatedAt":35,"readmeContent":36,"aiSummary":37,"trendingCount":15,"starSnapshotCount":15,"syncStatus":13,"lastSyncTime":38,"discoverSource":39},116068,"signet","therandomsecurityguy\u002Fsignet","therandomsecurityguy","The seal of approval for agents and skills: a graph-first semantic governance registry with signed, transparency-logged publication trust.","https:\u002F\u002Fgithub.com\u002Ftherandomsecurityguy\u002Fsignet#readme",null,"TypeScript",226,2,1,0,6,88,100,82.23,"BSD 3-Clause \"New\" or \"Revised\" License",false,"main",true,[25,26,27,28,29,5,30,31,32,33],"agent-registry","ai-agents","governance","mcp","provenance","sigstore","supply-chain-security","transparency-log","typescript","2026-11-23 16:32:57","2026-11-23 19:27:35","# Signet\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fimages\u002Fsignet-lockup.png\" alt=\"Signet — the seal of approval for agents and skills\" width=\"720\">\n\u003C\u002Fp>\n\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Ftherandomsecurityguy\u002Fsignet\u002Factions\u002Fworkflows\u002Ftest.yml\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Ftherandomsecurityguy\u002Fsignet\u002Factions\u002Fworkflows\u002Ftest.yml\u002Fbadge.svg\" alt=\"CI\">\u003C\u002Fa>\n\u003Ca href=\"LICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-BSD_3--Clause-blue.svg\" alt=\"BSD 3-Clause\">\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fnodejs.org\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FNode.js-22-339933.svg\" alt=\"Node.js 22\">\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fwww.typescriptlang.org\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTypeScript-3178C6.svg?logo=typescript&logoColor=white\" alt=\"TypeScript\">\u003C\u002Fa>\n\n**The seal of approval for agents and skills.**\n\nSignet is a graph-first **semantic governance system** for autonomous\nagents and computational skills. Most registries are catalogs: metadata\nin, search out. Signet governs *meaning, release state, and evidence* —\nand stamps every trusted publication with the proof to back it up.\n\nWhat makes it different:\n\n- **Logical identity ≠ publication snapshot.** Durable `AGENT`\u002F`SKILL`\n  identities are separated from immutable `AGENT_VERSION`\u002F`SKILL_VERSION`\n  snapshots, with real lifecycle semantics: supersession, revocation,\n  archival.\n- **Five-layer validation, not single approval.** Every version passes\n  W3C SHACL graph-shape and policy validation, ontology validation,\n  advisory LLM semantic analysis, and human review before it can be\n  certified — with machine-readable evidence stored at each layer.\n- **Cryptographic trust, not vibes.** Publication envelopes are\n  canonicalized twice — operational JSON (RFC 8785 JCS) and semantic RDF\n  (RDFC-1.0) — digested, and signed with detached signatures verified\n  against trusted keys. Tampering is detected, not hoped away.\n- **Transparency-logged governance.** Every lifecycle operation emits a\n  canonical governance event into an append-only Merkle log with\n  inclusion proofs and verifier replay; events anchor to a Tessera-backed\n  external transparency log with checkpoints, witnesses, quorum, and\n  split-view detection.\n- **Dual ontologies.** Normative `registry_shape` and `skill_area`\n  ontology packages govern what claims are publishable; unmapped claims\n  are captured as de facto vocabulary candidates and promoted only\n  through human review.\n- **Certification is a pipeline, not a flag.** Versions move through\n  `draft → validated → published → certified` (with `rejected`,\n  `deprecated`, `revoked`, `archived`) with evidence requirements and\n  policy\u002Fontology binding at each stage.\n- **Provenance you can replay.** PROV-O modeling links every snapshot to\n  the activities, agents, policies, and ontologies that produced it —\n  with traversal and audit-replay endpoints.\n\nSignet is valuable when humans and AI agents can:\n- discover useful capabilities quickly\n- load the real implementation artifacts\n- understand provenance and trust\n- use approved data and process skills safely\n\n### Why this exists\n\nInside the company, useful agent files, skills, runbooks, and process knowledge tend to proliferate faster than governance.\n\nThat creates three problems:\n- people do not know what already exists\n- agents cannot tell which artifacts are current and trustworthy\n- operational knowledge becomes stale or duplicated\n\nSignet is the answer we are building:\n- metadata that is discoverable\n- artifacts that are linked and loadable\n- lifecycle and certification signals that make trust visible\n- MCP and API planes that let humans and agents use the same source of truth\n\n### Trust model\n\nThis project is not only about metadata.\n\nIt is about:\n- discoverability\n- artifact availability\n- provenance\n- currentness\n- certification\n- operator confidence\n\nThe skill happy path should be:\n1. discover\n2. inspect\n3. load\n4. trust\n5. use\n6. certify\n7. recertify\n\nSee:\n- `docs\u002Fgovernance-model.md`\n- `docs\u002Fartifact-storage.md`\n\n### Implemented now\n\nPublication and lifecycle:\n- lifecycle-aware publication for skills **and** agents with full parity\n- certification state machine: `draft`, `validated`, `rejected`,\n  `published`, `certified`, `deprecated`, `revoked`, `archived`\n- deterministic draft rejection with recorded validation failures\n- supersession guards (revoked snapshots are never superseded)\n- certification bound to concrete policy and ontology versions, with\n  optional expiry\n- publication envelopes with detached signatures (outside the canonical\n  payload), provenance\u002Frevocation\u002Fsupersession references, and\n  multi-algorithm cryptographic verification\n- authenticated\u002Faudited writes\n\nCanonicalization and signatures:\n- RFC 8785 (JCS) canonical JSON for publication envelopes and governance\n  events, with per-publication `canonicalization_algorithm` and legacy\n  fallback\n- canonical RDF (RDFC-1.0) projection of publication graphs with semantic\n  digests recorded at publish and certify\n- frozen publication envelope artifacts at publish, CAS digest verification on\n  every read (`warn` by default, `enforce` opt-in), and explicit live-drift\n  reporting in publication verification\n- HTTP artifact byte access (`GET|HEAD \u002Fv1\u002Fartifacts\u002F{sha256}`) with\n  `Content-Digest` and fail-closed verification (unverified bytes are never\n  transported)\n- DSSE\u002Fin-toto attestation ingestion (`POST \u002Fv1\u002Fattestations`) with PAE\n  signature verification against trusted keys, subject binding to publication\n  artifacts, `sg:attestedBy` evidence links, and aggregates in publication\n  verification\n- policy-driven trust gates: `require_validation` at publish and\n  `require_signature` \u002F `require_trusted_publisher` \u002F `require_build_provenance`\n  \u002F `require_sbom` at certification, evaluated against verified signatures and\n  DSSE attestations\n- verify-then-load consumer contract: SDK verification helpers\n  (`verifyEnvelopeSignatures`, `verifyDetachedSignature`,\n  `verifyRfc6962InclusionProof`, `fetchArtifact` with local re-hashing) and\n  `registry-operator verify publication|artifact`; see\n  `docs\u002Fsupply-chain-model.md`\n- dual signatures: detached signatures over operational (JSON) or\n  semantic (RDF) canonical bytes with cross-verification\n\nValidation (five layers):\n- built-in graph-shape validation (authored as W3C SHACL Turtle) and\n  policy packages as versioned CAS artifacts\n  (`POST \u002Fv1\u002Fpolicy-packages`) in legacy JSON and authored SHACL Turtle\n  formats\n- W3C SHACL Core execution (`rdf-validate-shacl`, in-process) over\n  derived RDF with focus-scoped targeting and RE2-backed pattern\n  execution (ReDoS-safe by construction); SPARQL constraints\u002Ftargets run\n  on a hybrid `shacl-engine` adapter, and SHACL-AF rules, SPARQL\n  functions, and custom SPARQL-based constraint components execute on an\n  optional pyshacl runtime sidecar (`service\u002Fshacl-runtime`) that\n  receives prepared shapes only — those policies fail closed without it\n- machine-readable violation reports (SHACL result vocabulary; recorded\n  `validator: shacl-v1`, engine id, and per-layer shapes fingerprints)\n  stored in the CAS and linked via `sg:validatedBy`\n- dual ontology packages (`registry_shape` \u002F `skill_area`) as versioned\n  CAS artifacts (`POST \u002Fv1\u002Fontology-packages`) in two authoring formats:\n  legacy JSON documents and authored OWL Turtle (`ontology_format:\n  \"owl-turtle\"`, a totally-projected subset with registration-time\n  refusals); every package carries an RDFC-1.0 canonical semantic\n  projection (format-independent digest + artifact)\n- ontology validation of `capability_claims`: concept binding, disjoint\n  combination rejection, de facto candidate recording; bound ontologies\n  are also exposed to SHACL execution (claim concept IRIs + subclass\n  taxonomy) so policies can use `sh:class` with hierarchy semantics\n- advisory LLM validation (model-agnostic port, deterministic heuristic\n  default, HTTP model seam) emitting scorecard\u002Fprompt\u002Fconfidence evidence\n- human review workflow: review decisions as first-class\n  `review_evidence` artifacts via `sg:reviewedBy`, policy-driven\n  `require_human_review` gating at publish\u002Fcertify, and a pending-review\n  queue (`\u002Fv1\u002Freviews\u002Fpending`)\n\nAuthored Turtle policies are registered with `POST \u002Fv1\u002Fpolicy-packages`\n(`shapes_format: \"shacl-turtle\"`). A minimal policy — require a description\non every skill version — looks like:\n\n```turtle\n@prefix sh: \u003Chttp:\u002F\u002Fwww.w3.org\u002Fns\u002Fshacl#> .\n\n\u003Curn:policy:description> a sh:NodeShape ;\n    sh:targetClass \u003Curn:sg:entity-type:SKILL_VERSION> ;\n    sh:property [\n        sh:path \u003Curn:sg:property:description> ;\n        sh:minCount 1 ;\n        sh:message \"description_required_by_policy\" ;\n    ] .\n```\n\nThe [local demo walkthrough](docs\u002Flocal-demo.md#shacl-policy-walkthrough-verified)\nregisters this policy end to end and inspects the resulting validation report.\nA recorded run of the same walkthrough — plus the browser console — is in\n[`docs\u002Fdemo\u002Fsignet-demo.mp4`](docs\u002Fdemo\u002Fsignet-demo.mp4).\n\nTransparency and provenance:\n- trusted `PUBLIC_KEY`, `TRANSPARENCY_LOG`, and `TRANSPARENCY_WITNESS`\n  trust roots\n- transparency checkpoint registration, checkpoint history, and\n  RFC 6962 consistency-proof validation\n- witness attestations, quorum checks, checkpoint observations,\n  disagreement evidence, gossip events, and timeline\u002Fprovenance views;\n  waxing-style witness cosignatures on signed notes are verified against\n  attached witnesses with fail-closed handling and distinct-witness quorum\n  counting\n- minimal signed-note checkpoint ingestion seam that verifies the\n  transparency-dev spec note format (Ed25519, name-bound key hash,\n  `\u003Cname>+\u003Chash8hex>+\u003Cbase64>` verifier keys) alongside the legacy\n  SPKI-hint format, with fail-closed hint binding and\n  `TESSERA_LOG_NOTE_VERIFIER` for spec reconciliation; the native sidecar\n  emits spec notes when configured with `TESSERA_LOG_NOTE_KEY` (signing\n  byte-verified against golang's note library with a shared fixture) and\n  serves the C2SP tlog-tiles read API (`\u002Ftiles\u002F\u003ClogId>\u002F…`: checkpoint\n  note, hash tiles, entry bundles — fixture-verified against\n  transparency-dev's `tessera\u002Fapi` layout)\n- canonical governance events for every lifecycle operation, stored as\n  immutable CAS artifacts and appended to an internal Merkle log with\n  RFC 6962 inclusion-proof generation and verifier replay\n  (`\u002Fv1\u002Fgovernance-log*`)\n- governance-event digests staged through the Tessera sidecar for all\n  lifecycle operations when configured\n- PROV-O provenance: `prov:wasDerivedFrom` \u002F `prov:wasGeneratedBy` \u002F\n  `prov:used` \u002F `prov:wasAssociatedWith` edges written at every lifecycle\n  operation, with traversal + audit-replay endpoints and the read-only\n  `registry.get_provenance` MCP tool\n- canonical provenance export: the read view projects to a deterministic\n  PROV-O graph — RDFC-1.0 canonical N-Quads with a content-addressed\n  artifact and digest on every response, plus a JSON-LD representation\n  (`?format=jsonld`); **detached provenance signatures** bind that digest\n  (reads re-verify with `valid` \u002F `invalid` \u002F `stale` verdicts — stale\n  marks signatures made before the trail grew, and the signed export\n  stays retrievable); `registry-operator verify provenance` and the SDK's\n  `verifyProvenanceSignature` reproduce verdicts locally; evidence\n  artifacts (exports, signatures, report RDF) also stage transparency\n  append intents and reconcile against the companion log\n- validation reports as standardized RDF: every report artifact carries a\n  `sh:ValidationReport` JSON-LD representation of its layers and results\n  with its own RDFC-1.0 canonical digest + artifact; report artifacts are\n  signable by trusted keys over that canonical RDF\n  (`GET|POST ...\u002Freport-signatures`) and re-verifiable locally\n  (`registry-operator verify report-signatures`)\n\nIngestion and vocabulary:\n- semantic compiler ingestion: markdown frontmatter and tool manifests\n  compile to normalized capability claims at `POST \u002Fv1\u002Fcompile\u002Fskill`\n- de facto vocabulary store with human-reviewed promotion into new\n  normative ontology versions (`\u002Fv1\u002Fde-facto-terms*`), within the source's\n  authoring format — authored-OWL sources promote into new authored-OWL\n  versions via the deterministic writer\n\nStorage and operations:\n- content-addressed artifact storage (filesystem or S3)\n- Fuseki-backed metadata by default, with a persistent local JSON-file\n  backend for development\n- time-aware object slice: commits, refs, tags, workspaces, manifests,\n  retention roots\n- durable, non-destructive GC job execution seam\n- GitHub Actions CI for service\u002Fapi, service\u002Fmcp, shacl-runtime, and\n  tessera-sidecar\n\nProposed next (not implemented yet):\n- SHACL node expressions and `sh:js` (refused at registration; no\n  execution semantics implemented), and an in-process SHACL-AF engine\n  (graph mutation needs an inference-stage design)\n- cross-format de-facto promotion (legacy JSON source → authored OWL\n  target) and subclass-aware claim binding semantics, richer de facto\n  ontology mining\n- richer de facto ontology mining (runtime observations, corpus analysis)\n- richer PROV-O coverage (JSON-LD export, canonical RDF signatures over\n  provenance graphs)\n- richer LLM backends for the advisory validation layer\n- full WORM\u002Ftransparency integration with Trillian\u002FTessera reconciliation\n- deeper witness-network semantics across multiple independent parties\n\n### Get it to run\n\nIf you want the quickest local path — no Docker, no AWS, no Kubernetes:\n\n```bash\nfor d in service\u002Fapi service\u002Fmcp service\u002Fwebapp\u002Fknowledge-manager client\u002Fregistry-cli; do\n  (cd \"$d\" && npm ci)\ndone\nscripts\u002Fdemo-local.sh demo\n```\n\nThat starts api (:3100), mcp (:3000), and the webapp (:3200) against local\nSQLite\u002FJSON-file\u002Ffilesystem backends and seeds the blessed demo pack\n(1 agent, 2 published skills — each validated through the W3C SHACL engine)\nwith `registry-operator`. See\n`docs\u002Flocal-demo.md` for the Docker Compose and local-Kubernetes (kind)\nvariants that keep the same no-AWS property, and for the verified\nSHACL policy walkthrough.\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"docs\u002Fdemo\u002Fsignet-demo.mp4\">\n    \u003Cimg src=\"docs\u002Fdemo\u002Fsignet-demo.gif\" alt=\"Signet demo — the operator shell registers a W3C SHACL Turtle policy, a draft is rejected, the publication verifies, then the web console\" width=\"760\">\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\nRecorded walkthrough (65s, click for full quality): the operator shell runs\n`scripts\u002Fdemo-local.sh status`, registers an authored **W3C SHACL Turtle\npolicy**, shows a draft **rejected with the policy's message**, prints the\nmachine-readable report (`validator: shacl-v1` + engine + policy shapes),\nand `registry-operator verify publication` returns `verdict: verified` —\nfollowed by the web console, graph explorer, and OpenAPI docs.\nFull video: [`docs\u002Fdemo\u002Fsignet-demo.mp4`](docs\u002Fdemo\u002Fsignet-demo.mp4)\n(source script: `service\u002Fwebapp\u002Fknowledge-manager\u002Fscripts\u002Fdemo-video.ts`).\n\nThen verify:\n\n```bash\ncurl -s http:\u002F\u002Flocalhost:3000\u002Fhealthz\ncurl -s http:\u002F\u002Flocalhost:3100\u002Fhealthz\ncurl -s http:\u002F\u002Flocalhost:3200\u002Fhealthz\n```\n\nExpected:\n- `service\u002Fmcp` on `http:\u002F\u002Flocalhost:3000`\n- `service\u002Fapi` on `http:\u002F\u002Flocalhost:3100`\n- `service\u002Fwebapp\u002Fknowledge-manager` on `http:\u002F\u002Flocalhost:3200`\n\nCurrent local metadata defaults:\n- `service\u002Fapi` in compose defaults to the persistent local `json_file` graph state at `data\u002Fregistry\u002Fgraph\u002Fregistry-state.json`\n- local Fuseki-backed `sparql` remains available as the optional inspection and live-validation backend for operators\n\nCurrent artifact default:\n- filesystem CAS under `data\u002Fregistry\u002Fobjects\u002F`\n\n### Best human entrypoints\n\nStart here:\n- `docs\u002Fgovernance-model.md`\n- `docs\u002Ftessera.md`\n- `DEMO.md`\n- `docs\u002Fquick-value-roadmap.md`\n- `docs\u002Fblessed-demo-path.md`\n- `docs\u002Ffuseki-query-pack.md`\n- `docs\u002Fgraph-ui-plan.md`\n\n### Human Proof Runs\n\nThe current team-facing proof story has four lanes:\n1. inspect the committed real sample shape\n2. seed that sample through the real operator path and print reports\n3. run happy-path and unhappy-path verification tests\n\n#### 1. Inspect the committed real sample\n\nRun from:\n\n```bash\ncd signet\u002Fclient\u002Fregistry-cli\n```\n\nPrint the committed transparency sample without requiring the stack or an API token:\n\n```bash\nnpm run dev -- seed transparency-sample --spec examples\u002Ftransparency\u002Fsample-graph.spec.json --dry-run\n```\n\nThis uses the checked-in sample under:\n- `client\u002Fregistry-cli\u002Fexamples\u002Ftransparency\u002Fsample-graph.spec.json`\n\n#### 2. Seed the real sample and print reports\n\nCreate a write API key first if you do not already have one:\n\n```bash\ncd signet\u002Fservice\u002Fapi\nnpm run create-api-key -- --owner-label \"Teammate Sample Run\"\n```\n\nThen seed the committed sample through the real operator path:\n\n```bash\ncd signet\u002Fclient\u002Fregistry-cli\nnpm run dev -- seed transparency-sample --api-token \"\u003Capi-token>\" --spec examples\u002Ftransparency\u002Fsample-graph.spec.json\n```\n\nThat prints:\n- the seeded sample metadata\n- the transparency log payload\n- the verification payload\n- the timeline payload\n\nFor a smaller human-facing report instead of the full JSON payloads:\n\n```bash\ncd signet\u002Fclient\u002Fregistry-cli\nnpm run dev -- seed transparency-sample --api-token \"\u003Capi-token>\" --spec examples\u002Ftransparency\u002Fsample-graph.spec.json --human-proof-report\n```\n\nWhat the seeded real sample models:\n- one transparency log\n- one trusted checkpoint key\n- two witnesses\n- two checkpoints\n- one conflicting same-size-different-root observation\n- one witness-to-witness gossip event\n\n#### 3. Run happy-path and unhappy-path trust tests\n\nRun these from:\n\n```bash\ncd signet\u002Fservice\u002Fapi\n```\n\nHappy path for a markdown-backed skill publication:\n\n```bash\nnpx vitest run tests\u002Funit\u002Fskill-lifecycle.test.ts -t \"shows a happy-path trust story for a markdown skill publication\" --reporter=verbose\n```\n\nThis proves:\n- the publication envelope still matches the signed state\n- a trusted public key is resolved\n- cryptographic verification passes\n- the transparency proof validates against the trusted checkpoint\u002Flog model\n\nUnhappy path showing tamper-evident failure after a signed publication changes:\n\n```bash\nnpx vitest run tests\u002Funit\u002Fskill-lifecycle.test.ts -t \"shows tamper-evident failure for a signed markdown skill publication after state changes\" --reporter=verbose\n```\n\nThis proves:\n- the later mutation is detected\n- `verification_status: signature_mismatch`\n- `transparency_verification_status: mismatch`\n- signer, key, log, and proof context remain visible for human inspection\n\n#### 4. Run realistic sample-graph integration proofs\n\nPersistent local proof over real HTTP with the `json_file` backend:\n\n```bash\nnpx vitest run tests\u002Fe2e\u002Ftransparency-blackbox.test.ts --reporter=verbose\n```\n\nLive Fuseki\u002FSPARQL proof:\n\n```bash\nENABLE_LIVE_SPARQL_E2E=1 \\\nREGISTRY_SPARQL_QUERY_URL=http:\u002F\u002F127.0.0.1:3030\u002Fregistry\u002Fsparql \\\nREGISTRY_SPARQL_UPDATE_URL=http:\u002F\u002F127.0.0.1:3030\u002Fregistry\u002Fupdate \\\nREGISTRY_SPARQL_USERNAME=admin \\\nREGISTRY_SPARQL_PASSWORD=admin \\\nnpx vitest run tests\u002Fe2e\u002Fapi-sparql-live.test.ts --reporter=verbose\n```\n\nWhat these prove today:\n- the operator CLI can seed a committed real sample that teammates can inspect and replay\n- the happy-path skill test shows a valid signed and transparency-verified publication\n- the unhappy-path skill test shows a tamper-evident trust failure with preserved forensic context\n- the e2e lanes prove the same trust story over realistic sample graphs, first with persistent local `json_file`, then with live Fuseki\u002FSPARQL\n\n### Fast demo path\n\nIf you want the current blessed demo:\n\n```bash\ncd signet\u002Fclient\u002Fregistry-cli\nnpm install\nnpm run dev -- bootstrap test --reset --force --up\n```\n\nThat command seeds:\n- one demo agent: `cursor:registry-agent`\n- one MCP usage skill: `skill:registry-mcp`\n- one fun proof skill: `skill:tame-llama`\n\nThe operator CLI now also supports:\n- richer multi-skill \u002F multi-agent bootstrap packs with profiles and dependency-aware planning\n- a second real-Okta bootstrap verification lane for the registry-admin surface\n\n### Fresh bootstrap path\nFor a fresh local registry bootstrap, the intended operator sequence is:\n1. start the stack with `cd signet\u002Finfra && make up`\n2. mint write credentials for `service\u002Fapi`\n3. seed lifecycle-aware skills first\n4. seed agents that reference those skills\n5. verify discovery\u002Fload through `service\u002Fmcp`\n\nImportant bootstrap rule:\n- skills must be seeded before agents that reference them\n- lifecycle-aware bootstrap should use the skill lifecycle endpoints, not only `POST \u002Fv1\u002Fskills`\n- the future home for this workflow is `client\u002Fregistry-cli`\n\n### High-level architecture (intended)\n- **Domains**: registry entities and relationships (graph-first metadata model).\n- **Connect**:\n  - **MCP** adapter(s) for agent harnesses (Cursor, Claude Code, etc.)\n  - **API** surfaces for programmatic interaction (canonical contracts)\n- **Human interfaces**:\n  - Web UI for browsing\u002Foperating the registry\n  - current thin launchpad under `service\u002Fwebapp\u002Fknowledge-manager`\n- **Data\u002FStorage**:\n  - Graph database for registry metadata and relationships (planned \u002F evolving)\n  - Content-addressable artifact store for agent\u002Fskill source files (planned \u002F evolving)\n- **Processes**:\n  - Validation\u002Fcertification and other operational processes (planned \u002F evolving)\n\n### Agent Data Access Gateway (this repo area)\nUnder `service\u002Fmcp\u002F` we are building the **Agent Data Access Gateway** as specified in the spec pack at `service\u002Fmcp\u002FAGENTS\u002F`.\n\n### Canonical boundaries\n- `service\u002Fregistry`\n  - canonical internal registry core\n- `service\u002Fapi`\n  - canonical external management plane for humans, webapp flows, and CI\u002FCD\n- `service\u002Fmcp`\n  - canonical AI-facing plane\n\nCurrent rule:\n- `service\u002Fapi` and `service\u002Fmcp` should consume shared registry logic directly\n- `service\u002Fmcp` should not call `service\u002Fapi` over HTTP inside the same service\n- Jena\u002FFuseki stays behind adapters, not as the public contract\n\nKey invariants:\n- **MCP stays thin**: it is an adapter only.\n- **Canonical Tool API is the source of truth**.\n- **Read-only + auditability** are hard release gates.\n\nCurrent implementation status (incremental):\n- `service\u002Fmcp\u002F`: PHASE 0–9 implemented and green (Tool API + MCP + auth + audit + safety + mock-first connectors + Stage 2 seams).\n- `service\u002Fapi\u002F`: bootstrap skeleton plus first versioned `agents` and `skills` metadata API slices implemented and green, including artifact attachment semantics, skill linkage, and idempotent create behavior.\n- `service\u002Fapi\u002F`: lifecycle-oriented management plane for skills **and** agents with full parity (draft\u002Fvalidate\u002Fpublish\u002Fpromote\u002Fdeprecate\u002Fcertify\u002Frevoke\u002Farchive\u002Factive-version resolution).\n- `service\u002Fapi\u002F`: the certification state machine now covers `draft`\u002F`validated`\u002F`rejected`\u002F`published`\u002F`certified`\u002F`deprecated`\u002F`revoked`\u002F`archived` with deterministic draft rejection, supersession guards, and policy\u002Fontology-bound certification.\n- `service\u002Fapi\u002F`: policy packages are first-class versioned artifacts (`POST \u002Fv1\u002Fpolicy-packages`) in legacy JSON and authored W3C SHACL Turtle formats; draft validation executes W3C SHACL Core for the built-in graph shape and policy shapes, stores machine-readable violation reports in the CAS, and links them via `sg:validatedBy`.\n- `service\u002Fapi\u002F`: dual ontology packages (`registry_shape` \u002F `skill_area`) are versioned artifacts (`POST \u002Fv1\u002Fontology-packages`) in legacy JSON and authored OWL Turtle formats, each carrying a format-independent canonical semantic digest; draft validation checks `capability_claims` bind to known skill-area concepts, rejects disjoint combinations, records de facto candidates, and binds certification to registered ontology packages.\n- `service\u002Fapi\u002F`: advisory LLM validation runs as a fourth, always-non-blocking layer with scorecard evidence artifacts; human review records decisions as `review_evidence` artifacts with policy-driven gating and a pending-review queue.\n- `service\u002Fapi\u002F`: semantic compiler ingestion (`POST \u002Fv1\u002Fcompile\u002Fskill`) normalizes markdown and tool manifests into typed proposals, with a de facto vocabulary store and human-reviewed promotion.\n- `service\u002Fregistry` and `service\u002Fapi` now expose the first time-aware object slice (commits, refs, tags, workspaces, manifests, retention roots, GC jobs) with a first public draft-workspace operation and a durable, non-destructive GC job execution seam.\n- `service\u002Fapi\u002F` now defaults to a persistent local graph adapter for metadata writes in local development.\n- `service\u002Fapi\u002F` also exposes an optional SPARQL-backed graph seam, with the default testsuite now including a black-box e2e API test.\n- local Fuseki\u002FJena is now available in compose, and the env-gated live SPARQL API e2e path has been validated successfully.\n- `service\u002Fapi\u002F` write routes now require auth and persist audit\u002Fauth state in SQLite.\n- `service\u002Fmcp\u002F` now includes a repeatable registry bootstrap CLI that can seed the configured persistent graph backend plus CAS for beta environments.\n- `service\u002Fwebapp\u002Fknowledge-manager\u002F` now goes beyond browsing and exposes first registry-admin read\u002Fwrite flows over `service\u002Fapi` (agent registration, skill registration, and skill draft creation).\n- `service\u002Fregistry` and `service\u002Fapi` now expose a real transparency\u002Fgovernance trust layer with trusted public keys, transparency logs, transparency witnesses, checkpoint history, consistency proofs, witness attestations, observations, disagreement evidence, gossip events, timeline inspection, signed-note compatibility, richer note parsing, temporal witness forensics, and stronger provenance on observations and gossip.\n- `service\u002Fregistry` now emits canonical governance events for every lifecycle operation into an internal append-only Merkle log, with inclusion-proof generation and verifier replay over `\u002Fv1\u002Fgovernance-log*`.\n- `service\u002Fregistry` now projects publication graphs to canonical RDF (RDFC-1.0) with semantic digests, and verifies dual (operational\u002Fsemantic) detached signatures.\n- `service\u002Fregistry` now tracks PROV-O provenance for all lifecycle operations, with traversal and audit-replay endpoints and the read-only `registry.get_provenance` MCP tool.\n- `service\u002Fapi` now serves a generated OpenAPI 3.1 spec at `GET \u002Fv1\u002Fopenapi.json` and a Swagger UI at `GET \u002Fv1\u002Fdocs`, derived from the route contracts via `@hono\u002Fzod-openapi`.\n- `client\u002Fregistry-sdk` now provides a typed, read-first client SDK (`@signet-registry\u002Fsdk`) generated from the OpenAPI spec, with a CI publish workflow on `registry-sdk-v*` tags.\n- `service\u002Fmcp` now exposes a `registry.search` discovery tool so a fresh agent can self-orient by searching skills and agents, plus a read-only `registry.verify_publication` tool that returns envelope digest, signature, and transparency verdicts for a version.\n- `service\u002Fmcp` now includes an opt-in cognitive layer that estimates tool-result token cost and summarizes payloads that exceed a configured LLM context budget, with ephemeral summary caching.\n- the repo now includes Terraform for a locked-down shared S3 bucket seam, Aurora\u002FSecrets Manager wiring for the Tessera AWS backend state, and optional `tessera-sidecar` \u002F `tessera-runtime` companions for future transparency-backend experiments.\n- publish\u002Fcertify flows can now stage real publication\u002Fgovernance append intents through the sidecar and preserve the returned S3 references in the trust model when the sidecar is configured.\n- Note: external warehouse connections and Okta validation may run in **MOCK** mode in early phases to stay unblocked (documented in `service\u002Fmcp\u002FREADME.md`).\n\n### Agent integration surfaces\nSignet is designed to be available to every agent workflow. The current surfaces:\n- **OpenAPI 3.1 spec + Swagger UI** — `GET \u002Fv1\u002Fopenapi.json` and `GET \u002Fv1\u002Fdocs` on `service\u002Fapi`. See `docs\u002Fapi-reference.md`.\n- **Typed read-first SDK** — `@signet-registry\u002Fsdk` under `client\u002Fregistry-sdk`, generated from the spec. See `client\u002Fregistry-sdk\u002FREADME.md`.\n- **MCP gateway** — `service\u002Fmcp` exposes read-only `registry.*` tools (including `registry.search`, `registry.verify_publication`, and `registry.get_attestations`) over Streamable HTTP at `\u002Fmcp`. See `docs\u002Fmcp-onboarding.md` for per-harness config (Claude Code, Cursor, opencode, generic MCP clients).\n- **Cognitive layer** — opt-in token-context estimation + summarization in `service\u002Fmcp` (see `service\u002Fmcp\u002FREADME.md`).\n- **Operator CLI** — `@signet-registry\u002Foperator` under `client\u002Fregistry-cli`, packaged for CLI-first agents (see `client\u002Fregistry-cli\u002FREADME.md`).\n- **Onboarding skill** — a distributable `signet-registry` skill teaching the discover → inspect → load → trust → use flow (see `skills\u002F` and `.cursor\u002Fskills\u002Fsignet-registry\u002F`).\n\n### Infrastructure\n- System-level infra (compose, shared networking, shared volumes, env wiring): `infra\u002F`\n- Per-service infra:\n  - `service\u002Fmcp\u002Finfra\u002F`\n  - `service\u002Fapi\u002Finfra\u002F`\n  - `service\u002Fregistry\u002Finfra\u002F`\n  - `service\u002Fwebapp\u002Fknowledge-manager\u002Finfra\u002F`\n- Local operator entrypoint:\n  - `cd infra && make up` (uses base + override compose files)\n\n### Production deployment (two-repo rule)\n- This repo ships release-tagged artifacts only: immutable, digest-pinned images\n  and the Helm chart (`charts\u002Fsignet`), published to GHCR\n  (`ghcr.io\u002F\u003Cowner>\u002Fsignet\u002F…`) by `.github\u002Fworkflows\u002Frelease.yaml` with the\n  workflow's `GITHUB_TOKEN` — no cloud account or static credentials.\n- The environment repo that owns Terraform state applies the pinned\n  chart via the `signet-eks` module.\n- Reusable Terraform modules live under `infra\u002Fterraform\u002Fmodules\u002F` (needed only\n  for the AWS\u002FEKS deployment path — the release pipeline itself is provider-free):\n  - `signet-registry` — immutable ECR repos + GitHub OIDC publish role (optional ECR mirror)\n  - `signet-data` — KMS, Secrets Manager, S3 artifacts, RDS Postgres, ElastiCache Redis, IRSA\n  - `signet-eks` — version-pinned Helm release wrapper\n- Deploy runbook: `docs\u002Frunbooks\u002Fdeploy.md`; secrets: `charts\u002Fsignet\u002FSECRETS.md`.\n\n### Human docs\n- local operator guide: `docs\u002Flocal-development.md`\n- adopting the deployed registry: `docs\u002Fadoption.md`\n- deploy runbook: `docs\u002Frunbooks\u002Fdeploy.md`\n- demo data reseed: `docs\u002Frunbooks\u002Fdemo-reseed.md`\n- off-platform migration\u002Fcutover: `docs\u002Frunbooks\u002Fmigration-cutover.md`\n- service boundaries: `docs\u002Fservice-map.md`\n- registry domain\u002Fstorage model: `docs\u002Fregistry-model.md`\n- API reference: `docs\u002Fapi-reference.md`\n- MCP onboarding: `docs\u002Fmcp-onboarding.md`\n- beta-v1 readiness and scope: `docs\u002Fbeta-v1-readiness.md`\n- docs index: `docs\u002FREADME.md`\n\n### Service entrypoints\n- `service\u002Fmcp\u002FREADME.md`\n- `service\u002Fapi\u002FREADME.md`\n- `service\u002Fregistry\u002FREADME.md`\n- `service\u002Fshacl-runtime\u002FREADME.md`\n- `service\u002Ftessera-sidecar\u002FREADME.md`\n- `service\u002Ftessera-runtime\u002FREADME.md`\n- `service\u002Fwebapp\u002FREADME.md`\n- `service\u002Fwebapp\u002Fknowledge-manager\u002FREADME.md`\n- `client\u002Fregistry-cli\u002FREADME.md`\n- `client\u002Fregistry-sdk\u002FREADME.md`\n\n### Registry (agents\u002Fskills) direction\nWe are extending the system to provide a **graph-first registry** of agents and skills, exposed via canonical `registry.*` tools and the MCP adapter.\n\n### Beta v1 recommendation\nThe most credible first beta should be scoped narrowly to:\n- authenticated AI agents discovering agents and skills through `service\u002Fmcp`\n- those agents loading linked artifact content from the registry\n- internal operators managing registry metadata through `service\u002Fapi`\n\nThe broader human knowledge-manager track under `service\u002Fwebapp\u002Fknowledge-manager\u002F` should be treated as a parallel product track, not as a release gate for the first internal beta unless explicitly expanded.\n\nCurrent implementation note:\n- the webapp now exists as a thin runnable admin surface over `service\u002Fapi`\n- the webapp now supports a minimal server-side management session and browser-driven skill lifecycle operations\n- the webapp auth\u002Fsession flow now aligns to the `service\u002Fapi` auth direction: API-key fallback for local mode, Okta-style session acquisition for `okta` \u002F `dual`\n- the webapp session store is now durable via local SQLite persistence\n- real Okta-backed ontology access via the Semantic Turkey \u002F VocBench companion remains intentionally deferred\n- ontology authoring is still intentionally externalized to VocBench \u002F Semantic Turkey rather than rebuilt inside the repo webapp\n- optional local VocBench \u002F Semantic Turkey can be enabled as a compose companion for ontology-authoring experiments\n\n### Credits\n\nSignet is built by [Derek C.](https:\u002F\u002Fgithub.com\u002Ftherandomsecurityguy) and\n[Pablo Ferrari](https:\u002F\u002Fgithub.com\u002Fpabshazon).\n","Signet 是一个面向 AI 代理与计算技能的语义化治理注册中心，采用图优先架构实现可信发布与全生命周期管理。其核心功能包括：分离逻辑身份与不可变版本快照、五层验证（SHACL 形状校验、本体约束、LLM 语义分析、人工审核、密码学签名）、双本体驱动的规范建模、基于 Merkle 透明日志的可验证治理事件记录，以及 PROV-O 标准化的可追溯性证明。项目强调证据可验证、操作可审计、状态可回溯，适用于需保障 AI 技能来源可信、版本合规、策略可执行的场景，如企业级 AI 能力治理、安全敏感的智能体供应链管理及联邦式 AI 协作环境。","2026-11-24 04:52:43","CREATED_QUERY"]