Security / Resilience / Autonomous Systems

Supporting Confidential Work and Persistent Memory in RogueSwarms Without Losing Provenance

Report summary

RogueSwarms is currently a public coordination protocol, not a confidential-work system . Its participation guide is unusually explicit on this point: run objectives, results, events, and evidence references are public; users are told not to upload trade secrets, credentials, personal data, private

Status
Research archive item
Category
Security / Resilience / Autonomous Systems
Length
5,805 words
Reading time
27 minutes
Report type
evaluation

Key topics

  • Security / Resilience / Autonomous Systems
  • Security
  • Resilience
  • Autonomous Systems
  • AI
  • AI Memory
  • Privacy
  • Semantic Systems
  • Research Archive

Research provenance

Archive status
Research archive item
Content identity
sha256:0ded06ab261196e7d0c592e82f7c0f70f13ee2f6c2ddf4d793c0aae556419608

For citation, use the report title and canonical URL. Archival presence does not establish authorship or promote report statements into portfolio evidence.

Source availability: 44 citation markers in the source export have no recoverable source links. Those markers are omitted from this reader; any supplied bibliography and ordinary links remain. Check the original sources before relying on the cited claims.

This page renders the archived Markdown as safe, formatted HTML. It is background research and does not become a portfolio claim without evidence review.

Full report

On this page

Executive assessment

RogueSwarms is currently a public coordination protocol, not a confidential-work system. Its participation guide is unusually explicit on this point: run objectives, results, events, and evidence references are public; users are told not to upload trade secrets, credentials, personal data, private quotes, or token-bearing evidence URLs. Workers execute on their own infrastructure, and RogueSwarms does not fetch the evidence that verifiers evaluate. The current OpenAPI contract reinforces the boundary: a swarm run creates a public objective and immutable task contracts, run state and accounting are publicly readable, and events are append-only, hash-chained, and have no API operation for rewriting or deleting history.

Accordingly, everything below should be treated as a proposed private-work extension rather than a description of an existing RogueSwarms capability.

The central architectural recommendation is to preserve RogueSwarms' useful public accountability layer while making confidential content a separate, capability-protected data plane:

Public coordination should prove that bounded work happened, who cryptographically participated, which policy governed it, and whether a designated verifier accepted it. It should not reveal the confidential objective, result, evidence, memory, or deterministic fingerprints from which those facts can be guessed.

This separation is especially important because RogueSwarms' independent-agent model deliberately leaves execution with agent operators. Current documentation says agents keep their execution and infrastructure, while profiles are self-asserted; even different registered agent IDs do not prove different operators. Its key-possession mechanism similarly proves possession of a published key but does not upgrade the registration's self-asserted trust level. A private extension therefore cannot equate "encrypted transport to agent X" with "data remains confidential forever." Once an independently operated agent has legitimately decrypted an artifact on general-purpose infrastructure, the platform can subsequently prove grants, revocations, requests, signatures, and attestations, but generally cannot prove that every plaintext copy, screenshot, log, model cache, or operator-created derivative was erased.

The proposed architecture consequently uses five principles.

First, authority is artifact-, purpose-, purchaser-, and time-scoped, rather than inherited from participation in a run. This follows the zero-trust principle that network location or ownership does not establish trust and that authorization should occur before access to each protected resource.

Second, provenance is a first-class graph, not free-text annotation. W3C PROV's core abstraction—entities, activities, and agents involved in producing something—is a suitable conceptual basis because it is expressly intended to support judgments about quality, reliability, and trustworthiness.

Third, memory is not merely "saved text." Semantic facts, task episodes, reusable procedures, and working state receive different retention, promotion, retrieval, and deletion rules.

Fourth, public receipts are content-sparse. RogueSwarms' existing append-only event design is useful for accountability, but private content should never enter that append-only public history in the first place.

Fifth, deletion is lineage-aware invalidation plus sanitization, not merely deleting one database row. NIST's current media-sanitization guidance defines sanitization in terms of making access to target data infeasible for an appropriate level of effort and specifically encompasses approaches such as cryptographic erasure. That standard is relevant to platform-controlled storage, but it cannot by itself establish deletion on an independently operated agent's infrastructure.

I could not independently locate a publicly accessible document under the exact title “AI Memory Behavioral Drift Study.” I therefore use the four memory categories specified in the prompt—semantic, episodic, procedural, and working—as the required taxonomy, and ground the architecture in primary memory research and recent primary agent-memory papers. Tulving's work distinguishes episodic recollection of past experiences from other memory systems, while recent agent-memory research explicitly explores semantic, episodic, procedural, and working-state structures, provenance graphs, auditing, and pruning.

Data classification and trust boundary

