pack
workflow-shield pack <spec> --format json|markdown
Build a protected package manifest that exposes only the workflow contract and visible assets.
Docs
Workflow Shield 用 package spec 描述公开层与隐藏层的边界,让 workflow 先能被调用、验证、签名,再决定哪些部分绝不应该被打进公开包。
Install
git clone https://github.com/jklop3841/agentarchitect-site.git
cd agentarchitect-site
npm installCommands
pack
Build a protected package manifest that exposes only the workflow contract and visible assets.
inspect
Show what is public, what stays hidden, and what the boundary rules are.
explain
Explain why this package raises extraction cost without claiming impossible security.
npm run workflow-shield -- pack ./examples/workflow-shield/basic.json --format markdownnpm run workflow-shield -- inspect ./examples/workflow-shield/basic.json --format jsonnpm run workflow-shield -- explain ./examples/workflow-shield/basic.json --format markdownSpec example
{
"id": "shield-basic-bundle",
"summary": "Protect a private workflow by exposing only the contract",
"assets": [
{ "id": "workflow-contract", "kind": "manifest", "exposure": "public" },
{ "id": "operator-prompts", "kind": "prompt-pack", "exposure": "hidden" }
],
"boundaries": [
"Public consumers can inspect inputs, outputs, and validation checks.",
"Hidden prompts are never bundled into the public package."
]
}