ddEngine
What it owns
| Question | Answer |
|---|---|
| What does it do? | Independent, bounded token due diligence and forensic interpretation. |
| What does it receive? | An exact chain/contract request, optionally an Alfa alert-bound evidence packet, saved accepted evidence, and separately budgeted provider responses. |
| What does it produce? | A research plan, operation receipts, evidence ledger, contradictions/unknowns, DD Quality Score, persisted report, and delivery receipts. |
| What decisions does it own? | DD evidence classification, research findings, score/coverage, and report presentation. |
| What can it not decide? | Alfa score/alert eligibility, production policy changes, portfolio sizing, or order execution. |
The independent worker and chat integration are deployed. The October 14 acceptance records describe a finite DD pilot; current remaining job capacity and a natural end-to-end DD delivery were not re-established by this documentation task. A healthy worker does not establish those outcomes.
Invocation and worker ownership
| Path | Implemented behavior |
|---|---|
| Manual Telegram | /dd → chain → Quick or Deep → validated exact contract/mint |
| Manual Discord | /dn dd with fixed chain, contract, and quick/deep choices |
| Telegram alert button | Direct Deep DD for the exact originating event |
| Discord 🧠 reaction | Direct Deep DD for the mapped alert; reaction removals do not create new jobs |
| Other operator commands | /dn status, providers, history, token, score, why-not read saved Alfa state |
| Feedback | Useful / Not useful controls save feedback separately; they do not change scores |
Intake checks configured users/chats/roles and enabled flags. Discord HTTP interactions additionally require signature validation. Telegram callback/session mappings and Discord message/reaction mappings preserve exact origin identity. Idempotency keys prevent the same interaction from becoming repeated research.
Chat intake enqueues work; it does not wait for provider research. ddEngine.worker holds exclusive worker ownership, claims its separate DD queue, executes the plan, persists the result, and services result delivery. Alfa is opened read-only/query-only. Unsupported or budget-unavailable operations produce explicit reasons.
The historical handoff recorded a missing-access Discord mirror and incomplete slash-command routing. Later portal code supports forwarding signed callbacks, but this documentation inspection did not re-test external permissions or callback registration. Do not infer that every configured channel works.
Quick versus Deep
Quick DD assembles the accepted saved-evidence view without provider calls. Its request ceiling is zero. It can be incomplete or stale; “Quick” does not promise a fresh security audit.
Deep DD also begins with saved evidence, then plans supported missing/stale sections. The current cache TTL is 900 seconds. Its inherited per-job ceiling is 21 requests and two SocialCrawl credits, subject to separate job allocation and shared provider accounting. These limits are not new grants. An entirely cached run is valid only relative to what the planner can actually reuse; it does not prove that unsupported branches were investigated.
The planner orders market, tradability, flows, holders, wallet intelligence, control, social, and protocol operations, adding authentication/account-refresh prerequisites as needed. Operations can be planned, skipped_budget, accepted, failed, unavailable, or uncertain. Reservation precedes dispatch. A restart cannot repeat an uncertain paid operation for free.
Investigation coverage