The private extension should make classification structural. A field should not become public merely because it happens to be inside a result object. Conversely, public discovery information should not need confidential-storage controls. The most important change from the current protocol is therefore to split the existing public swarm contract into a public envelope and a private contract payload. Today the API describes swarm creation as creating public objectives and immutable task contracts; this proposal changes that model only for an explicitly selected private-work protocol version.

ClassProposed contentsNormal visibilityPersistence and memory rule
D0 — Public discoveryAgent ID, capabilities, supported protocols, broad markets, indicative pricing, appropriately aggregated performanceInternet-publicDurable while registration is active; never copy confidential task-derived facts into it
D1 — Public contract envelopeRandom run/task IDs, capability class, coarse market if safe, public policy/version, worker/verifier binding or privacy-preserving pseudonymsInternet-publicAppend-only or durable; deliberately contains no objective text, source names, filenames, evidence URLs, sensitive amounts, or customer identity
D2 — Confidential contract metadataActual objective, detailed task specification, purchaser organization, deadlines when sensitive, private price/budget, legal-purpose labels, retention instructionsPurchaser plus explicitly bound worker/verifier as necessaryEncrypted; no public index; memory only according to purpose and retention policy
D3 — Private task inputsDocuments, customer data, quotations, source datasets, messages, proprietary requirementsTask-scoped authorized participantsEncrypted; provenance tracked; default no cross-purchaser persistence
D4 — Private evidence and resultsEvidence excerpts, screenshots, analysis, invoices, private URLs, full result, verification workpapersWorker/purchaser/verifier according to roleEncrypted and separately grantable; evidence may have stricter access than result
D5 — Governed private memoryRetained semantic facts, episodes, approved procedures and their provenanceExplicit purchaser/audience namespace onlyPersistent only after a memory-write policy decision; never globally searchable by default
D6 — Secrets and bearer authorityAPI keys, passwords, cookies, bearer tokens, signing keys, one-time URLsExact execution principal onlyNot memory-eligible; inject just in time from a secret service, short TTL, never place in evidence or receipts
D7 — Public completion receiptOpaque identifiers, state transitions, policy version, cryptographic participants, verifier outcome, privacy-safe commitment, deletion/tombstone statusInternet-publicMinimal durable accountability record

This preserves RogueSwarms' current strength—discoverability based on capabilities, markets, pricing, and task history—without making the business context discoverable. Current RogueSwarms already distinguishes agent discovery from execution: purchasers search capabilities and agents execute on their own infrastructure. The private extension should preserve that architectural separation rather than adding a "private=true" flag to today's public result object.

A further distinction is important inside D3/D4: content sensitivity and execution authority are separate labels. A supplier quotation might be confidential but non-secret; an API token is both sensitive content and executable authority. D6 objects therefore should never flow through the general artifact or memory subsystem. RogueSwarms already warns against publishing credentials and token-bearing URLs; the private design should elevate that warning into a schema prohibition.

The public envelope should reveal only what is actually needed for discovery and protocol accountability. For example, publishing an exact contract amount, precise timestamp, niche capability, purchaser-linked agent IDs, and artifact size can jointly re-identify a supposedly hidden engagement even when objective text is absent. Private mode should therefore support coarse or delayed public metadata and, where business relationships themselves are confidential, per-run pseudonymous participation keys linked to the registered agent by a selectively disclosable signed statement. Because RogueSwarms currently describes profiles as self-asserted, such cryptographic linkage should be described accurately as proof of control/continuity, not proof of a person's or corporation's legal identity.

The fundamental access decision should be:

allow = current_identity ∩ current_grant ∩ task_contract ∩ artifact_policy ∩ purpose ∩ time ∩ purchaser_namespace ∩ current_key_epoch

Every term must pass. A historical grant or old task association is insufficient.

A proposed artifact record could look conceptually like this:

{
  "artifact_id": "art_random_...",
  "purchaser_namespace": "tenant_random_...",
  "run_id": "sw_...",
  "task_id": "task_...",
  "classification": "D4_PRIVATE_EVIDENCE",
  "origin": {
    "created_by_agent": "rs_...",
    "operator_assertion": "opaque-or-verified-reference",
    "created_at": "2026-09-28T18:30:00Z",
    "source_artifact_ids": ["art_..."],
    "source_anchors": ["page:4#paragraph:7"]
  },
  "verification": {
    "status": "corroborated",
    "verified_by": ["rs_..."],
    "method": "document_comparison",
    "verified_at": "..."
  },
  "authorization": {
    "audiences": ["purchaser", "worker:rs_...", "verifier:rs_..."],
    "actions": ["retrieve", "decrypt", "derive"],
    "purpose": ["task:task_..."],
    "not_before": "...",
    "expires_at": "...",
    "delegation_depth": 0
  },
  "retention": {
    "retain_until": "...",
    "legal_hold": false,
    "deletion_dependency": "cascade-derived"
  },
  "crypto": {
    "key_epoch": 7,
    "ciphertext_ref": "opaque://...",
    "commitment_scheme": "randomized-v1"
  }
}

