{"data":{"status":"pass","keep":[0,1,4,5],"dropped":[{"index":2,"role":"assistant","kind":"tool_call","tokens":30,"reason":"stale-tool-pair","pairedWith":3},{"index":3,"role":"user","kind":"tool_result","tokens":6000,"reason":"stale-tool-pair","pairedWith":2}],"tokensBefore":6485,"tokensAfter":455,"targetMet":true,"prefix":{"messages":2,"tokens":420,"sha256":"4b2bd22036b9c6d09a8ab3a02d50a7b120a90a1074596f9006c1ab00b9e72b97"},"notes":[],"witnesses":[],"versions":{"engine":"conversation-prune/1 whole-unit dropping outside the cache prefix","tokenizer":"caller-supplied token counts"},"limits":["Never selects a message at or before the cache breakpoint; the caller must send those bytes unchanged.","Unpaired tool messages and tool messages without toolCallId are not droppable.","Dropping can leave two adjacent messages with the same role; this is reported in notes, not repaired."],"deterministic":true},"_provenance":{"version":"writerslogic-provenance/1","issuer":"did:web:agents.writerslogic.com","verify":{"endpoint":"POST /api/v1/verify-provenance","did":"did:web:agents.writerslogic.com"},"manifest":{"format":"application/json","instance_id":"xmp:iid:190c0b96-6883-498f-8fde-379731cc069e","claim_generator_info":[{"name":"WritersLogic x402 Agent Hub","version":"2.0.0"}],"title":"Choose which old messages to drop to hit a token target without touching the cached prompt prefix","assertions":[{"label":"c2pa.actions.v2","data":{"actions":[{"action":"c2pa.created","when":"2026-11-06T01:30:24.051Z","softwareAgent":{"name":"writerslogic-agent-hub/conversation-prune","version":"2.0.0"},"digitalSourceType":"http://cv.iptc.org/newscodes/digitalsourcetype/algorithmicMedia","parameters":{"endpoint":"POST /api/v1/conversation-prune","inputDigest":{"alg":"sha256","hash":"c0e8d57978052b68b9c050259b5e17ecd2486b75ced941bcde046f74f3d4f06a","canonicalization":"JCS"}}}]}},{"label":"c2pa.hash.data","data":{"alg":"sha256","hash":"2ac34c4caa172ba016cd99ead330e8ab7085219d04d0cd70fe9b7daeab4dde6f","name":"jcs-canonical-json(data)"}}]},"credential":{"@context":["https://www.w3.org/ns/credentials/v2"],"id":"urn:uuid:5d6498ac-4f7a-4495-bb53-e2d157bca502","type":["VerifiableCredential","AgentOutputCredential"],"issuer":"did:web:agents.writerslogic.com","validFrom":"2026-11-06T01:30:24.051Z","credentialSubject":{"id":"urn:sha256:2ac34c4caa172ba016cd99ead330e8ab7085219d04d0cd70fe9b7daeab4dde6f","agent":"conversation-prune","endpoint":"POST /api/v1/conversation-prune","outputDigest":{"alg":"sha256","value":"2ac34c4caa172ba016cd99ead330e8ab7085219d04d0cd70fe9b7daeab4dde6f","canonicalization":"JCS"},"inputDigest":{"alg":"sha256","value":"c0e8d57978052b68b9c050259b5e17ecd2486b75ced941bcde046f74f3d4f06a","canonicalization":"JCS"},"manifestDigest":{"alg":"sha256","value":"d9611909318335bd6e288b8dfc6e4ef1273f4bd83318dee1ccda04ccc53fedd8","canonicalization":"JCS"},"ingredients":[],"payment":{"scheme":"api-key","network":"eip155:8453","payer":"sample"}},"proof":{"type":"DataIntegrityProof","cryptosuite":"eddsa-jcs-2022","created":"2026-11-06T01:30:24.051Z","verificationMethod":"did:web:agents.writerslogic.com#key-1","proofPurpose":"assertionMethod","proofValue":"z5gS4PCmy8SWFiJKjtS58hEKszbfTyXTVN6thSyL1VvTvk3Tz1AQZiVrupwkushHTDvhRz3nLpwN5MWmKT9cYemrc"}},"ethSignature":{"type":"EIP-191","signer":"did:pkh:eip155:8453:0x3DBd42560cA7a7E448A2c7DfC9E785526189411f","address":"0x3DBd42560cA7a7E448A2c7DfC9E785526189411f","message":"writerslogic-provenance:d53c301fb2d5b16faee13a4e9ae8179b2285c54812f7e2586dc34163de86e0a8","signature":"0xbe8e0ac7b922a9796150a6c6c87d6bb7e73db32a9da51e6742603af66586c4952cc12298b0b9c1623ac8936e2e45966a1e26bc0177d3ca2840d23bd8b5d8aebe1b"}}}