Diagram source
---
config:
theme: "base"
look: "classic"
themeVariables:
fontFamily: "system-ui"
fontSize: "16px"
primaryColor: "#202020"
primaryTextColor: "#f4f4f5"
primaryBorderColor: "#81818c"
secondaryColor: "#303034"
tertiaryColor: "#202020"
lineColor: "#81818c"
textColor: "#f4f4f5"
edgeLabelBackground: "#202020"
clusterBkg: "#141416"
clusterBorder: "#55555a"
flowchart:
wrappingWidth: 230
nodeSpacing: 32
rankSpacing: 46
curve: "basis"
padding: 18
themeCSS: ".node rect, .node polygon, .node path { filter: none !important; } .nodeLabel { font-weight: 500; } .edgeLabel { font-size: 13px; color: #f4f4f5; } .edgeLabel p { background-color: #202020; padding: 3px 7px; border-radius: 5px; } .flowchart-link { stroke-width: 1.4px; } .legend text { font-weight: 600; }"
fontFamily: "system-ui"
---
flowchart LR
Plan["Deep DD plan<br/>Reuse current evidence;<br/>collect supported gaps"] --> Identity["Token and project identity<br/>Exact binding; claims may be unverified"]
Plan --> Controls["Contract security and controls<br/>Chain-dependent native and provider checks"]
Plan --> Market["Liquidity custody and tradability<br/>Indicative routes; custody may be unknown"]
Plan --> Holders["Holder distribution<br/>Bounded concentration evidence"]
Plan --> Wallets["Wallets and launch history<br/>No funding-cluster or full-history proof"]
Plan --> Economics["Supply, treasury and fees<br/>Economic flows largely unsupported"]
Plan --> Social["Social and protocol claims<br/>Budgeted samples and exact role registry"]
Identity --> Report["Facts, contradictions and unknowns<br/>Independent DD score and report"]
Controls --> Report
Market --> Report
Holders --> Report
Wallets --> Report
Economics --> Report
Social --> Report
classDef default fill:#202020,stroke:#81818c,color:#f4f4f5,stroke-width:1px,rx:12,ry:12;
classDef info fill:#303034,stroke:#c4c4c4,color:#ffffff,stroke-width:1.5px,rx:12,ry:12;
classDef gate fill:#202020,stroke:#ffffff,color:#ffffff,stroke-width:1.5px;
classDef success fill:#14271d,stroke:#4ade80,color:#4ade80,stroke-width:1.5px,rx:12,ry:12;
classDef warning fill:#2b261b,stroke:#ead09b,color:#ead09b,stroke-width:1.5px,rx:12,ry:12;
classDef failure fill:#301f20,stroke:#ffb4ab,color:#ffb4ab,stroke-width:1.5px,rx:12,ry:12;
classDef secondary fill:#202020,stroke:#a2a2aa,color:#c4c4c4,stroke-width:1px,stroke-dasharray:4 4,rx:12,ry:12;
class Plan,Report info;
class Wallets,Economics warning;
class Identity,Controls,Market,Holders,Social default;
Identity binding and explicit evidence classification apply to every request. Fresh collection is conditional on mode, freshness, chain capability, and remaining budget. The diagram shows planned branches, not a claim that every branch completes.
| Subject | Verified implementation | Important boundary |
|---|---|---|
| Identity and authenticity | Valid chain/contract; exact market selection; alert packet bound to original event, score/gates and exit; provider metadata; exact local role registry | A symbol, domain link, role label, or source availability does not prove issuer/project authenticity |
| EVM controls | Pinned chain/block runtime and standard storage/selector clues; provider owner/creator, mint, proxy, pause, blacklist, tax and transfer-risk fields | Custom proxies/roles, ultimate administration, ownership renunciation, and full upgrade dependencies are not comprehensively verified |
| Solana controls | Finalized native mint, mint/freeze authorities, program/extensions; bounded largest-account owner resolution | Unsupported extensions/program upgrade authority remain unknown; separate sample slots are disclosed |
| Market and routes | Exact-token DexScreener market; preserve expected pool when bound; current two-way unsigned 0x or Jupiter estimates | $100 reference; gas excluded; stable-quote assumptions and route limitations disclosed; no wallet execution |
| Liquidity custody | Reported liquidity and LP-holder/control clues; deterministic custody interpretation fields | Market liquidity or an LP label does not establish a verified lock, removal rights, or protocol-controlled custody |
| Holders | EVM provider-ranked top-holder normalization and verified pool exclusion when supported; Solana at most 20 largest accounts aggregated by owner | Provider coverage and native slot differences are explicit; Solana sample is not a global owner ranking |
| Wallets and flows | EVM finalized ten-block exact-token Transfer sample, bounded wallet/participation observations, creator/owner cross-reference | Transfers are not necessarily swaps, fees, accumulation by independent people, or distribution by a common owner |
| Shared funding / connected wallets | Forensic structure can retain supplied evidence and request further investigation | Current live wallet path does not establish funding clusters, beneficial ownership, smart-money identity, or profitable history |
| Economics | Supply/tax/control clues, sampled zero-address mint/burn events, exact role registry, deterministic dependency triggers | No comprehensive emissions, treasury cash flow, fee destination, buyback, staking/reward funding, redemption, or value-capture investigation |
| Social | SocialCrawl bounded exact-contract X and Reddit samples with request/credit receipts | Current collector reports counts; unique people, sentiment, organic engagement, author breadth, and narrative acceleration are not thereby verified |
| Contradictions | Evidence ledger and cross-source contradictions, including native proxy clue versus provider no-proxy report | A conflict is retained; the conflicting subcheck can become unknown rather than choosing the favorable provider |
The current executor records triggered extra forensic branches as unavailable with additional_branch_requires_unsupported_exact_source. It marks completion partial when such branches exist. This is a material gap from the broader forensic ambitions of the governing DD scope, not a hidden full investigation.
Solana wallet-history collection explicitly returns bounded_solana_accounts_do_not_supply_wallet_history. Native account ownership is useful evidence but is not personhood, common-control, intent, organic demand, or smart-money proof.
Evidence and conclusions
Each forensic record has an exact identity, source/reference, original clocks, coverage, digest, and links to supporting evidence where applicable.
| Classification | Interpretation |
|---|---|
| FACT | Accepted source evidence is available; this does not independently certify every provider claim |
| SUPPORTED_CONCLUSION | Versioned rule conclusion linked to facts |
| INFERENCE | Explicit interpretation with linked evidence and confidence |
| UNKNOWN | Unavailable or unsupported information, never filled with a favorable assumption |
Contradictions remain separate records. The report distinguishes fresh, cached-current, cached-stale, and unavailable sections. complete_relative_to_plan is a limited execution label, not a comprehensive audit or proof of full coverage. The current code forces partial for failed, uncertain, budget-skipped operations and unavailable triggered branches; an ordinary operation returning unavailable does not itself force partial. Inspect section coverage and every operation receipt even when that completion label is present. This inconsistency is recorded in discrepancies.
DD Quality Score
The authoritative model is DD Quality Score v1, not Alfa Score v2. Its seven categories total 100 points, with contract/control and market/tradability carrying 20 each; liquidity, holders, and wallet/launch 15 each; protocol/identity 10; social 5. Scoring contains all category subchecks, thresholds, coverage semantics, and the hard-unsafe override.
Unknown evidence earns no favorable points and no coverage. Known adverse evidence earns no favorable points but does count as measured coverage. A low score can reflect missing evidence, adverse evidence, or both; readers need the categories and reasons.
Output and authority
The stored bundle contains request/origin identity, section values and freshness, provider usage, operation and triggered-branch receipts, evidence/classification records, contradictions, forensic modules, unknowns, quality score, and result digests. The human report presents exact identity, research freshness, the independent DD score/coverage, any available Alfa score, category ratings, material facts/risks, reasons, and supported links. Discord and Telegram use separate presentation/delivery paths.
An Alfa score shown in a DD report remains the original referenced Alfa score. The bundle declares conclusion_authority=research_only, automated_execution=False, alfa_score_modified=False, and alert_eligibility_modified=False. DD does not silently revise discovery, initial-alert authority, or a paper portfolio.
Humans can use the report to challenge a thesis, reject an opportunity, or request further evidence. Automatic consumption of these results by the inspected paper agents is not present. tradeEngine describes that boundary; verification provides the implementation map.
Forward shared consumer boundary
The modular-lane implementation retains immediate independent DD execution and original accounting. DD reads canonical market evidence through the common consumer capability. Digest-verified original DD reports remain in the DD ledger and are exposed through a read-only accessor; no copy into Alfa storage is made and unknown historical availability clocks remain unknown. This adds a shared consumer access path, not a DD veto over Alfa or automatic agent trading authority.