The provenance fields are intentionally more structured than a single source string. W3C's provenance model is useful here precisely because provenance is about relationships among the data entity, the transformation activity, and the responsible agent, rather than merely storing a citation beside a final statement.

Access control and private-workflow alternatives

RogueSwarms should not choose one confidential-storage architecture for every purchaser. Three modes offer materially different trust boundaries.

ArchitectureWho stores ciphertextWho can normally decryptRogueSwarms can retrieve plaintext?Revocation strengthMain advantageMain cost/risk
Operator-hosted artifact storePurchaser/operator-controlled storePurchaser and specifically delegated worker/verifierNo, if client-side encrypted and Rogue receives only opaque referencesStrong for future retrieval; cannot retract prior plaintextMinimum platform custody; easiest fit for regulated enterprises with existing storesIntegration complexity; purchaser must manage grants, keys, logs and verifier access
End-to-end encrypted shared workspaceRogueSwarms or neutral blob service may hold ciphertextHolders of recipient private keys/granted data keysNo, if platform never has decryption keysStrong for future access through key rotation; historical plaintext remains uncontrollableBest balance between collaboration and platform confidentialityKey lifecycle/recovery, recipient management and metadata leakage
Platform-managed private storageRogueSwarms-managed storageAuthorized participants; platform services may technically decrypt depending on KMS architecturePotentially yesStrong inside platform boundary; still cannot erase exported copiesLowest user friction; integrated search, provenance, deletion and auditRogueSwarms becomes a much more significant data custodian/processor and breach target

Operator-hosted storage is the safest first private extension. The public/private protocol can pass an opaque artifact_handle that resolves only after the recipient authenticates to the purchaser's store. Crucially, the handle itself must not be a bearer token. Current RogueSwarms guidance already warns against evidence URLs containing access tokens; private mode should instead use non-secret resource identifiers plus short-lived authorization obtained out of band. The worker and verifier should get different grants, so a verifier who merely needs to inspect evidence is not automatically authorized to retrieve all task inputs.

An end-to-end encrypted workspace can make collaboration easier without handing RogueSwarms plaintext. Each artifact can be encrypted under a fresh symmetric data-encryption key; that key is then wrapped separately to authorized recipients. HPKE is one standardized building block for encrypting arbitrary plaintext to a recipient's public key and combines public-key key management with symmetric authenticated encryption. A practical design would maintain a key epoch per task or workspace so that revocation changes the key used for future artifacts rather than pretending to revoke plaintext already decrypted under an old key.

RogueSwarms' existing use of exact-body signatures gives it a useful starting point for signed grants and receipts. RFC 9421 defines detached signatures/MACs over meaningful HTTP-message components and is designed to preserve end-to-end integrity/authenticity across HTTP intermediaries. RogueSwarms already employs an RFC 9421-based profile for parts of its lifecycle and explicitly describes key-possession proof as limited in scope. The same disciplined scope should apply to private-work signatures: a signature should say exactly what was authorized, for which artifact, purpose, actions, and time interval, rather than representing generic trust in an agent.

Platform-managed private storage should come last, not first. It creates the cleanest UX and can provide centralized deletion, region controls, encrypted indexes, audit logs and retention enforcement, but it also moves the platform from coordinating public contracts into custody of potentially personal, regulated, or trade-secret information. Access controls should therefore follow resource-centric, continuously evaluated authorization rather than assuming that membership in a run or access to an internal network is sufficient. That recommendation is consistent with NIST's zero-trust model.

Across all three architectures, an authorization object should minimally carry:

grant_id
issuer
subject agent and, where known, operator
purchaser_namespace
resource/artifact scope
permitted actions: retrieve | decrypt | derive | verify | share | publish
purpose
not_before / expires_at
max_uses where appropriate
delegation_depth
key_epoch
policy_version
revocation_epoch
issuer signature

publish must be a separate permission, never implied by read, derive, verify, or submit. This single separation materially reduces the risk that an agent faithfully performing an internal task accidentally copies a private result into today's public result channel.

The same rule applies to sharing: a worker authorized to decrypt evidence for task X should not be able to provide that evidence to a second worker merely because both are RogueSwarms participants. Sharing is a new disclosure event that needs its own grant, purpose, audience, provenance edge, and audit event.

Finally, revocation semantics must be honest. Revocation can prevent a recipient from obtaining new ciphertext, new keys, future versions, or platform-hosted copies. It cannot make the recipient "unknow" plaintext already delivered. That limitation is particularly important here because current RogueSwarms agents execute on independently controlled infrastructure.

Provenance-preserving memory lifecycle

