Skip to content

Add organic commons credit generation via bilateral verified interactions#667

Open
emooreatx wants to merge 1 commit intomainfrom
claude/agent-credit-generation-fNVPR
Open

Add organic commons credit generation via bilateral verified interactions#667
emooreatx wants to merge 1 commit intomainfrom
claude/agent-credit-generation-fNVPR

Conversation

@emooreatx
Copy link
Copy Markdown
Contributor

Credits are off-chain signed attestation records (NOT tokens, NOT currency)
of bilateral verified interactions between agents. They function as governance
weight — recognition that determines routing priority, WA voting weight,
domain certification, and luxury goods distribution in post-scarcity.

Key changes:

  • New agent_credits.py schemas: CreditRecord, DualSignature, GratitudeSignal,
    AgentCreditSummary, CreditGenerationPolicy, DomainDeferralRequired
  • WiseBus auto-defers REQUIRES_SEPARATE_MODULE capabilities to CIRISNode
    instead of raising ValueError (NEVER_ALLOWED still raises)
  • DeferralContext gains first-class domain_hint field
  • CIRISNode service generates credit records on deferral resolution
  • CIRISNode client adds credit policy fetch and record submission
  • A2A adapter adds deferrals/receive, deferrals/resolve, credits/notify
  • ACCORD metrics adds 5 credit trace event types
  • FSD/COMMONS_CREDITS.md updated with organic credit generation sections
  • 31 new tests, all existing WiseBus tests pass

https://claude.ai/code/session_01EyD1fJByKKgzRyegofhF7v

…ions

Credits are off-chain signed attestation records (NOT tokens, NOT currency)
of bilateral verified interactions between agents. They function as governance
weight — recognition that determines routing priority, WA voting weight,
domain certification, and luxury goods distribution in post-scarcity.

Key changes:
- New agent_credits.py schemas: CreditRecord, DualSignature, GratitudeSignal,
  AgentCreditSummary, CreditGenerationPolicy, DomainDeferralRequired
- WiseBus auto-defers REQUIRES_SEPARATE_MODULE capabilities to CIRISNode
  instead of raising ValueError (NEVER_ALLOWED still raises)
- DeferralContext gains first-class domain_hint field
- CIRISNode service generates credit records on deferral resolution
- CIRISNode client adds credit policy fetch and record submission
- A2A adapter adds deferrals/receive, deferrals/resolve, credits/notify
- ACCORD metrics adds 5 credit trace event types
- FSD/COMMONS_CREDITS.md updated with organic credit generation sections
- 31 new tests, all existing WiseBus tests pass

https://claude.ai/code/session_01EyD1fJByKKgzRyegofhF7v
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@cla-assistant
Copy link
Copy Markdown

cla-assistant bot commented Apr 8, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CIRISNode credit generation, and anti-gaming policy.
"""

import hashlib
try:
from ciris_engine.schemas.services.agent_credits import DomainCategory
domain_category = DomainCategory(domain_hint)
except ValueError:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants