You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add persistent agent identities backed by cryptographic signing keys so TriageCore can attribute important control-plane and audit-ledger actions to known, authorized agents.
This should make agent activity inspectable and tamper-evident without granting agents unchecked autonomy.
Motivation
TriageCore is developing into a local-first control plane for task routing, scoped delegation, validation, and human approval. As the system grows from a single workflow into a council of workers, the audit ledger should be able to answer:
Which agent performed this action?
Was that agent authorized to perform this action?
Was the payload changed after the event was recorded?
Was the signing key active, revoked, or unknown?
Did this event come from a local trusted component or an external/cloud worker handoff?
Persistent cryptographic identities provide accountable continuity for agents while preserving human approval gates.
Proposed design
Introduce a lightweight identity and signing layer.
The identity system proves only that a known local component signed a specific event. It does not prove that the event is correct, safe, or approved.
Verification must remain separate from:
human review
privacy scanning
validation
approval gates
route policy enforcement
Private key material must remain local and gitignored. Cloud workers should receive only scoped task envelopes and should never receive local private keys.
Implementation notes
A minimal MVP could add:
Identity registry under:
.triagecore/identity/agents.json
Local gitignored key directory under:
.triagecore/identity/keys/
Signing helper:
sign_event(agent_id, payload)
Verification helper:
verify_event(event)
CLI smoke command for initializing and verifying identities.
Unit tests proving:
valid signature passes
tampered payload fails
unknown agent fails
revoked agent fails
unauthorized capability fails
This should integrate with the existing audit ledger rather than replacing it.
Future stretch goal: Post-Quantum Cryptography support
Design the identity and ledger-signing layer to be crypto-agile so TriageCore can later support post-quantum signature algorithms without redesigning the audit model.
Initial implementation should use Ed25519 for simplicity and maturity, but identity records and signed ledger events should include explicit algorithm metadata.
Add persistent cryptographic agent identities
Summary
Add persistent agent identities backed by cryptographic signing keys so TriageCore can attribute important control-plane and audit-ledger actions to known, authorized agents.
This should make agent activity inspectable and tamper-evident without granting agents unchecked autonomy.
Motivation
TriageCore is developing into a local-first control plane for task routing, scoped delegation, validation, and human approval. As the system grows from a single workflow into a council of workers, the audit ledger should be able to answer:
Persistent cryptographic identities provide accountable continuity for agents while preserving human approval gates.
Proposed design
Introduce a lightweight identity and signing layer.
AgentIdentityFields:
AgentKeyStoreResponsibilities:
SignedLedgerEventFields:
Recommended first algorithm: Ed25519 using a mature Python crypto library.
Initial agents to consider
ContextPlannerImplementerValidatorToolsLLMReviewWorkerProjectStewardInitial signed events
Start narrow:
taskpacket_createdroute_decisionroute_auditvalidation_resultproject_steward_decisionAcceptance criteria
Non-goals for the first implementation
Security notes
The identity system proves only that a known local component signed a specific event. It does not prove that the event is correct, safe, or approved.
Verification must remain separate from:
Private key material must remain local and gitignored. Cloud workers should receive only scoped task envelopes and should never receive local private keys.
Implementation notes
A minimal MVP could add:
CLI smoke command for initializing and verifying identities.
Unit tests proving:
This should integrate with the existing audit ledger rather than replacing it.
Future stretch goal: Post-Quantum Cryptography support
Design the identity and ledger-signing layer to be crypto-agile so TriageCore can later support post-quantum signature algorithms without redesigning the audit model.
Initial implementation should use Ed25519 for simplicity and maturity, but identity records and signed ledger events should include explicit algorithm metadata.
Example:
{ "agent_id": "tc-agent-validator-01", "role": "ValidatorTools", "key_algorithm": "ed25519", "public_key_fingerprint": "sha256:..." }