Persistent agent memory introduces a larger confidentiality risk than the original artifact store because it can transform a task-specific fact into a reusable assumption that later appears in unrelated work. Recent agent-memory research describes precisely this challenge: persistent stores accumulate conflicting or stale knowledge and require management, search, consolidation and pruning; other 2026 work proposes provenance-linked memory transfer and explicit semantic, episodic, procedural and working-state structures.

For RogueSwarms, the useful distinction is:

Memory typeRogueSwarms interpretationDefault lifetimeMain confidentiality/drift control
SemanticRetained facts: “Supplier A's certification expires on date X”Until validity/retention expirySource references, fact-level audience, validity interval, contradiction tracking
EpisodicWhat happened during a specific engagementTask/run retention periodPurchaser namespace, episode IDs, no cross-purchaser retrieval
ProceduralReusable methods, policies or skills: “How to validate this document class”Long-lived only after promotionFormal promotion/review; remove task-specific literals; regression tests and policy version
WorkingCurrent context, scratch state, intermediate plans, temporary exceptionsSession/task TTLNonpersistent by default; forced expiry and no automatic promotion

Episodic and semantic memory should not be conflated. Episodic memory is classically associated with recollection of past experiences, while semantic memory concerns generalized retained knowledge; agent-memory systems increasingly operationalize analogous distinctions for long-horizon work.

Every retained memory fact should therefore have a record more like this:

{
  "memory_id": "mem_...",
  "memory_type": "semantic",
  "statement": "Supplier S certification valid through 2026-12-31",
  "purchaser_namespace": "tenant_...",
  "origin": {
    "source_artifacts": ["art_123"],
    "anchors": ["page:2#line:18-24"],
    "derivation_activity": "extract_fact_v4",
    "originating_task": "task_..."
  },
  "verification": {
    "status": "verified",
    "verified_by": ["rs_verifier_..."],
    "method": "source-document-match"
  },
  "authorization": {
    "audiences": ["purchaser:tenant_..."],
    "purposes": ["supplier-compliance"],
    "shareable": false
  },
  "validity": {
    "observed_at": "...",
    "valid_from": "...",
    "valid_until": "2026-12-31T23:59:59Z",
    "recheck_after": "..."
  },
  "governance": {
    "retention_until": "...",
    "promotion_state": "not_applicable",
    "policy_version": "memory-policy-3",
    "deletion_behavior": "invalidate_on_source_delete"
  },
  "derivatives": {
    "embedding_ids": ["vec_..."],
    "summary_ids": ["sum_..."],
    "skill_ids": []
  }
}

The lifecycle should then operate as follows.

Write. Before persistence, classify the proposed memory, attach source provenance, check purchaser and purpose, assign temporal validity, scan for secrets/private identifiers, and determine whether persistence is necessary at all. A model's convenient recollection is not a sufficient reason to retain data. Facts without resolvable origin should be labeled unverified rather than silently becoming knowledge.

Store. Tenant isolation applies to blobs, relational records, vectors, caches and backups, not only to the UI. Private embeddings for purchaser A must not share an unrestricted global nearest-neighbor index with purchaser B. Encryption keys and index namespaces should follow the same audience boundary as the source artifact. Resource-focused access control rather than infrastructure location is consistent with zero-trust guidance.

Retrieve. Authorization filtering must occur before retrieval candidates enter model context, not after a global semantic search. Otherwise an unauthorized item can affect ranking, summaries or model behavior even if its text is later hidden. Retrieval must also evaluate valid_until, revocation epoch, source deletion state, current purpose, verification status and contradictory newer memories. Recent memory work's emphasis on auditable retrieval and provenance is directly relevant here.

Execute. The agent receives a frozen policy/authority snapshot for the current task and only the minimum authorized memory context. Every material output receives derivation edges back to the exact memories and artifacts that affected it. This makes later contamination rollback possible.

Share. Re-sharing a remembered fact is a disclosure action, not a free consequence of successful retrieval. Before transfer, re-evaluate the audience, purpose and classification and create a provenance edge to the new recipient. Public publication is a still stronger action and should require an explicit export gate.

Forget. Forgetting traverses the derivation graph, invalidates active retrieval entries, destroys or retires keys where applicable, marks dependent artifacts for regeneration/quarantine, and records a content-free deletion receipt. Platform-controlled media can use sanitization mechanisms such as cryptographic erase where suitable; NIST emphasizes selecting sanitization based on sensitivity and media characteristics.

The most important anti-drift rule is that a task exception may not become procedural memory by implication. Consider:

“For this task only, permit a 6% quotation tolerance until October 1.”

That belongs in working/task-scoped state with non_precedential=true, explicit expiry and the task ID. A later memory summarizer must not transform it into “6% tolerance is allowed.”

Promotion from task experience to durable procedural memory should instead require a distinct transaction:

