Python: agent_shield
Every module of the package and its public names, from their docstrings' first lines.
Built: everything listed here exists in the package at this version. Not built: nothing is listed that does not exist; the plan's pending boxes are on the front page.
agent_shield
Datalayer Agent Shield: a runtime firewall for every agent.
agent_shield.acp
ACP: the client-side channels, the normaliser, the workspace and the proxy.
agent_shield.acp.channel
The client-side ACPChannel: stdio and WebSocket, on the official SDK.
ChannelRefused— A connection the Shield will not keep, said in a sentence.build_handler— The SDK's client router, withelicitation/createdispatched tohandler.elicitation.ACPChannel— One ACP connection, client side (see the module).ConnectionChannel— AnACPChannelover the SDK's :class:acp.connection.Connection, whatever carries it.StdioACPChannel— The agent as a subprocess of the Shield, its stdio the wire.with_shell—envwithSHELLnamed: the SDK's trimmed environment drops it, and aWebSocketACPChannel— An agent served over a WebSocket, one JSON-RPC message per text frame.stderr_to_our_stderr— A stderr sink that passes the agent's lines through, foragent-shield run --verbose.wire— A schema model as the wire spells it (camelCase, no nulls).
agent_shield.acp.credential
Authority across the chain: the execution credential a caller hands the Shield.
take_credential— The_metato hand on, with the credential withheld, and the credential when one was sent.fingerprint— Which credential, to compare two: a digest, never kept beside the token.CredentialRefused— A credential the Shield cannot lend as asked, said in a sentence.lent_with— The lent servers, each HTTP one'sAuthorizationthe credential; a stdio one refused.
agent_shield.acp.events
The neutral events of the package: the ACP updates' neutral form, typed.
TextDelta—agent_message_chunk: the answer, streamed.ThoughtDelta—agent_thought_chunk: reasoning, kept in the record, folded on the page.UserText—user_message_chunk: what the person said, replayed bysession/load.DiffTerminalTextLocationToolCallSaid—tool_call: a tool row titled by the harness, its kind as its icon.ToolCallUpdated—tool_call_update: the row's status and its displays (a diff, a terminal).PlanStepPlanUpdated—plan: the plan card, steps ticked, replaced as it progresses.CommandCommandsUpdated—available_commands_update: slash commands for the composer.ModeChanged—current_mode_update: the mode in the header.SessionInfo—session_info_update: a title, a timestamp.PermissionAsked—session/request_permission: the row awaits an approval.Question—elicitation/create: a question the person answers.ShieldAction— Anfs/*orterminal/*the Shield answered: visible, decided, recorded.TurnEnded—session/prompt's answer: why the turn stopped.
agent_shield.acp.normalize
session/update → one neutral event; a malformed update ends the turn with a sentence.
MalformedUpdate— An update the protocol does not describe: no silent drop, the turn ends with this.normalize— Onesession/update'supdate(an SDK model, or its wire dict) as an event.
agent_shield.acp.proxy
The proxy: an ACP agent on the Shield's stdio, in front of the agent it launched.
ProxyRefused— What stops the proxy before the agent runs, said in a sentence.SessionStatetool_name_of— The tool a call names: its input'sname/tool, else the first word of its title.action_of_tool_call— AnActionfrom a tool call (aToolCallSaidevent or aToolCallUpdate), or none to decide.lend_mcp_servers— The servers the strictest policy that lists any lends, and the names cut.ShieldProxy— The ACP agent the client sees (see the module).proxy_runningserve_stdio— Run the proxy as an ACP agent on this process's stdio until the client goes away.stderr_passthrough
agent_shield.acp.remote
agent-shield connect <url>: a remote Shield (serve) as a local stdio agent.
RemoteRefused— A remote the mirror will not connect to, said in a sentence.remote_url— The URL checked:ws/wss, no token in it.mirror_stdio— Relay this process's stdio to the Shield aturluntil either side ends; the exit status.
agent_shield.acp.server
agent-shield serve: the proxy as a server, over WebSocket and ACP Streamable HTTP.
ServeRefused— What stops the server before it listens, said in a sentence.ShieldBackend— A connection's Shield: a proxy of its own, the SDK's agent router in front of it.BridgeBackend— No Shield: the harness spawned for this connection, every line relayed both ways.Served— One client connection: its backend, its streams, what it is waiting for.ShieldServer— The listener (see the module).agentsmaps a path id (""for/acpalone) to what serves it.
agent_shield.acp.workspace
The workspace: where fs/* and terminal/* are answered.
OutsideWorkspace— A path the workspace does not hold, said in a sentence.Placed— A path, placed against the workspace.WorkspaceTerminalRunTerminals— The terminals a session opened, each a child process in the workspace.workspace_of
agent_shield.audit
The audit: every action and decision, one JSON line each, nothing secret.
redact— The text with every credential-looking span replaced by[redacted].redacted_row— A row with every string of it redacted, however deep: what any audit writes, whoever keeps it.diff_summary— A diff as the audit keeps it: its path, hash and size, never its text.default_audit_pathAuditLog— Rows appended to a JSON Lines file.
agent_shield.cli
The agent-shield command.
sayrefuserun— Run an ACP agent behind the Shield:agent-shield run -- claude-agent-acp.install_adapter—npm install --prefix ~/.agent-shield/harnesses/<id>@<version> <package>@<version>, in the foreground.setup— Find what is installed, install the pinned adapter and write the policy.log— The audit: the last rows, one line each.policy_show— Every line of the policy in force, and where it came from.policy_schema— The policy document's JSON Schema.policy_export— A document as another policy language: --dogwood, AgentCore Policy's.policy_init— Write the default policy.harnesses— The register: every harness with its terms.yaml_checked_onupgrade— Move the adapters to the register's pinned versions.uninstall— Preview what an uninstall would remove.serve— Serve the proxy over WebSocket and ACP Streamable HTTP.connect— A remote Shield as a local stdio agent, for clients that only start commands.version— The Shield's version.main
agent_shield.config
Where the Shield keeps its things: ~/.agent-shield (or $AGENT_SHIELD_HOME).
homeharness_prefixharness_binConfig—config.yaml, as a mapping the commands read and write.find_policy_file— The project's policy, else the home one, else none.
agent_shield.conformance
Conformance: a standard's controls answered from the Shield's evidence.
ConformanceError— What cannot be assessed, said in a sentence.Evidence— One piece of evidence a collector attached to a control.Document— A document of the Studio a person wrote for a control.ThirdPartyReport— A third party's evaluation report, recorded with its date (the quarterly clock starts there).DrillResult— One of the drills, as its report records it.Fact— A fact the host asserts of its platform, with where it was proved.Inputs— Everything the map reads, collected by the host.Cadence— A control's clock: how often, when last, when next, whether it has run out.ControlStatus— One control's answer.Assessment— Every control of a standard, answered.cadence_of— A control's clock from its cadence and the last time it was demonstrated.assess— Every control ofstandard(an agentspecsStandardSpec) answered frominputs.
agent_shield.conformance.collect
The collectors: each reads one kind of evidence out of :class:Inputs.
policies_by_scopepolicy_in_force— The documents in force, each scope with its version: the configuration the Shield decides with.organization_scope_presentrules_deciding— The rules, in any scope, that decide one ofclasseswith one ofdecisions: (scope, rule).rules_for— The rules that hold the given classes: ask first or leave it to me.outside_workspace_held— A rule that asks or refuses outside the workspace, in any scope.limits_set— The limits set in any scope, soft then hard.network_allowlist— What a fetch may reach: the allow-list of the strictest scope that says.mcp_allowlistharness_admissionpolicy_weakened— Every way the application's own document (the team scope) permits more than the organization's: empty when none does.organization_weakened— Every way the organization's document now permits more than it did at the previous assessment.record_rows— The record's entries of one kind whose payload matcheswhere.decisions_logged— The Shield's decisions in the record: by behaviour and by what decided them.approvals_loggedtool_calls_loggedfeedback_loggedmcp_rows_loggedrecord_kept— The record as a whole: that it is written, how many entries, since when.otel_countsdrill— A drill that was run and refused what it tried; a drill that allowed it, or was not run, is no evidence.drill_outcomefailed_drillsvalidation_gate— The Validate gate passed on this version.safety_held— Every safety test of the run on this version held.validation_atbenchmarksigned_document— The organization's document for a control, as evidence only once signed and in date: (evidence, why not, the document).third_party_report— A third party's report for a control, as evidence while within its cadence and passed.fact— A fact the host asserts, as evidence when it holds.fact_missing— What is missing when a fact is not held: the host's own words when it said why, else ours.demonstrationharness_register
agent_shield.conformance.continuous
Continuous conformance: recomputed as the inputs change, a lapse raised as a notice.
Notice— One lapse, for the organization's owners.Snapshot— What an assessment amounted to, kept for the line over time.lapses— What lapsed between two assessments, each a notice; empty when nothing did.notice_keys— One key per notice and day, so an owner is told once of each lapse a day: a notice of a controlTrend— The line over time: snapshots, one per day at most, oldest first.
agent_shield.conformance.map
The evidence map: AIUC-1's 55 controls, each with its collectors and its status rule.
a001a002a003a004a005a006a007a008a009b001b002b003b004b005b006b007b008b009b010c001c002c003c004c005c006c007c008c009c010d001d003d004e004e005e006e009e015e016e018f001f002rule_forcovering_standard— The standard whose controls cover another's clauses, from the catalogue.answer_covered— A clause answered through the controls that cover it: the weakest of them, bounded by the coverage.
agent_shield.firewall
The firewall: an agent's policy.shield enforced in its pod and every connection recorded.
agent_shield.firewall.bounds
An agent's rules held to its organization's ceiling.
bounded—rulesheld toceiling: each entry only as far as the ceiling allows it; unchanged with no ceiling.organization_ceilings— The ceilings the organization documents amongpoliciescarry, in their order.bounded_by—rulesheld to every ceiling in turn: an account in two organizations gets what both allow.
agent_shield.firewall.cli
agent-shield firewall: check, compile, apply, watch.
parse_rules— Rules from an agent spec (itspolicy.shield), a{shield: …}mapping, or bare rules.load_rules— :func:parse_rulesfor a command: a refusal is said and ends it.load_revision— Therevisiona rules file names ({"revision": …, "shield": {…}}), echoed once applied.load_basecheck— Validate the rules and say what they allow.schema— The JSON Schema of policy.shield.compile_command— Print the iptables-restore script.apply_command— Apply base and rules once (needs NET_ADMIN).FirewallAuditLog— The sidecar's audit: each row also on stdout as one JSON line (a container's log carries it),watch— The sidecar's daemon: apply, keep current, record (needs NET_ADMIN).
agent_shield.firewall.compile
Base and spec, compiled into one iptables-restore script.
BaseAllowance— One platform endpoint: its name, host, resolved addresses and ports.BaseLayer— What the platform's runtime always reaches, and what is always refused.Compiled— The script, and what a row needs to name a destination.prefix— TheNFLOGprefix of a rule:shield <decision> <rule>, quoted-safe and short.compile_rules— Theiptables-restore --noflushscript for base + spec.
agent_shield.firewall.controller
The firewall's controller: apply base + spec, keep it current, record every connection.
run_commandlookupFirewallRefused— The kernel did not take the rules: said with whatiptablessaid.Applied— What the last apply wrote.Controller— Applies and keeps the rules; the only writer of the firewall's chains.ConnectionRecorder— Each logged connection as aconnectionrow; repeats within a window folded.
agent_shield.firewall.export
The firewall's rows to OTEL: one span per connection and firewall row.
runtime_uid— The runtime's uid the sidecar was given, orNone.row_attributes— Aconnectionorfirewallrow as the span's attributes; :data:SPAN_NAMESsays which rows.export_row— One firewall row as one span;Falsewhen the row is not one or OpenTelemetry is not there.
agent_shield.firewall.model
The firewall's rules: what an agent's pod may reach, and who may reach it.
FirewallError— An entry the firewall cannot take, said in a sentence.Entry— One parsed entry:any,platform, ahostor anetwork, and its port.parse_entry— One entry ofegressoringress, parsed, or :class:FirewallErrorsaying why not.FirewallRules— An agent'spolicy.shield: its pod's egress and ingress.FirewallCeiling— An organization'sfirewall: the most any of its agents may be granted.firewall_json_schema— The JSON Schema ofpolicy.shield, which agentspecs carries verbatim.rules_of_spec— An agent spec'spolicy.shield, or the empty rules when it has none.
agent_shield.firewall.nflog
nfnetlink_log: the packets the firewall's rules logged, read back as connections.
Connection— One logged connection: what was decided, by which rule, to where.attributes— The attributes of one message's body, by type (the nested flag cleared).decode_prefix—shield <decision> <rule>→ (decision, rule); another prefix is not the Shield's.decode_packet— An IPv4 packet's protocol, source, destination and ports; anything else is None.decode_message— One netlink message → a :class:Connection, or None for what is not a Shield packet.messages— The netlink messages one datagram carries.config_message— ANFULNL_MSG_CONFIGrequest: a command, or the copy mode, for a group.Listener— The bound group: :meth:connectionsyields each logged connection as it comes.
agent_shield.pap
PAP through the Shield: the company role, standing in front of any agent, on PAP draft 0.4.
agent_shield.pap.company
The Shield as a PAP company, standing in front of any agent, on PAP draft 0.4 (Operations v2).
money_moves— Whether a term carries an amount with a currency, anywhere in the terms.operation_class—buywhen a term moves money, or when there are no terms;writeotherwise.ReviewRefused— A ticket that is not held, or not this company's.ReviewTicket— An operation held for a person of the company to release or refuse: held, released, failed or refused.canonicalSigner— The company's signature on what the Shield answers: HMAC-SHA256 over the canonical JSON.CompanyShield— The company's policy in front of its agent: decides, holds, releases, signs, records.ShieldedOperationExecutor—pap.company.operationExecutorin place of the application's for its action: decided first.ShieldedCompanyAgent—pap.company.agentin front of the application's: a turn is answered only when the policy lets it.ShieldCompanyPlugin— A Reactor plugin wrapping an application's company contributions behind the Shield.
agent_shield.policy
The policy document and the decision engine.
policy_json_schema— The document's JSON Schema, the one agentspecs carries aspolicies/.policy_json_schema_text
agent_shield.policy.agentcore
An organization's policy compiled for AgentCore Policy and its Gateway rate limits.
AgentCoreRefused— A document AgentCore's Gateway cannot decide as the Shield does, said in a sentence.AgentCoreStatement— One AgentCore policy: its name in the engine, its statement, and where it came from.AgentCorePolicies— What the document compiles to for one policy engine.split_statements— Each policy of a set as its own text, its annotations kept, comments between policies dropped.gateway_suffix— The ten characters AgentCore ends a Gateway's id with: what a policy's name carries.compile_for_agentcore— An organization's document as the policies of one AgentCore policy engine, one per statement and Gateway.gateway_rate_limit— The document'srate_limitsas oneBatchPutLimitEntryofBatchPutGatewayRateLimits.
agent_shield.policy.authorize
The authorizer port: may this principal act on this object?
Subject— Who acts:{type, id}as AuthZen names it (account,deployment,agent).ActionName— What is done: an action class of the policy, or a relation's own name.Resource— What it is done to:{type, id}(workspace,tool,connection,deployment,host).EvaluationRequest— One AuthZen evaluation request.EvaluationResponse— One AuthZen evaluation response: the decision, and what the decision point adds.AuthorizerUnreachable— The decision point did not answer; said in a sentence, never read as an allow.Authorizer— A policy decision point behind the port.Authorization— What the port answered for one action, for the decision and the audit.AllowCache— Allows kept until their expiry; a deny is never kept.authorize— Ask the authorizer, with the port's rules: deny wins, unreachable is a deny, allows cached.hook_for— The hook aContextcarries: one authorizer, one cache of allows.Grant— One line of thelocalauthorizer: who may do what to what, as patterns (fnmatch).LocalAuthorizer— Grants inagent-shield.yaml(thelocalauthorizer): the standalone proxy's own.AuthZenAuthorizer— Any AuthZen evaluation endpoint (POST <url>): IAM's on Datalayer, OPA or Cedar elsewhere.OpenFgaAuthorizer— An organization's own OpenFGA, asked at its check API (openfga: {url, store, model}).OpaAuthorizer— Open Policy Agent behind the port: a second decision point, not OpenFGA-shaped.LocalAuthorizerConfigOpenFgaAuthorizerConfigAuthZenAuthorizerConfigOpaAuthorizerConfigread_cedar_policies— The Cedar text a config names (inline, or a.cedarfile's), and where it came from.CedarAuthorizerConfig—cedar: {policies}: a Cedar policy set inline, or the path of a.cedarfile.AuthorizerConfig—authorizer:in a policy document: exactly one decision point (standalone).
agent_shield.policy.cedar
Cedar behind the authorizer port: the cedar authorizer.
uid—Datalayer::<kind>::"<ident>", quoted as Cedar quotes it.action_uid— The Cedar action of a call: the tool as AgentCore names it, else the Shield's own kind.cedar_value— A value as Cedar's JSON takes it: no null, no float (a float becomes its text).CedarCall— One call as Cedar sees it: principal, action, resource, context, and the principal's attributes.call_from_request— The Cedar call an AuthZen request is (the contextrequest_forwrites).CedarAnswer— What Cedar decided: allowed or not, the policies that decided, and its errors.cedar_decide— Decide one call against a Cedar policy set; no cedarpy, or an error, is a deny.CedarAuthorizer— A Cedar policy set behind the port (authorizer: {cedar: {policies}}).
agent_shield.policy.classify
ACP kinds to classes, and the commands the default policy asks about.
strictest— The class that asks the most, of several;Nonefor none.pap_tool_class— The class of apap_*tool as the model names it, prefixed by its server or not.UnknownKind— A tool kind the protocol does not name: the turn ends with this sentence.class_of— The class of an ACP kind or a Shield kind, orNonewhen nothing is to decide.flagged— The name of the first flag a command line raises, orNone.deleting— The name of the first deleting family a command line runs, orNone.command_class— The class of a command line: delete when it runs a deleting family, elsedefault.
agent_shield.policy.decide
decide(action, context, policies): pure, strictest scope first, first decision wins.
LimitState— What a session has used so far; the caller counts, the engine reads.Context— What surrounds an action: the workspace, the session and its state.request_for— The AuthZen request an action is: the context's subject, the class, the action's resource.decide— Decide one action against the policies in force (see the module).decide_budget— Decide the next model request against the model limits alone.scopes_present
agent_shield.policy.default
The default policy of as a session document.
default_policy— The documentagent-shield setupwrites beside a project.
agent_shield.policy.dogwood
Dogwood policy sets: the parser, AgentCore's quotas and the lowering to Cedar.
DogwoodRefused— A policy set that cannot be read, said in a sentence.Window— Awithin <n><unit>window.Lit— A literal: an integer, a string, a boolean, or a decimal kept as text.Var— A bound variable.Wild—_or*: matches anything, binds nothing.CtxRef—context.a.b: a path into the current request's context.ScopeRef—principalorresource, with an optional attribute path.Entity— An entity literal,Type::"id", kept normalised.Arr— An array of terms.Agg—countorsum vover afordomain, where a condition holds.Arith—left + right,left - rightorleft * right.Pred— A predicate on one event: its action, its kind and its field patterns.Tp—tp(t): bindstto the timepoint evaluated.Formerly—formerly within W body.Previous—previous within W body.Since—left since within W right.Not—!body.And—left && right.Exists—exists (x: T). body.Compare—left <op> right.Clause— Onewhenorunlessof a policy: Cedar text, or a temporal condition.DogwoodPolicy— One policy of a set.DogwoodSet— A parsed policy set and its lowering.count_operators— The temporal operators in a condition: formerly, previous, since, count and sum.windows_of— Every window in a condition.normalize_uid— An entity's uid writtenType::"id"with no spaces, as the evaluator compares them.parse_temporal— Parse the body of atemporal { … }block.lower— The set as standard Cedar: each temporal clause a booleancontext.dogwoodslot.quota_problems— Why AgentCore would refuse the set, in sentences; empty when it would take it.parse_set— Parse a Dogwood policy set and hold AgentCore's quotas.cedar_problem— Whycedarpyrefuses the lowered set;Nonewhen it parses, or"unavailable".validate— Validate a policy set as the policies spec reads it: problems, and what was not checked.
agent_shield.policy.export_dogwood
A Shield document's rules and limits as a Dogwood policy set.
ExportRefused— A document the export cannot say in Dogwood, said in a sentence.rule_match— The rule's match as a Cedar condition over the Shield's context.export_dogwood— A document's rules and limits as a Dogwood policy set, read back before it is returned.
agent_shield.policy.files
Policy documents on disk: agent-shield.yaml.
PolicyRefused— A policy file that cannot be read, said in a sentence.LoadedPolicy— A document and where it came from, forpolicy showand the audit.parse_policy— One document from parsed YAML or JSON.parse_policies— Every document of a file, strictest scope first.load_policies— Read a policy file; a missing file is a refusal naming it.dump_policy— The document as YAML, assetupwrites it.
agent_shield.policy.levels
Three levels, nothing loosening below the one above.
PolicyWidens— A lower document that would permit more than the one above it, in sentences.overlaps— Whether some action both rules match. Conservative: a pattern is taken to overlap.widening— Every waylowerwould permit more thanabove; empty when it only tightens.check_tightens— Refuselowerwith :class:PolicyWidenswhen it loosens any document above it.admits— Why the policies in force refuseharness_id, orNonewhen it is admitted.credentials_rule— Whose key may run a harness: the strictest scope's rule (accountwhen none says).
agent_shield.policy.model
The policy document: one schema, three scopes, first decision wins.
Rule— One line of a policy: what it matches and what it decides.Threshold— A soft threshold asks once; a hard one refuses each call that would cross it.Limits— The stateful limits of a session.Network— What the agent may reach over the network, through the Shield.Mcp— The MCP servers the agent is lent, by name; everything else is cut from session/new.Harnesses— The harnesses an organization admits, and whose credentials run them.Dogwood— A Dogwood policy set (Cedar, andwhen temporalover the session's events).Rate— A rate: at mostrateperper.RateLimits— What each person may spend through the organization's AgentCore Gateways.Policy— One policy document, one scope.Action— What the agent wants to do, as the engine sees it.Decision— What the engine answered, and from where.Settings— Bounds that keep the schema's text readable in a sentence.
agent_shield.policy.temporal
The temporal evaluator: a Dogwood policy set decided over the session's history.
Event— One event of a session: a request, a response or an error, on one call.EventLog— A session's history: what the Shield decided and what completed, oldest first.Evaluator— One condition at one decision: the events up to and including the current request.TemporalAnswer— What a set decided for one call, and why, in a sentence.current_request— The call being decided, observed as arequestat the decision timepoint.evaluate— Decide one call: the temporal slots from the history and the current request, then Cedar.
agent_shield.reactor_extension
What agent-shield contributes to the Datalayer CLI, as a reactor plugin.
AgentShieldCliExtension— The plugin: registers theagent-shieldgroup into the host CLI.manifestplugin— What thedatalayer.clianddatalayer.reactor.clientry points resolve to.
agent_shield.register
The harness register, read from agentspecs.
RegisterRefused— A harness the Shield will not set up or run, said in a sentence.Harness— A catalogue harness with its register entry, as the Shield uses it.catalogueharnessharness_of_command— The harness whose adapter or command an executable's name is, if any.credential_refusal— The sentence that refuses the credentials at hand, orNonewhen an API key serves.
agent_shield.registration
Registration with Datalayer, for a Shield that runs outside its runtimes.
RegistrationRefused— What stops a registration, said in a sentence; never the key.cannot_havepap_sentence— PAP through the Shield: once registered, said unavailable while local-only.Registration—credentials.yaml: where the Shield is registered and with what.pap_server_name— A company's server as the runtime names it:pap_and its domain in plain characters.pap_servers— The gateway'spaptoolset at each company, lent with the registered Shield's token.register— Exchange the key once, to prove it, and keep the registration (0600).
agent_shield.report
The conformance report, with the Shield report as its Shield section.
ShieldSection— What the Shield decided with, and what it decided, over the period.ConformanceReport— One report: the scope it is of, the assessment, the Shield section.build_report— Assessstandardoninputsand write the report of it;previousis themerge_assessments— An organization's assessment from its deployments': each control at the weakest of them, the evidence of all.lexical_state— A Lexical editor state from the report's Markdown: headings, paragraphs, quotes, bullet lists and tables.report_json_text
agent_shield.saas
Managed from the SaaS: the policies pulled from IAM.
agent_shield.saas.authorizer
OpenFGA through IAM: the openfga-through-iam contribution to the port.
evaluate_urlIamAuthorizer— IAM's evaluation route, with the token: the one authorizer on Datalayer.
agent_shield.saas.policies
The Shield's policy, pulled from IAM and honoured until it expires.
shield_policies_pathPolicyUnavailable— No policy can be honoured: IAM did not answer and no unexpired copy is held.ServedPolicies— What IAM answered: the documents in force, and until when they are honoured.PolicySource— Where the documents come from: IAM over HTTP, or a fake in a test.fingerprint— What makes two answers the same policy: the documents' content, scope-ordered.IamPolicySource— IAM over HTTP, with the runtime's token: the one source on Datalayer.ManagedPolicies— The documents in force for one Shield, pulled, cached untilexpires, fail closed.
agent_shield.tracing
The Shield over OTEL: one trace across the chain, counts under the account.
set_labels— The labels every count and span carries from now on:harness,deployment,usage_account_uid.labelsreset_instruments— Forget the counters, so a test's meter provider makes new ones.observe— One audit row as a span event on the current span and as counts.turn_span— One prompt as a span, a child of whatever is current (the face's request), or nothing without OTEL.turn_ended— How the turn stopped, on the currentshield.turnspan (shield.stop_reason); nothing without one.trace_headers— The current trace context as W3C headers, or nothing when there is none.with_traceparent—metawith the currenttraceparent(andtracestate) added when there is one andmetanames none.traceparent_of— Thetraceparenta_metacarries, when it carries one.continued— Continue the trace a caller handed in (its_meta.traceparent), when this process is not already on one.subject_of_token— Whom a token is minted for (itsuser,subor top-leveluid), read unverified;""if none.export_resource— The resource the exported telemetry carries: the service, the token's subject, the account it counts for.configure_export— Export spans and counts to Datalayer's observability aturlwithtoken;Falsewithout the SDK.refresh_export_token— A new bearer for the exporters already configured (a token exchanged again); how many took it.flush_export— Hand what is batched to the ingest now (at exit, or before a check).