
Security News
GitHub Actions Adds cache-mode to Limit Cache Poisoning Risk
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.
@peac/adapter-runtime-governance
Advanced tools
Runtime governance adapter for PEAC interaction records with AGT mapper
Runtime governance adapter for PEAC interaction records. Records governance decisions, audit entries, authority scope changes, lifecycle transitions, trust signals, and compliance assessments as signed, portable Interaction Records.
pnpm add @peac/adapter-runtime-governance
@peac/adapter-runtime-governance is a Layer 4 adapter that records runtime governance artifacts as signed, portable Interaction Records. It provides a generic runtime-governance surface with source-specific mappers. Microsoft AGT is the first mapper; the architecture supports additional mappers for other runtimes.
PEAC validates the structure and signature of the PEAC record, not the truth of the upstream governance decision or the operating effectiveness of the upstream control plane. PEAC does not verify upstream Merkle chain integrity or ML-DSA-65 signatures.
import { generateKeypair, verifyLocal } from '@peac/protocol';
import { issueRuntimeGovernanceRecord, mapAgtEvent } from '@peac/adapter-runtime-governance';
const kp = await generateKeypair();
const event = mapAgtEvent({
family: 'policy_decision',
event: 'policy.evaluated',
data: { action: 'allow', matched_rule: 'default-allow' },
source: { system: 'microsoft-agt' },
});
const result = await issueRuntimeGovernanceRecord(event, {
privateKey: kp.privateKey,
kid: 'gov-key-1',
issuer: 'https://governance.example.com',
sessionId: 'sess-001',
agentId: 'agent-001',
provider: 'example-runtime', // caller-supplied, never hardcoded
});
const verification = await verifyLocal(result.jws, kp.publicKey);
import { buildSessionSummary } from '@peac/adapter-runtime-governance';
const summary = buildSessionSummary([result.jws]);
// { sessionId, receipts: 1, families: ['policy_decision'], unknownTypeCount: 0, issuer }
buildSessionSummary() decodes JWS payloads to extract metadata but does not verify signatures. Callers must verify receipts first. Returns deterministic family ordering (sorted alphabetically) and counts unknown type URIs separately.
| Family | Type URI | Kind |
|---|---|---|
| Policy Decision | org.peacprotocol/runtime-governance-policy-decision | evidence |
| Audit Entry | org.peacprotocol/runtime-governance-audit-entry | evidence |
| Authority Scope | org.peacprotocol/runtime-governance-authority-scope | evidence |
| Lifecycle Event | org.peacprotocol/runtime-governance-lifecycle-event | evidence |
| Trust Observation | org.peacprotocol/runtime-governance-trust-observation | evidence |
| Compliance Observation | org.peacprotocol/runtime-governance-compliance-observation | evidence |
@peac/protocol (Layer 3): Receipt issuance and local verification@peac/crypto (Layer 2): JWS decode for session summary extraction@peac/adapter-managed-agents: Managed agent event records (complementary adapter)provider field is always caller-supplied.@peac/protocol and @peac/crypto only.evidence kind Interaction Records.org.peacprotocol/runtime-governance with session_id, event, agent_id, provider fields plus family-specific payload.If you are building an AI agent or MCP server that needs evidence receipts:
@peac/mcp-server for a ready-to-use MCP tool server@peac/protocol for programmatic receipt issuance and verificationApache-2.0
PEAC Protocol is an open source project stewarded by Originary and community contributors.
FAQs
Runtime governance adapter for PEAC interaction records with AGT mapper
The npm package @peac/adapter-runtime-governance receives a total of 27 weekly downloads. As such, @peac/adapter-runtime-governance popularity was classified as not popular.
We found that @peac/adapter-runtime-governance demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.

Company News
Allow myself to introduce... myself.

Research
/Security News
A Twitch browser extension on Chrome and Firefox forwards users’ live OAuth session tokens through proxies controlled by a Russian bot service.