candidate procedure
→ remove purchaser-specific/private literals
→ link all supporting episodes
→ identify policy owner
→ validate against current authoritative policy
→ regression-test against counterexamples
→ approve/sign
→ assign version and validity
→ publish into procedural namespace

This recommendation is reinforced by an interesting precedent already present in RogueSwarms itself: its collection-replacement work explicitly distinguishes fresh asserted intent from recovered provenance and states that profile withdrawal changes future claims without silently rewriting existing claimant authority or agreed compensation. Private memory needs the same discipline: new state is not evidence of old state, and local exceptions do not rewrite the governing rule.

Deletion, rollback, and durable accountability

Deleting an original confidential document must trigger more than a blob deletion. Because derived memories can retain or reconstruct its content, the relevant unit of deletion is the provenance closure: the source plus descendants materially dependent on it.

The recommended behavior is:

Derived objectEffect when sole/critical source is deleted
Original blob/chunksDelete and, where applicable, cryptographically erase its data key; tombstone ID remains
Semantic factsInvalidate; delete when retention/legal basis does not permit continued use; remove from retrieval immediately
Episodic memoryRemove source-derived content or delete episode; preserve only content-free audit event where justified
Summary derived solely from sourceDelete
Mixed-source summaryMark tainted; quarantine; regenerate only from surviving authorized sources
EmbeddingsRemove vectors, chunks, reverse indexes and caches associated with deleted source; rebuild/compact indexes where needed
Working/planning stateImmediately invalidate caches; hard TTL remains a backstop
Procedural skillQuarantine if its logic or literals materially depend on deleted confidential content; rederive/revalidate from surviving authorized sources before reuse
Downstream deliverableEvaluate separately under applicable contract/law; either cascade deletion or freeze as retained-for-specified-purpose and exclude from active memory
Public receiptKeep only the minimal non-content receipt; append a deletion/tombstone event rather than rewriting history

A mixed summary is the subtle case. Suppose the system has:

“Acme allows 6% quote tolerance; Beta requires three competing bids.”

Deleting Acme's source cannot be implemented by merely erasing the source file and leaving the summary untouched. The summary itself now embodies information from the deleted source. It should be quarantined, lineage-inspected, and regenerated from the Beta source alone. The same principle applies to embeddings: deleting the human-readable document while leaving vectors derived from its chunks available for retrieval does not achieve meaningful forgetting.

Procedural memory requires case-by-case reasoning. A generic skill such as “compare invoice total against line items” need not necessarily disappear merely because one invoice used during development is deleted, provided the surviving skill does not encode private facts and can be independently justified and revalidated without the deleted data. By contrast, a procedure learned from a purchaser's confidential policy—“Acme approvals above $38,500 go to Jane Doe”—is itself a derivative of confidential content and should be deleted or quarantined when that source loses authority.

Rollback should be graph-based rather than manual editing:

bad source → descendant memories → affected summaries → vector entries → cached plans → promoted skills → produced outputs

All descendants enter quarantined or revalidation_required; the active memory graph returns to the last clean version; retrieval indexes are rebuilt or invalidated; procedural regression tests rerun. W3C PROV's entity/activity/agent graph provides a natural conceptual structure for representing this lineage.

This design resolves the apparent conflict between append-only accountability and erasable confidential content by storing different things in different systems. RogueSwarms currently exposes append-only, hash-chained public run events with no API deletion operation. Private mode should preserve that style only for a sanitized receipt stream. Confidential content and its recoverable derivatives belong in deletable stores.

A minimal durable receipt should normally contain:

Receipt elementWhy retain it
Random receipt/run/task IDCorrelate protocol events without exposing content
Public policy/protocol versionEstablish which rules governed the work
Cryptographic participant identifiers or per-run pseudonymsEstablish which keys signed actions
Coarsened timestamps/state transitionsEstablish ordering and completion
Verifier outcomeEstablish the designated verifier's attestation
verification_scopePrevent “verified” from being interpreted more broadly than what was actually checked
Privacy-preserving result commitmentBind later-disclosed evidence to the original result
Receipt/signature algorithm and key referenceEnable future verification
Deletion/tombstone eventEstablish that platform-controlled private material was subject to deletion action
External-deletion statusDistinguish request, attestation and genuine platform-verifiable deletion

It should not contain the objective, result text, private evidence identifier, token URL, filename, customer name, detailed artifact size, predictable secret value, or a deterministic hash of a low-entropy confidential fact.

That final issue deserves special emphasis. Suppose the confidential result is one of four possible acquisition outcomes. Publishing:

SHA256("Supplier B won")

does not meaningfully conceal the fact: an observer can hash the four candidate strings and compare the results. The hash is collision-resistant, but the underlying secret has little entropy. Adding a public salt changes each digest but does not prevent the same enumeration once the salt is known.

For private receipts, a better commitment is conceptually:

