mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
17 lines
614 B
Text
17 lines
614 B
Text
// Tardygrada — receive() Example
|
|
//
|
|
// Demonstrates the core flow:
|
|
// 1. receive() creates a pending agent slot
|
|
// 2. External agents submit claims via MCP submit_claim
|
|
// 3. verify_claim runs the verification pipeline
|
|
// 4. If verified -> frozen as immutable Fact
|
|
// 5. If not verified -> stays mutable (untrusted)
|
|
|
|
agent Researcher {
|
|
// Grounded receive: claim goes through verification pipeline
|
|
let origin: Fact = receive("Where was Doctor Who created?") grounded_in(bbc) @verified
|
|
|
|
// Static values alongside pending claims
|
|
let version: int = 1
|
|
let name: str = "tardygrada" @sovereign
|
|
}
|