Uses of Record Class
ai.badmonkey.agentspaces.common.id.AgentId
Packages that use AgentId
Package
Description
The framework-neutral agent binder: annotated plain objects become fleet
workers with automatic AgentCards (plan §10.3).
The advertisement family: typed, TTL-bearing discovery documents and their signed wrapper (spec §6).
Entry records and identifiers: the wrapper the space keeps around every written entry (spec §7.1).
The Space API: the leased tuple space, templates and matchers, handles, and events (spec §7).
Extension points implementations plug into: transports, conflict strategies, membership validators, capability providers, schema registries, peer samplers.
The aspace:cap/ordered-log capability: a Raft group over capability pipes,
backing the ORDERED strategy (spec §8).
The aspace:cap/vote capability: auditable QUORUM ballots as space entries and
approximate MAJORITY_GOSSIP preferences over push-sum (spec §8).
AgentSpaces identifiers: peer, agent, group, and space IDs, plus the
aspace:// URI scheme (spec §4).Layer 2 (spec §6): the signature-verifying, TTL-evicting advertisement cache
and local-first discovery with hop-budgeted remote queries.
Layer 0 (spec §4): peer identity with keystore persistence, PeerID derivation
from the Ed25519 public key, and advertisement signing.
Leased group membership with SWIM-style probing (spec §5.2).
The peer node and per-group runtimes: the assembly point of Layer 1 (spec §5).
Types shared by the local and replicated space implementations: the read
consistency hint (spec §7.2), the space lifecycle hooks (spec §7.5), and the
admission and read-only exceptions those hooks raise.
LocalSpace: the complete single-JVM Space implementation, plus the default schema registry.
The replicated space: the Space API over the delta-CRDT replica and gossip,
with LEASE_RACE take claims as a deterministic lattice (spec §7.3-§7.4).
Spring Boot autoconfiguration for AgentSpaces (spec §10.1): properties-driven
peer, group, and space wiring behind the fluent facade, with lifecycle-driven
ticking and annotation-driven bean enrollment.
Testing utilities for AgentSpaces modules and applications: a manually advanced
clock, the SimNetwork deterministic transport fabric with partition control, and
shared fixtures.
-
Uses of AgentId in ai.badmonkey.agentspaces.agent
Methods in ai.badmonkey.agentspaces.agent that return AgentIdModifier and TypeMethodDescriptionTakeContext.agent()Returns the value of theagentrecord component.AgentBinder.Bound.agentId()Returns the bound agent's id.Methods in ai.badmonkey.agentspaces.agent that return types with arguments of type AgentIdModifier and TypeMethodDescriptionReturns the writer agent id a space was registered with, if any.Methods in ai.badmonkey.agentspaces.agent with parameters of type AgentIdModifier and TypeMethodDescriptionAgentSpaces.GroupContext.revokeAgent(AgentId agent, String reason) Revokes an agent in this group (SPEC §6.1, v0.1.13): every key it holds, honoured when this peer is the founder or the agent's own peer.AgentSpaces.GroupContext.revokeAgentKey(AgentId agent, byte[] key, String reason) Revokes one key of an agent in this group (SPEC §6.1, v0.1.13).Registers a named space together with the agent id its local writes are attributed to (theagentNameaReplicatedSpacewas built with).intUnbinds every binding of one agent (SPEC §5.6, v0.1.13): its loops and subscriptions stop and its card is no longer refreshed, so it lapses by TTL.Constructors in ai.badmonkey.agentspaces.agent with parameters of type AgentIdModifierConstructorDescriptionTakeContext(TakenEntry<?> taken, Duration lease, AgentId agent, String spaceName) Validates the components. -
Uses of AgentId in ai.badmonkey.agentspaces.api.ad
Methods in ai.badmonkey.agentspaces.api.ad that return AgentIdModifier and TypeMethodDescriptionAgentCard.agent()Returns the value of theagentrecord component.CredentialRevocation.Target.agent()Returns the value of theagentrecord component.Methods in ai.badmonkey.agentspaces.api.ad with parameters of type AgentIdModifier and TypeMethodDescriptionstatic CredentialRevocation.TargetEvery key of an agent.static CredentialRevocation.TargetOne agent key, by the SHA-256 of its raw public key.Constructors in ai.badmonkey.agentspaces.api.ad with parameters of type AgentIdModifierConstructorDescriptionAgentCard(String id, PeerId issuer, GroupId group, Instant issued, Duration ttl, AgentId agent, String description, List<String> goals, List<String> consumes, List<String> produces, Map<String, String> costHints) The pre-v0.1.10 shape, with no space bindings.AgentCard(String id, PeerId issuer, GroupId group, Instant issued, Duration ttl, AgentId agent, String description, List<String> goals, List<String> consumes, List<String> produces, Map<String, String> costHints, Map<String, String> spaceBindings) The v0.1.10 shape: bindings, no agent key.AgentCard(String id, PeerId issuer, GroupId group, Instant issued, Duration ttl, AgentId agent, String description, List<String> goals, List<String> consumes, List<String> produces, Map<String, String> costHints, Map<String, String> spaceBindings, byte[] agentPublicKey) AgentCard(String id, PeerId issuer, GroupId group, Instant issued, Duration ttl, AgentId agent, String description, List<String> goals, List<String> consumes, List<String> produces, Map<String, String> costHints, Map<String, String> spaceBindings, byte[] agentPublicKey, List<CardAction> actions) AgentCard(String id, PeerId issuer, GroupId group, Instant issued, Duration ttl, AgentId agent, String description, List<String> goals, List<String> consumes, List<String> produces, Map<String, String> costHints, Map<String, String> spaceBindings, byte[] agentPublicKey, List<CardAction> actions, AgentCertificate agentCertificate) Creates an instance of aAgentCardrecord class.Target(String kind, AgentId agent, byte[] keyFingerprint, String x509Issuer, String x509Serial, byte[] certificateFingerprint, byte[] credentialHash) Creates an instance of aTargetrecord class. -
Uses of AgentId in ai.badmonkey.agentspaces.api.entry
Methods in ai.badmonkey.agentspaces.api.entry that return AgentIdModifier and TypeMethodDescriptionLeaseInfo.holder()Returns the value of theholderrecord component.EntryRecord.issuer()Returns the value of theissuerrecord component.Constructors in ai.badmonkey.agentspaces.api.entry with parameters of type AgentIdModifierConstructorDescriptionEntryRecord(EntryId entryId, SpaceId spaceId, String type, byte[] payload, String payloadRef, AgentId issuer, HlcTimestamp issued, LeaseInfo lease, Map<String, String> tags, byte[] sig) The v0.1.12 shape: no key epoch (unencrypted, or sealed under epoch 0).EntryRecord(EntryId entryId, SpaceId spaceId, String type, byte[] payload, String payloadRef, AgentId issuer, HlcTimestamp issued, LeaseInfo lease, Map<String, String> tags, byte[] sig, Long keyEpoch) Creates an instance of aEntryRecordrecord class.Creates an instance of aLeaseInforecord class. -
Uses of AgentId in ai.badmonkey.agentspaces.api.security
Methods in ai.badmonkey.agentspaces.api.security that return AgentIdModifier and TypeMethodDescriptionAgentCertificate.agent()Returns the value of theagentrecord component.Methods in ai.badmonkey.agentspaces.api.security with parameters of type AgentIdModifier and TypeMethodDescriptionbooleanWhether a newly arriving signature by an agent is refused: its peer is revoked, or the agent (or the key it signed with) is revoked and the revocation's freeze rule refuses this signing time.default booleanWhether an agent is revoked at all, at any time (its peer, the agent, or the given key): the test for acting now, such as serving it a key or counting its ballot.Constructors in ai.badmonkey.agentspaces.api.security with parameters of type AgentIdModifierConstructorDescriptionAgentCertificate(AgentId agent, byte[] agentPublicKey, Instant issued, Duration ttl, byte[] peerSignature) The v0.1.12 shape: no encryption key.AgentCertificate(AgentId agent, byte[] agentPublicKey, Instant issued, Duration ttl, byte[] peerSignature, byte[] encryptionPublicKey) Creates an instance of aAgentCertificaterecord class. -
Uses of AgentId in ai.badmonkey.agentspaces.api.space
Methods in ai.badmonkey.agentspaces.api.space that return AgentIdModifier and TypeMethodDescriptionSpaceEvent.actor()Returns the value of theactorrecord component.Space.Entry.issuer()The entry's authenticated writer.Space.Issued.issuer()Returns the value of theissuerrecord component.SpaceEvent.issuer()Returns the value of theissuerrecord component.Methods in ai.badmonkey.agentspaces.api.space that return types with arguments of type AgentIdModifier and TypeMethodDescriptionSpace.writer()The agent this handle attributes its writes to, when the implementation knows it.Constructors in ai.badmonkey.agentspaces.api.space with parameters of type AgentIdModifierConstructorDescriptionPeer-asserted attribution: the pre-subordinate-key shape, still the default.Issued(T entry, AgentId issuer, Space.Attestation attestation) Creates an instance of aIssuedrecord class.SpaceEvent(SpaceEvent.Kind kind, EntryId entryId, T entry, AgentId issuer) An event whose actor is the entry's issuer: every kind but a completion, which names the claim holder that completed the entry as its actor (SPEC §11a.4, v0.1.13).SpaceEvent(SpaceEvent.Kind kind, EntryId entryId, T entry, AgentId issuer, AgentId actor) An event with an explicit actor (nullmeaning the issuer) and no metadata view.SpaceEvent(SpaceEvent.Kind kind, EntryId entryId, T entry, AgentId issuer, AgentId actor, Space.Entry<T> details) Creates an instance of aSpaceEventrecord class. -
Uses of AgentId in ai.badmonkey.agentspaces.api.spi
Methods in ai.badmonkey.agentspaces.api.spi that return AgentIdMethods in ai.badmonkey.agentspaces.api.spi with parameters of type AgentIdModifier and TypeMethodDescriptionConflictStrategy.claim(EntryRecord entry, AgentId claimant, Lease takeLease) Claims an exclusive take on an entry.default booleanAuthorizer.permits(AgentId agent, Authorizer.Operation operation, String scope) Whether an agent may perform an operation in a scope. -
Uses of AgentId in ai.badmonkey.agentspaces.capabilities.keywrap
Method parameters in ai.badmonkey.agentspaces.capabilities.keywrap with type arguments of type AgentIdModifier and TypeMethodDescriptionGroupKeyDistributor.agentsAllowed(Predicate<AgentId> agentsAllowed) Sets which agents asking for themselves are served (default: agents of an allowed peer, or the authorizer's per-agent KEY_HOLDER).GroupKeyDistributor.refuseAgents(Predicate<AgentId> refused) Sets the agents never served, whatever the policy: the group's revoked agents and agent keys (SPEC §5.6, v0.1.13). -
Uses of AgentId in ai.badmonkey.agentspaces.capabilities.orderedlog
Methods in ai.badmonkey.agentspaces.capabilities.orderedlog that return AgentId -
Uses of AgentId in ai.badmonkey.agentspaces.capabilities.vote
Fields in ai.badmonkey.agentspaces.capabilities.vote with type parameters of type AgentIdModifier and TypeFieldDescriptionVoteCapability.ANY_AUTHENTICATED_ISSUERThe default electorate: every authenticated ballot issuer counts.Methods in ai.badmonkey.agentspaces.capabilities.vote that return AgentIdMethods in ai.badmonkey.agentspaces.capabilities.vote that return types with arguments of type AgentIdMethods in ai.badmonkey.agentspaces.capabilities.vote with parameters of type AgentIdModifier and TypeMethodDescriptionThe same capability voting as another agent of this peer, over that agent's view of the vote space (QA4 A4-7 phase 3): electorate, authorizer, and clock are shared; only who signs and who is named as voter differ.Constructors in ai.badmonkey.agentspaces.capabilities.vote with parameters of type AgentIdModifierConstructorDescriptionVoteCapability(Space voteSpace, AgentId self, PeerId selfPeer, InstantSource clock) Creates the capability over a vote space with the default electorate (every authenticated issuer counts).VoteCapability(Space voteSpace, AgentId self, PeerId selfPeer, InstantSource clock, DiscoveryService discovery) Creates the capability whose electorate is the group's members with fresh AgentCards (spec §8 QUORUM).VoteCapability(Space voteSpace, AgentId self, PeerId selfPeer, InstantSource clock, Predicate<AgentId> electorate) Creates the capability with an explicit electorate: only ballots whose authenticated issuer passes the predicate count toward the tally and the quorum.VoteCapability(Space voteSpace, AgentId self, PeerId selfPeer, InstantSource clock, Predicate<AgentId> electorate, Authorizer authorizer) Creates the capability whose electorate is narrowed further by anAuthorizer(gate2-review G2-3): a ballot counts only when its authenticated issuer passes the electorate andpermits(issuer.peer(), VOTE, voteSpace.name()), and this agent refuses to cast a ballot the same check would discard.Constructor parameters in ai.badmonkey.agentspaces.capabilities.vote with type arguments of type AgentIdModifierConstructorDescriptionVoteCapability(Space voteSpace, AgentId self, PeerId selfPeer, InstantSource clock, Predicate<AgentId> electorate) Creates the capability with an explicit electorate: only ballots whose authenticated issuer passes the predicate count toward the tally and the quorum.VoteCapability(Space voteSpace, AgentId self, PeerId selfPeer, InstantSource clock, Predicate<AgentId> electorate, Authorizer authorizer) Creates the capability whose electorate is narrowed further by anAuthorizer(gate2-review G2-3): a ballot counts only when its authenticated issuer passes the electorate andpermits(issuer.peer(), VOTE, voteSpace.name()), and this agent refuses to cast a ballot the same check would discard. -
Uses of AgentId in ai.badmonkey.agentspaces.common.id
Methods in ai.badmonkey.agentspaces.common.id that return AgentId -
Uses of AgentId in ai.badmonkey.agentspaces.discovery
Methods in ai.badmonkey.agentspaces.discovery with parameters of type AgentIdModifier and TypeMethodDescriptionintAdCache.purgeAgent(AgentId agent) Removes every cached card of an agent, as its revocation is accepted. -
Uses of AgentId in ai.badmonkey.agentspaces.identity
Methods in ai.badmonkey.agentspaces.identity that return AgentIdModifier and TypeMethodDescriptionNames a logical agent hosted by this peer.Methods in ai.badmonkey.agentspaces.identity with parameters of type AgentIdModifier and TypeMethodDescriptionbooleanAgentCertificates.verify(AgentCertificate certificate, byte[] peerRawKey, AgentId expected, Instant now) Verifies a certificate against the peer key offered with it.booleanAgentCertificates.verifyAt(AgentCertificate certificate, byte[] peerRawKey, AgentId expected, Instant signingTime, Instant receiverNow) Verifies a certificate for a signature made atsigningTime(SPEC §4.2, v0.1.13): every check ofAgentCertificates.verify(AgentCertificate, byte[], AgentId, Instant), except that the validity window must contain the signing time rather than the receiver's now, and the signing time may lead the receiver's clock by at most the bounded HLC drift. -
Uses of AgentId in ai.badmonkey.agentspaces.peering.membership
Methods in ai.badmonkey.agentspaces.peering.membership with parameters of type AgentIdModifier and TypeMethodDescriptionbooleanGroupScopedAuthorizer.permits(AgentId agent, Authorizer.Operation operation, String scope) booleanMembershipAuthorizer.permits(AgentId agent, Authorizer.Operation operation, String scope) booleanWhether a new signature by an agent is refused under its agent-wide or (given the key) key revocation and the freeze rule. -
Uses of AgentId in ai.badmonkey.agentspaces.peering.node
Methods in ai.badmonkey.agentspaces.peering.node with parameters of type AgentIdModifier and TypeMethodDescriptionGroupRuntime.revokeAgent(AgentId agent, String reason) Revokes an agent, every key it holds (SPEC §6.1, v0.1.13).GroupRuntime.revokeAgentKey(AgentId agent, byte[] key, String reason) Revokes one key of an agent (SPEC §6.1, v0.1.13): signatures by other keys of the agent, such as a renewed one, still verify. -
Uses of AgentId in ai.badmonkey.agentspaces.space
Methods in ai.badmonkey.agentspaces.space that return AgentIdModifier and TypeMethodDescriptionEntryView.issuer()Returns the value of theissuerrecord component.Constructors in ai.badmonkey.agentspaces.space with parameters of type AgentIdModifierConstructorDescriptionEntryView(T value, EntryId entryId, AgentId issuer, Space.Attestation attestation, Map<String, String> tags, LeaseInfo lease, HlcTimestamp issued) Creates an instance of aEntryViewrecord class. -
Uses of AgentId in ai.badmonkey.agentspaces.space.local
Methods in ai.badmonkey.agentspaces.space.local that return types with arguments of type AgentIdMethods in ai.badmonkey.agentspaces.space.local with parameters of type AgentId -
Uses of AgentId in ai.badmonkey.agentspaces.space.replicated
Methods in ai.badmonkey.agentspaces.space.replicated that return AgentIdModifier and TypeMethodDescriptionSpaceCredential.agent()Returns the value of theagentrecord component.TakeClaim.holder()Returns the value of theholderrecord component.Methods in ai.badmonkey.agentspaces.space.replicated that return types with arguments of type AgentIdModifier and TypeMethodDescriptionSpaceAdmission.AllowlistAdmission.agents()The admitted agents.ReplicatedSpace.allowedAgents()Returns the agents admitted underALLOWLIST; empty under every other rule.ReplicatedSpace.writer()Methods in ai.badmonkey.agentspaces.space.replicated with parameters of type AgentIdModifier and TypeMethodDescriptionbooleanCredentialIndex.admits(AgentId agent, SpaceAdmission.Scope scope, long nowMillis) Whether a live credential admits the agent for the scope.booleanSpaceAdmission.admits(AgentId agent, SpaceAdmission.Scope scope, long nowMillis) Whether the agent may perform the scope now.booleanSpaceAdmission.AllowlistAdmission.admits(AgentId agent, SpaceAdmission.Scope scope, long nowMillis) booleanSpaceAdmission.AuthorizerAdmission.admits(AgentId agent, SpaceAdmission.Scope scope, long nowMillis) booleanSpaceAdmission.CredentialAdmission.admits(AgentId agent, SpaceAdmission.Scope scope, long nowMillis) booleanSpaceAdmission.GroupAdmission.admits(AgentId agent, SpaceAdmission.Scope scope, long nowMillis) CredentialIndex.entriesFor(AgentId agent, long nowMillis) The ids of the live credential entries naming an agent, for revocation.ReplicatedSpace.grant(AgentId agent, Set<SpaceAdmission.Scope> scopes, Duration validity) Issues a space credential (spec §7.5): writes aSpaceCredentialentry admittingagentforscopes, with a write lease ofvaliditythat is the credential's expiry.voidWithdraws every live credential this replica holds for an agent (spec §7.5) by cancelling the credential entries.Method parameters in ai.badmonkey.agentspaces.space.replicated with type arguments of type AgentIdModifier and TypeMethodDescriptionReplicatedSpace.Builder.admission(SpaceAdvertisement.Admission admission, Set<AgentId> allowed) Sets the space's admission rule by name (spec §7.5), delegating toReplicatedSpace.Builder.admission(SpaceAdmission).static SpaceAdmissionOnly the listed agents may write, take, and complete: today'sALLOWLIST.Constructors in ai.badmonkey.agentspaces.space.replicated with parameters of type AgentIdModifierConstructorDescriptionSpaceCredential(AgentId agent, Set<SpaceAdmission.Scope> scopes) Creates an instance of aSpaceCredentialrecord class.TakeClaim(EntryId entryId, SpaceId spaceId, long epoch, HlcTimestamp stamp, AgentId holder, double bid, long expiresAtMillis) Creates an instance of aTakeClaimrecord class. -
Uses of AgentId in ai.badmonkey.agentspaces.spring
Methods in ai.badmonkey.agentspaces.spring that return types with arguments of type AgentIdModifier and TypeMethodDescriptionAuthorizers.agentGrants()The explicit per-agent grants in force (QA4 A4-7 phase 2); an operation present here is answered at AGENT granularity. -
Uses of AgentId in ai.badmonkey.agentspaces.test
Methods in ai.badmonkey.agentspaces.test that return AgentId