H(domain_separator || 128+ bit random nonce || canonical_private_manifest)

with the nonce retained only by authorized parties until an audit/dispute, or a keyed MAC whose key remains confidential. HMAC is specifically a hash-based message-authentication construction using a secret shared key. The trade-off must be explicit: a commitment that hides a low-entropy value cannot simultaneously allow arbitrary public observers to test every possible plaintext immediately. Selective later opening is often the correct confidentiality/accountability balance.

Signatures then authenticate the receipt or commitment but do not add secrecy. RFC 9421 similarly treats signatures/MACs as integrity/authenticity mechanisms, not confidentiality mechanisms.

Verification claims should use precise states:

not_requested → requested → submitted → platform_verified → recipient_attested → externally_unverifiable

For deletion on RogueSwarms-owned storage, platform_verified can mean the service performed its documented storage/key deletion workflow. For an independently operated worker that previously received plaintext, the strongest ordinary result is usually recipient_attested, perhaps supplemented by contractual audit evidence. It should not become platform_verified merely because the remote agent returned {"deleted": true}.

This is not just semantic caution. RogueSwarms' model expressly places execution on the agents' own infrastructure. NIST's sanitization guidance can define and support deletion controls for media one actually controls, but it does not confer visibility into arbitrary third-party machines. Confidential-compute/TEE deployments could improve evidence about what software handled data, but even then a deletion claim depends on the attested architecture, egress controls, key handling, logging and the possibility of prior authorized export; it should not be marketed as magic proof that no copy ever escaped.

Synthetic validation, operating metrics, and staged migration

A private system should be launched against adversarial tests, not merely architecture diagrams. I constructed a simple reference-policy simulation using synthetic tenants, artifact classifications, grant expiry/revocation and public-export rules. It is deliberately not a test of the live RogueSwarms service; it tests the proposed authorization invariants.

The synthetic secret for purchaser ACME was "Project ORCHID — bid ceiling $7.43". Purchaser BETA used an unrelated namespace. A task-only exception expired before later work. A mixed summary contained material from both purchasers. A verifier grant was revoked. Public-output fixtures contained either the ORCHID canary or a synthetic token=... URL.

TestSynthetic attemptsReference-policy resultProduction pass condition
Cross-purchaser leakage200 BETA retrieval attempts against ACME artifact0 leaksZero unauthorized retrievals and zero canary appearance in model context/output
Stale authority100 accesses using expired task grant0 acceptedAll accesses fail before retrieval; expired exception absent from procedural memory
Summary contamination50 tainted source-derived summaries0 quarantine missesEvery descendant is quarantined or rederived before subsequent retrieval
Revoked access100 retrieval attempts after grant revocation0 acceptedFuture retrieval/decryption fails; separately record inability to prove destruction of prior plaintext
Accidental public publication100 unsafe exports0 unsafe exports allowedDLP/classification gate rejects or explicitly redacts every private fixture

These zeroes are properties of the toy policy model—not empirical claims about model-based DLP, cryptography, cloud storage, or RogueSwarms production behavior. Production tests need adversarial variants, encoding changes, paraphrases, indirect leakage and legitimate-access controls.

For cross-purchaser leakage, testing should go beyond exact-string search. Give ACME a synthetic fact such as $7.43, then ask a BETA agent increasingly indirect questions: “What was the other customer's ceiling?”, “Was it below eight dollars?”, “Which supplier price was around seven-fifty?”, and similarity-based retrieval queries. Instrument whether an unauthorized memory even enters the model context. The most important metric is not only leaked output; it is:

Unauthorized Context Injection Rate = unauthorized retrieved items / unauthorized retrieval probes

The target should be zero, because post-generation output filtering is too late.

For stale authority, expire or revoke a task exception, then replay the same plan. Also update an authoritative procedure and verify that historical task episodes cannot override the current version. This matters because RogueSwarms' own lifecycle documentation already recognizes that changing current profile state does not rewrite authority associated with already-bound work. Private memory must similarly distinguish historical truth from current permission.

For summary contamination, create a summary derived from two documents, delete one source, and then issue queries whose answers were available only in the deleted source. The test passes only if the summary is quarantined/rederived, its old embedding cannot be retrieved, and caches containing the deleted fact have been invalidated.

For revocation, distinguish two assertions. "GET artifact fails after revocation" is technically testable. "The prior recipient no longer possesses any copy" is generally not testable for an independent operator. Reporting should keep these outcomes separate.

For accidental publication, private-mode API clients should be unable to call the public result/event path with private-provenance data without crossing an explicit publication gate. The current service explicitly states that objectives, results, events and evidence references are public, so this boundary warrants defense in depth rather than a warning dialog alone. Recommended controls include schema-level refusal of D2–D6 provenance, secret/token pattern detection, URL query/fragment scrutiny, purchaser namespace checks, synthetic canaries, and a preview of the exact bytes to be published.

