AGENT SKILL

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

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

  1. Run python3 scripts/assess_repository_trust.py <repository> > trust-inventory.json.
  2. For a trust decision, provide every requested capability and hash-bound parameter. An approved artifact also requires its exact --approved-anchor plus --state-dir (or PLUGIN_DATA).
  3. Review the stable repository identity, revision, dirty-state hash, exact added/removed/changed capability delta, and prior snapshot hash.
  4. Record an explicit decision only with --policy-id, --policy-version, --approver-id, --decision, and create-only --anchor-out. External state contains a mode-0600 HMAC 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.
  5. Verify a ledger with python3 scripts/assess_repository_trust.py --verify-ledger STATE_DIR.
  6. Review every fail, unknown, and evidence-gap item before executing hooks, lifecycle commands, tasks, MCP servers, or repository binaries.
  7. Independently verify requested capabilities against the actual sandbox and permission configuration. Never infer trust from an agent's recommendation.
  8. Validate a saved artifact with python3 scripts/assess_repository_trust.py --validate trust-inventory.json.
  9. 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

dasobral
dasobral/skills

fixture-skill

Fixture skill used to prove trust inventory coverage.

Skill与智能体开发
★ 0
dasobral
dasobral/skills

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.

开发工程师内容创作者写作与文案
★ 0
dasobral
dasobral/skills

test-crypto-interoperability

Record reproducible cryptographic interoperability cases, including negotiation, fallback, sizes, latency, fragmentation, and negative tests.

测试与质量
★ 0
dasobral
dasobral/skills

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.

设计师代码审查视觉设计
★ 0
dasobral
dasobral/skills

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.

视觉设计
★ 0
dasobral
dasobral/skills

run-agent-attack-replay

Aggregate isolated agent attack trials with deterministic side-effect assertions, Wilson intervals, and preserved trace evidence.

Skill与智能体开发
★ 0