{"uid":"cap_FdIA2nyflfs6uM70X3hDT","slug":"sieve-implicit-keep-action-trace-analyzer-c22598d0","name":"Sieve Implicit Keep Action Trace Analyzer","description":"An offline mail-rule agent needs whether an abstract Sieve control path retains implicit keep and how many explicit delivery actions are scheduled, without inspecting or transmitting messages.","url":"https://detect.halowerk.com/v1/F-A-NEXT-SIEVE_ACTIONS/sieve-implicit-keep-action-trace?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"artifact":{"type":"object","required":["sieve_actions"],"properties":{"sieve_actions":{"type":"object","required":["claim","flags","program"],"properties":{"claim":{"type":"number","maximum":1000000000000,"minimum":-1000000000000},"flags":{"type":"array","items":{"type":"boolean"},"maxItems":512},"program":{"type":"array","items":{"type":"object","required":["op"],"properties":{"op":{"type":"string","maxLength":1024},"branches":{"type":"array","items":{"type":"object","required":["body","negate","test"],"properties":{"body":{"type":"array","items":{"type":"object","required":["op"],"properties":{"op":{"type":"string","maxLength":1024},"branches":{"type":"array","items":{"type":"object","required":["body","negate","test"],"properties":{"body":{"type":"array","items":{"type":"object","required":["op"],"properties":{"op":{"type":"string","maxLength":1024}},"additionalProperties":false},"maxItems":512},"test":{"type":"number","maximum":1000000000000,"minimum":-1000000000000},"negate":{"type":"boolean"}},"additionalProperties":false},"maxItems":512},"otherwise":{"type":"array","items":{"type":"object","required":["op"],"properties":{"op":{"type":"string","maxLength":1024}},"additionalProperties":false},"maxItems":512},"destination":{"type":"number","maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"maxItems":512},"test":{"type":"number","maximum":1000000000000,"minimum":-1000000000000},"negate":{"type":"boolean"}},"additionalProperties":false},"maxItems":512},"otherwise":{"type":"array","items":{"type":"object","required":["op"],"properties":{"op":{"type":"string","maxLength":1024},"destination":{"type":"number","maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"maxItems":512},"destination":{"type":"number","maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"maxItems":512}},"additionalProperties":false}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LyJvyVfqVIsOqfi9aKc-Z","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes an abstract Sieve mail-rule control-flow program to determine whether implicit keep is retained and counts explicit delivery actions, without processing real messages.","exampleAgentPrompt":"Check whether this abstract Sieve program retains implicit keep and tell me how many explicit delivery actions are scheduled — here's the program with claim value 42, two boolean flags [true, false], and operations including an if-branch with an 'fileinto' op and a 'keep' op in the otherwise branch.","exampleUseCases":[{"title":"Mail filter implicit keep audit","prompt":"I have a Sieve mail rule with a few if-else branches and I need to know whether implicit keep is still active after all branches execute — can you trace through this program with claim 100, flags [true], and these ops and tell me?"},{"title":"Delivery action count for compliance check","prompt":"My mail compliance tool needs to know exactly how many explicit delivery actions are scheduled in this Sieve control-flow program — please analyze it with claim 0, flags [false, true, false], and the program structure I'm providing."},{"title":"Offline mail-agent rule validation","prompt":"Without sending any real messages, can you tell me if this abstract Sieve script will silently drop email (i.e., no implicit keep and no explicit delivery) given claim value 500, flags [true, true], and the following operations?"}],"resultDescription":"Returns whether the implicit keep action is retained along the analyzed control path and the count of explicit delivery actions scheduled within the Sieve program, based purely on structural analysis of the submitted program representation.","failureModes":["Invalid program structure or missing required 'op' field returns a 400 error","Exceeding maxItems (512) for branches or body arrays causes a schema validation failure","Claim value outside [-1000000000000, 1000000000000] range is rejected","Malformed boolean flags array causes deserialization error","Deeply nested branch structures may cause processing timeouts"],"whenToPreferThis":"Use this endpoint when you need to statically analyze the control-flow semantics of a Sieve mail filter — specifically to determine implicit-keep retention and explicit delivery action counts — without executing the script against real messages. Prefer this over live Sieve interpreters when privacy, offline operation, or message-free analysis is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:40:21.002Z","isFirstParty":false,"canonicalSlug":"sieve-implicit-keep-action-trace-analyzer-c22598d0"}