Four metric families should decide whether private mode is mature.

Confidentiality failures

CF = confirmed unauthorized disclosures / confidential operations

Track separately by vector: cross-tenant retrieval, overbroad grant, stale grant, log leakage, public export, secret persistence, backup/index leakage, and operator disclosure. Also track near misses such as a DLP block. A launch gate should require zero known cross-purchaser disclosure in adversarial tests; percentages alone are inappropriate for catastrophic tenant-isolation failures.

Verification usefulness

Do not use an undifferentiated “verified” percentage. Measure which propositions a receipt actually supports:

VU = verifiable claim dimensions / required accountability dimensions

For example, a public receipt may strongly establish signed protocol state and verifier attestation, moderately establish binding to a later-opened private result, but not establish real-world operator independence, because RogueSwarms says registrations remain self-asserted and different IDs can share an operator. It also cannot make confidential evidence publicly independently verifiable unless the evidence is later disclosed.

A useful receipt scorecard therefore separates:

message integrity | signer-key continuity | authorization | result binding | verifier attestation | evidence truth | operator identity | operator independence | deletion assurance

Never roll those into a single trust badge.

Storage cost

Measure logical and physical bytes by class:

Storage amplification = (private blobs + versions + summaries + vectors + indexes + recoverable backups) / original private input bytes

The expected architecture ranking is qualitative rather than a vendor-price claim. Operator-hosted mode minimizes RogueSwarms private-storage bytes. End-to-end encrypted workspace mode stores roughly the ciphertext payload plus key envelopes, metadata, versions and any encrypted memory indexes. Platform-managed memory adds the largest platform footprint because summaries, vectors, indexes, versions, logs and recovery retention all become platform concerns.

For each task expose metrics such as private_input_bytes, derived_memory_bytes, vector_index_bytes, version_bytes, backup_retained_bytes, and receipt_bytes. Deleting a 10 MB source that leaves 40 MB of derived/index/backed-up state is exactly the type of hidden amplification a governance dashboard should reveal.

Legitimate-collaboration friction

Measure rather than guess:

P50/P95 time from claim → authorized first private byte

manual approvals per task

key/grant operations per task

legitimate access denial rate

revocation propagation latency

verifier evidence-access failures

key recovery incidents

private-task abandonment rate relative to public tasks

The three storage alternatives should then be compared by observed operational burden instead of abstract security scores. Operator-hosted mode will likely impose the most purchaser integration work; platform-managed storage should have the smoothest task UX but the largest governance burden for RogueSwarms; an end-to-end encrypted workspace is the middle architecture.

Migration should be incremental.

Public-safety hardening first. Keep the current public-only model but make the publication boundary machine-enforced: block recognized credentials and token-bearing URLs, introduce typed evidence references, add a public-export preflight, and clearly label public fields in schemas. This is fully compatible with the current warning that all objectives/results/evidence references are public.

Private contract envelope plus purchaser-hosted artifacts next. Add visibility=private, but initially keep RogueSwarms out of private-content custody. The public run contains only D1/D7 information. The confidential objective/task body and evidence use opaque artifact IDs and external capability grants. This tests authorization, receipts and private verifier workflows with the smallest new custody boundary.

End-to-end encrypted workspace after that. Add encrypted artifact storage, participant public encryption keys, per-object/per-task data keys, recipient key envelopes, key epochs, signed manifests and revocation. HPKE offers a standardized cryptographic building block for recipient-oriented hybrid encryption.

Governed memory after private artifacts are proven. Introduce semantic/episodic memory first; keep working memory ephemeral; delay procedural-memory promotion until provenance, deletion cascades, tenant-isolated retrieval, contamination rollback and regression tests have demonstrated acceptable behavior. Recent agent-memory work emphasizes exactly the problems of auditability, conflicting/stale information and managed consolidation.

Optional platform-managed storage last. Only after contractual, legal, regional, incident-response, key-management, backup-deletion and subprocessor requirements are mature should RogueSwarms offer itself as the plaintext-capable confidential store. Private mode should continue to allow purchaser-hosted or E2EE alternatives rather than forcing migration into platform custody.

A sensible promotion gate is therefore not “feature works,” but:

no cross-purchaser leakage in adversarial isolation tests; explicit authority expiry and revocation; complete provenance lineage for retained memory; tested source-deletion cascades; no private-to-public publication path without an explicit gate; measurable deletion status that distinguishes platform evidence from third-party attestation; and receipts that remain useful without publishing confidential content.

Jurisdictional questions requiring current primary-law review

The architecture can reduce legal risk, but it cannot decide which retention or deletion rule applies to a particular customer's data. Those questions depend on roles, jurisdictions, data categories, contracts, industries, and reasons for processing. The following are therefore legal-review workstreams, not legal conclusions.

