STRUCTURAL-AUDIT.md
TEXT FILE8.8 KB · Public source code for developers, search crawlers and AI agents
1# Stage 21 — Offline structural audit
2
3Base: THAMER-AI-AGENTS-STAGE20.zip. ZIP CRC check passed. 111 original TXT files, including Example.txt. 110 unique article routes. 109 source embed references resolve to archived files (template excluded).
4
5101 Python files compiled for syntax; 77 exited successfully in isolated subprocesses with a four-second timeout; 24 skipped because of network-capable imports or external dependencies. Successful exit does not prove assertions exist or cover all behavior. Five Go and two Rust files inventoried but not compiled in this audit. No live calls, credentials, payments, external documentation checks or full security review.
6
7## Known limitations
8
9The Stage 02 receive example checks an address prefix, not a full Bech32 checksum. External adapters require version-specific dependency validation. Synthetic benchmarks are not engine measurements. Earlier source files are preserved; findings are not fixes.
10
11## Per-file results
12
13| File | Status |
14|---|---|
15| `repo/ai-agents/stage01/payment-idempotency/intent.py` | PASS_EXIT |
16| `repo/ai-agents/stage01/typed-tool-inputs/balance.py` | PASS_EXIT |
17| `repo/ai-agents/stage02/python-bitcoin-receive-tool/receive.py` | SKIP_RUNTIME |
18| `repo/ai-agents/stage03/mcp-bitcoin-result-mapping/result.py` | PASS_EXIT |
19| `repo/ai-agents/stage03/mcp-bitcoin-tool-discovery/discovery.py` | PASS_EXIT |
20| `repo/ai-agents/stage04/aider/example.py` | PASS_EXIT |
21| `repo/ai-agents/stage04/claude-code/example.py` | PASS_EXIT |
22| `repo/ai-agents/stage04/codex/example.py` | PASS_EXIT |
23| `repo/ai-agents/stage04/gemini-cli/example.py` | PASS_EXIT |
24| `repo/ai-agents/stage04/goose/example.py` | PASS_EXIT |
25| `repo/ai-agents/stage04/opencode/example.py` | PASS_EXIT |
26| `repo/ai-agents/stage04/openhands/example.py` | PASS_EXIT |
27| `repo/ai-agents/stage05/ag2/example.py` | SKIP_RUNTIME |
28| `repo/ai-agents/stage05/crewai/example.py` | SKIP_RUNTIME |
29| `repo/ai-agents/stage05/google-adk/example.py` | SKIP_RUNTIME |
30| `repo/ai-agents/stage05/langgraph/example.py` | SKIP_RUNTIME |
31| `repo/ai-agents/stage05/pydantic-ai/example.py` | SKIP_RUNTIME |
32| `repo/ai-agents/stage05/smolagents/example.py` | SKIP_RUNTIME |
33| `repo/ai-agents/stage06/llama-cpp/example.py` | SKIP_RUNTIME |
34| `repo/ai-agents/stage06/localai/example.py` | SKIP_RUNTIME |
35| `repo/ai-agents/stage06/ollama/example.py` | SKIP_RUNTIME |
36| `repo/ai-agents/stage06/vllm/example.py` | SKIP_RUNTIME |
37| `repo/ai-agents/stage07/anthropic/example.py` | SKIP_RUNTIME |
38| `repo/ai-agents/stage07/deepseek/example.py` | SKIP_RUNTIME |
39| `repo/ai-agents/stage07/gemini/example.py` | SKIP_RUNTIME |
40| `repo/ai-agents/stage07/mistral/example.py` | SKIP_RUNTIME |
41| `repo/ai-agents/stage07/openai/example.py` | SKIP_RUNTIME |
42| `repo/ai-agents/stage07/xai/example.py` | SKIP_RUNTIME |
43| `repo/ai-agents/stage08/dify/example.py` | SKIP_RUNTIME |
44| `repo/ai-agents/stage08/flowise/example.py` | SKIP_RUNTIME |
45| `repo/ai-agents/stage08/make/example.py` | SKIP_RUNTIME |
46| `repo/ai-agents/stage08/n8n/example.py` | SKIP_RUNTIME |
47| `repo/ai-agents/stage08/node-red/example.py` | SKIP_RUNTIME |
48| `repo/ai-agents/stage08/zapier/example.py` | SKIP_RUNTIME |
49| `repo/ai-agents/stage09/browser-use/example.py` | PASS_EXIT |
50| `repo/ai-agents/stage09/playwright/example.py` | PASS_EXIT |
51| `repo/ai-agents/stage09/selenium/example.py` | SKIP_RUNTIME |
52| `repo/ai-agents/stage09/skyvern/example.py` | PASS_EXIT |
53| `repo/ai-agents/stage09/stagehand/example.py` | PASS_EXIT |
54| `repo/ai-agents/stage10/amazon-bedrock/stage10-amazon-bedrock-action-validation.py` | PASS_EXIT |
55| `repo/ai-agents/stage10/google-vertex/stage10-google-vertex-result-minimization.py` | PASS_EXIT |
56| `repo/ai-agents/stage10/ibm-watsonx/stage10-ibm-watsonx-audit-evidence.py` | PASS_EXIT |
57| `repo/ai-agents/stage10/microsoft-agent/stage10-microsoft-agent-authorization.py` | PASS_EXIT |
58| `repo/ai-agents/stage10/salesforce-agentforce/stage10-salesforce-agentforce-invoice-review.py` | PASS_EXIT |
59| `repo/ai-agents/stage10/sap-joule/stage10-sap-joule-reconciliation.py` | PASS_EXIT |
60| `repo/ai-agents/stage11/commerce-orders/stage11-commerce-orders.py` | PASS_EXIT |
61| `repo/ai-agents/stage11/invoice-validation/stage11-invoice-validation.py` | PASS_EXIT |
62| `repo/ai-agents/stage11/micropayment-aggregation/stage11-micropayment-aggregation.py` | PASS_EXIT |
63| `repo/ai-agents/stage11/payment-authorization/stage11-payment-authorization.py` | PASS_EXIT |
64| `repo/ai-agents/stage11/payment-reconciliation/stage11-payment-reconciliation.py` | PASS_EXIT |
65| `repo/ai-agents/stage11/shopping-review/stage11-shopping-review.py` | PASS_EXIT |
66| `repo/ai-agents/stage11/spending-budget/stage11-spending-budget.py` | PASS_EXIT |
67| `repo/ai-agents/stage12/agent-routing/stage12-agent-routing.py` | PASS_EXIT |
68| `repo/ai-agents/stage12/distributed-approval/stage12-distributed-approval.py` | PASS_EXIT |
69| `repo/ai-agents/stage12/event-network/stage12-event-network.py` | PASS_EXIT |
70| `repo/ai-agents/stage12/fault-recovery/stage12-fault-recovery.py` | PASS_EXIT |
71| `repo/ai-agents/stage12/payment-protocol/stage12-payment-protocol.py` | PASS_EXIT |
72| `repo/ai-agents/stage12/spending-coordination/stage12-spending-coordination.py` | PASS_EXIT |
73| `repo/ai-agents/stage12/wallet-boundary/stage12-wallet-boundary.py` | PASS_EXIT |
74| `repo/ai-agents/stage14/approval-binding/stage14-approval-binding.py` | PASS_EXIT |
75| `repo/ai-agents/stage14/message-authentication/stage14-message-authentication.py` | PASS_EXIT |
76| `repo/ai-agents/stage14/payment-envelope/stage14-payment-envelope.py` | PASS_EXIT |
77| `repo/ai-agents/stage14/replay-ledger/stage14-replay-ledger.py` | PASS_EXIT |
78| `repo/ai-agents/stage15/api-pricing/stage15-api-pricing.py` | PASS_EXIT |
79| `repo/ai-agents/stage15/compute-pricing/stage15-compute-pricing.py` | PASS_EXIT |
80| `repo/ai-agents/stage15/data-delivery/stage15-data-delivery.py` | PASS_EXIT |
81| `repo/ai-agents/stage15/machine-settlement/stage15-machine-settlement.py` | PASS_EXIT |
82| `repo/ai-agents/stage15/usage-metering/stage15-usage-metering.py` | PASS_EXIT |
83| `repo/ai-agents/stage16/conditional-payment/stage16-conditional-payment.py` | PASS_EXIT |
84| `repo/ai-agents/stage16/digital-entitlement/stage16-digital-entitlement.py` | PASS_EXIT |
85| `repo/ai-agents/stage16/merchant-settlement/stage16-merchant-settlement.py` | PASS_EXIT |
86| `repo/ai-agents/stage16/order-state/stage16-order-state.py` | PASS_EXIT |
87| `repo/ai-agents/stage16/refund-reservation/stage16-refund-reservation.py` | PASS_EXIT |
88| `repo/ai-agents/stage16/subscription-billing/stage16-subscription-billing.py` | PASS_EXIT |
89| `repo/ai-agents/stage17/delegated-authority/stage17-delegated-authority.py` | PASS_EXIT |
90| `repo/ai-agents/stage17/hierarchical-budget/stage17-hierarchical-budget.py` | PASS_EXIT |
91| `repo/ai-agents/stage17/policy-revocation/stage17-policy-revocation.py` | PASS_EXIT |
92| `repo/ai-agents/stage17/risk-authorization/stage17-risk-authorization.py` | PASS_EXIT |
93| `repo/ai-agents/stage17/rolling-window/stage17-rolling-window.py` | PASS_EXIT |
94| `repo/ai-agents/stage17/transaction-limit/stage17-transaction-limit.py` | PASS_EXIT |
95| `repo/ai-agents/stage18/credential-isolation/stage18-credential-isolation.py` | PASS_EXIT |
96| `repo/ai-agents/stage18/incident-response/stage18-incident-response.py` | PASS_EXIT |
97| `repo/ai-agents/stage18/payment-integrity/stage18-payment-integrity.py` | PASS_EXIT |
98| `repo/ai-agents/stage18/prompt-injection/stage18-prompt-injection.py` | PASS_EXIT |
99| `repo/ai-agents/stage18/secure-communication/stage18-secure-communication.py` | PASS_EXIT |
100| `repo/ai-agents/stage18/threat-model/stage18-threat-model.py` | PASS_EXIT |
101| `repo/ai-agents/stage18/tool-execution/stage18-tool-execution.py` | PASS_EXIT |
102| `repo/ai-agents/stage19/audit-trail/stage19-audit-trail.py` | PASS_EXIT |
103| `repo/ai-agents/stage19/distributed-tracing/stage19-distributed-tracing.py` | PASS_EXIT |
104| `repo/ai-agents/stage19/execution-diagnostics/stage19-execution-diagnostics.py` | PASS_EXIT |
105| `repo/ai-agents/stage19/payment-anomaly/stage19-payment-anomaly.py` | PASS_EXIT |
106| `repo/ai-agents/stage19/payment-metrics/stage19-payment-metrics.py` | PASS_EXIT |
107| `repo/ai-agents/stage19/structured-logging/stage19-structured-logging.py` | PASS_EXIT |
108| `repo/ai-agents/stage19/wallet-health/stage19-wallet-health.py` | PASS_EXIT |
109| `repo/ai-agents/stage20/agent-evaluation/stage20-agent-evaluation.py` | PASS_EXIT |
110| `repo/ai-agents/stage20/concurrent-requests/stage20-concurrent-requests.py` | PASS_EXIT |
111| `repo/ai-agents/stage20/execution-latency/stage20-execution-latency.py` | PASS_EXIT |
112| `repo/ai-agents/stage20/failure-recovery/stage20-failure-recovery.py` | PASS_EXIT |
113| `repo/ai-agents/stage20/idempotency-stress/stage20-idempotency-stress.py` | PASS_EXIT |
114| `repo/ai-agents/stage20/payment-throughput/stage20-payment-throughput.py` | PASS_EXIT |
115| `repo/ai-agents/stage20/resource-consumption/stage20-resource-consumption.py` | PASS_EXIT |Read-only source · Select a line number to link directly · Raw download above
