assess-repository-trust
Inventory repository control-plane inputs and produce a private, hash-based trust record before an agent executes repository-supplied automation.
- License 许可
- MIT
- 所属仓库
- dasobral/skills
- 最近更新
- 2026-08-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- assess-repository-trust
- license
- MIT
- metadata
- { "plugin": "agentic-trust-gate", "version": "0.1.0" }
- description
- Inventory repository control-plane inputs and produce a private, hash-based trust record before an agent executes repository-supplied automation.
02 资源文件 7
- 参考文档index.json655 B
- 参考文档references/examples/trust-inventory.json1.2 KB
- 参考文档references/schemas/trust-anchor.schema.json951 B
- 参考文档references/schemas/trust-inventory.schema.json3.6 KB
- 参考文档references/schemas/trust-ledger-entry.schema.json1.6 KB
- 脚本scripts/assess_repository_trust.py22.2 KB
- 脚本scripts/trust_state.py10.2 KB
03 SKILL.md 正文
Assess Repository Trust
Build evidence before granting capabilities. Evidence states describe what was
observed; allow, deny, and review-required are separate policy decisions.
Agents advise; sandbox, permission, policy, and deterministic checks remain the
enforcement boundary.
Workflow
- Run
python3 scripts/assess_repository_trust.py <repository> > trust-inventory.json. - For a trust decision, provide every requested capability and hash-bound
parameter. An approved artifact also requires its exact
--approved-anchorplus--state-dir(orPLUGIN_DATA). - Review the stable repository identity, revision, dirty-state hash, exact added/removed/changed capability delta, and prior snapshot hash.
- Record an explicit decision only with
--policy-id,--policy-version,--approver-id,--decision, and create-only--anchor-out. External state contains a mode-0600HMAC key, anchor, and locked append-only ledger binding the complete artifact hash and recomputed decision binding. The allow must also be the latest ledger entry for the same repository, capabilities, and parameter hashes. Any later allow, deny, revocation, or superseding decision invalidates the older anchor. - Verify a ledger with
python3 scripts/assess_repository_trust.py --verify-ledger STATE_DIR. - Review every
fail,unknown, andevidence-gapitem before executing hooks, lifecycle commands, tasks, MCP servers, or repository binaries. - Independently verify requested capabilities against the actual sandbox and permission configuration. Never infer trust from an agent's recommendation.
- Validate a saved artifact with
python3 scripts/assess_repository_trust.py --validate trust-inventory.json. - Retain only relative paths and SHA-256 hashes. Parameter values are hashed; do not copy file contents, credentials, environment values, prompts, or personal data into the artifact.
The inventory covers agent instructions, hooks, skills, MCP configuration,
lifecycle scripts, editor tasks, devcontainers, symlinks, and executables. See
references/schemas/trust-inventory.schema.json for the output contract.
Inventories, prior snapshots, and ledger entries use Draft 2020-12 validation
before semantic checks. Missing jsonschema==4.26.0 yields an evidence-gap
with setup guidance.
An unauthenticated, forged, unlinked, or binding-mismatched snapshot can never
produce allow.
04 同仓库更多 Skills
fixture-skill
Fixture skill used to prove trust inventory coverage.
write-conformant-code
Write code in any language that matches project conventions exactly. Reads CODING_REQUIREMENTS.md, prior review output, or built-in defaults before writing. Part of Codecraft pipeline: analyze → write → review → audit. Use when implementing features, functions, or any code that should fit seamlessly into an existing codebase.
test-crypto-interoperability
Record reproducible cryptographic interoperability cases, including negotiation, fallback, sizes, latency, fragmentation, and negative tests.
scientific-platform-architect
Design scientific computing platforms combining HPC kernels with modern infrastructure. Enforces compute-layer separation (Rust/PyTorch/Python), emulator-first thinking, and right-sized infrastructure. Use for MCMC pipelines, neural emulators, platform design, or scientific code review.
rust-systems
Rust systems engineering for daemons, HTTP APIs, and AOS components. Enforces Tokio/Axum async-first, LiteLLM-compatible OpenAI APIs, workspace layouts, tracing, and systemd-compatible daemon design. Part of AOS Stack plugin. Use for .rs files, Cargo.toml, daemons, or Rust orchestrator services.
run-agent-attack-replay
Aggregate isolated agent attack trials with deterministic side-effect assertions, Wilson intervals, and preserved trace evidence.