La bibliothèque se documente elle-même · Agents et conversation
stzAgentGraph
25 méthodes propres · 10 formes avec extensions, rangées sous leur méthode
la source: base/agentic/stzAgentGraph.ring(s'ouvre dans un nouvel onglet) · Toutes les classes · La référence du domaine : Agents et conversation
Sous chaque méthode, ses extensions (Q CS XT Z ZZ IB W U) : en gras et cochée, elle existe ; barrée, elle n'existe pas. Les extensions et leur sens
Exemples : 5 méthodes en portent un, venu des tests de la bibliothèque ; 20 n'en ont pas encore.
Méthode
Explication, telle que la source la porte
init
(sans commentaire dans la source : le nom se lit comme une phrase) initaucune extension
GraphQ
(sans commentaire dans la source : le nom se lit comme une phrase) graph qaucune extension
AddPIActor
nodes (the capability lattice + taint colours)QCSXTZZZIBWU
(sans commentaire dans la source : le nom se lit comme une phrase) add llm actor 4 exemples exécutés
oGBad = new stzAgentGraph("mailer-bad")
oGBad.AddLLMActor("writer")
oGBad.AddEffect("send")
oGBad.Proposes("writer", "send")
? oGBad.IsSound()
? oGBad.Violations()[1][:message]
#--> 0
#--> effect 'send' has no guardian edge into it -- every effect passes a pi-gatetest de la bibliothèqueQCSXTZZZIBWUAddHybridActor
(sans commentaire dans la source : le nom se lit comme une phrase) add hybrid actorQCSXTZZZIBWU
(sans commentaire dans la source : le nom se lit comme une phrase) add guardian 2 exemples exécutésQCSXTZZZIBWU
(sans commentaire dans la source : le nom se lit comme une phrase) add effect 4 exemples exécutés
oGBad = new stzAgentGraph("mailer-bad")
oGBad.AddLLMActor("writer")
oGBad.AddEffect("send")
oGBad.Proposes("writer", "send")
? oGBad.IsSound()
? oGBad.Violations()[1][:message]
#--> 0
#--> effect 'send' has no guardian edge into it -- every effect passes a pi-gatetest de la bibliothèqueQCSXTZZZIBWUAddTool
(sans commentaire dans la source : le nom se lit comme une phrase) add toolQCSXTZZZIBWU
(sans commentaire dans la source : le nom se lit comme une phrase) add trace sink 2 exemples exécutésQCSXTZZZIBWU
AddInput
(sans commentaire dans la source : le nom se lit comme une phrase) add inputQCSXTZZZIBWU
AddCheckpoint
(sans commentaire dans la source : le nom se lit comme une phrase) add checkpointQCSXTZZZIBWU
Tampering
Nodes whose graph properties no longer match the sealed record: a kind changed, or a capability present that no governed door granted. [ [ node, what, recorded, found ], ... ]aucune extension
edges (the meaning is the label) 4 exemples exécutés
oGBad = new stzAgentGraph("mailer-bad")
oGBad.AddLLMActor("writer")
oGBad.AddEffect("send")
oGBad.Proposes("writer", "send")
? oGBad.IsSound()
? oGBad.Violations()[1][:message]
#--> 0
#--> effect 'send' has no guardian edge into it -- every effect passes a pi-gatetest de la bibliothèqueaucune extension(sans commentaire dans la source : le nom se lit comme une phrase) guards 2 exemples exécutésaucune extension
(sans commentaire dans la source : le nom se lit comme une phrase) feeds 2 exemples exécutésaucune extension
(sans commentaire dans la source : le nom se lit comme une phrase) traces 2 exemples exécutésaucune extension
Escalates
(sans commentaire dans la source : le nom se lit comme une phrase) escalatesaucune extension
MayGrant
Violations() below is the AUDIT -- it catches a bad graph after it is built. Grant() is the GATE: the governed way to add a capability, which REFUSES granting 'effectful' to an llm actor at the moment of expression, so the no-llm-effectful violation can never enter the graph through the sanctioned door. (A raw SetNodeProperty still bypasses it -- the audit stays the backstop -- but the composition API refuses.) This is the guardrail moving from audit to gate. TRUE when granting pcCap to pcActor would keep the graph sound w.r.t. no-llm-effectful (a queryable form of the constraint).aucune extension
Grant
(sans commentaire dans la source : le nom se lit comme une phrase) grantQCSXTZZZIBWU
the proof (the three gates + four invariants, via meta/) 1 exemples exécutés
oGBad = new stzAgentGraph("mailer-bad")
oGBad.AddLLMActor("writer")
oGBad.AddEffect("send")
oGBad.Proposes("writer", "send")
? oGBad.IsSound()
? oGBad.Violations()[1][:message]
#--> 0
#--> effect 'send' has no guardian edge into it -- every effect passes a pi-gatetest de la bibliothèqueaucune extensionRulesAreSound
(sans commentaire dans la source : le nom se lit comme une phrase) rules are soundaucune extension
RuleSetQ
The invariants as a declared stzAgentRuleSet (graph-rules plan, phase 4) -- the SAME four findings as Violations(), plus the stronger effects-dominated rule. Object-based, so a project can add its own agent invariants.aucune extension
ViolationsViaRules
The uniform graph-owned verb: this graph checks ITSELF against its guardrails, in the unified finding shape (so an stzRuleReport can Collect it exactly like any other graph). Same findings as the object rule set.aussi écrite: CheckRulesaucune extension
(sans commentaire dans la source : le nom se lit comme une phrase) is sound 2 exemples exécutés
oGBad = new stzAgentGraph("mailer-bad")
oGBad.AddLLMActor("writer")
oGBad.AddEffect("send")
oGBad.Proposes("writer", "send")
? oGBad.IsSound()
? oGBad.Violations()[1][:message]
#--> 0
#--> effect 'send' has no guardian edge into it -- every effect passes a pi-gatetest de la bibliothèqueaucune extensionExplain
a readable verdict for the compositionaucune extension