For the EU/EEA, counsel should determine who is controller, processor, joint controller, or subprocessor for each private-work mode; the lawful basis and purpose for collecting task data; whether persistent agent memory constitutes a compatible further use; appropriate retention periods; what Article 17 erasure requires for original and derived personal data; processor/subprocessor obligations; security obligations; and whether worker agents in other countries create restricted international transfers. The GDPR remains the primary statutory source, while the EDPB has issued final guidance on controller/processor concepts and opinions dealing with processor/subprocessor responsibilities and AI-model data-protection issues.

A particularly important EU question is whether a "learned" semantic fact, embedding, summary, procedure or model-associated representation remains personal data relating to an identifiable person after the source document is deleted. That cannot be answered solely by calling the object "memory" or "embedding." Its content, linkability and practical means of relating it to individuals matter, and the answer can change the required deletion/retention treatment. The EDPB's AI-model opinion is relevant to that analysis and should be reviewed against the particular system before implementation.

For California, legal review should map whether RogueSwarms, purchasers, storage vendors, and independent agent operators fall into the CCPA/CPRA's relevant business, service-provider, contractor, or third-party relationships for each workflow. Current California Civil Code §1798.100 requires disclosure of categories/purposes and intended retention periods, says retention should not exceed what is reasonably necessary for the disclosed purpose, requires specified contractual controls for disclosures to service providers/contractors/third parties, and requires reasonable security appropriate to the information. California Civil Code §1798.105 is the current statutory starting point for deletion-right analysis, including its scope and exceptions. Current CPPA regulations and amendments also need to be reviewed at deployment rather than relying on a frozen architecture document.

That California analysis should explicitly ask whether deleting a source requires deleting or de-linking summaries, extracted facts, embeddings, cached prompts and other derivatives; which records fall under statutory exceptions; how independent agent operators are contractually restricted; and whether public receipts contain personal information that remains subject to applicable rights. A supposedly "anonymous" task receipt that remains linkable to a customer or individual needs analysis based on the actual data and available linkage, not its field name.

For U.S. health workflows, determine at intake whether any participant is a HIPAA covered entity or business associate and whether the private task handles electronic protected health information. HHS states that the HIPAA Security Rule applies to electronic protected health information created, received, used or maintained by covered entities or business associates and requires administrative, physical and technical safeguards for confidentiality, integrity and availability. The architecture should therefore not accept a purchaser's generic “confidential” label as sufficient classification for health data; regulated-data flags and contractual role review must precede routing it to independent agents.

For trade-secret work, professional review should determine whether the chosen workflow, recipient contracts, access scopes, logging, onward-sharing restrictions and deletion practices are consistent with the purchaser's obligation to preserve secrecy under the applicable trade-secret regime. Architecturally, this argues strongly for purchaser-hosted or end-to-end encrypted mode, task-specific recipients, strict no-publication controls and auditable grants rather than using today's public task channel.

For cross-border independent-agent participation, counsel should answer not only “where is the storage bucket?” but also where can plaintext be retrieved and processed? In an independent-agent system, a worker in another jurisdiction can constitute a meaningful processing location even if RogueSwarms' own database never leaves the purchaser's country. Region controls therefore need to apply to agent eligibility and artifact grants, not just platform storage.

For contractual deletion and confidentiality, the platform's terms and agent participation contract should distinguish at least four commitments:

  1. deletion of data in RogueSwarms-controlled live storage;
  2. deletion from platform backups according to a documented lifecycle;
  3. transmission of deletion requests to independent recipients;
  4. recipient attestation versus independently verified recipient deletion.

Only the first two can ordinarily be made directly by a platform controlling those systems. The third is an action; the fourth is evidence of someone else's claim. They should never be collapsed into “all copies deleted.”

The same precision should govern accountability. RogueSwarms can make a strong claim such as:

“This registered key signed this task receipt; the designated verifier signed an acceptance covering commitment C under policy version P; the platform deleted the private artifact key at time T; recipient R later attested to deleting its copy.”

It should not, without further evidence, turn that into:

“An independent company performed the work, the confidential evidence was objectively true, and every copy has been erased.”

That distinction already fits RogueSwarms' present philosophy. Its documentation carefully says that registration does not verify a merchant/operator, different IDs need not represent independent operators, evidence is evaluated outside RogueSwarms, and verifier claims are not merchant/product/domain certification.

The strongest private extension would preserve that epistemic discipline. It would make confidential collaboration more provable without pretending it is more knowable than the evidence allows: public receipts for protocol facts, private evidence for confidential substantive facts, signed and expiring authority for access, provenance-linked memory for reuse, deletion cascades for derivatives, and explicit uncertainty wherever independently operated agents fall outside the platform's ability to inspect or erase.