{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"redocly_category":"Treasure Code","product_name":"Treasure Code","type":"markdown"},"seo":{"title":"tdx workflow - Workflow Management | Treasure Data","description":"Manage Treasure Data workflows with Digdag. Pull, push, run workflows and monitor sessions.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]},"image":"/assets/og-image.ba836864a30434f560a4f7720f8a09019ad30ff828b20c5052ae933ba7121524.d7ef4821.png"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"workflow-commands","__idx":0},"children":["Workflow Commands"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Manage Treasure AI workflows powered by Digdag."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"success","name":"Alias"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx wf"]}," is an alias for ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx workflow"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"commands","__idx":1},"children":["Commands"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"navigation--discovery","__idx":2},"children":["Navigation & Discovery"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Command"},"children":["Command"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["use <project>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Set default workflow project"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["projects [pattern]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["List workflow projects"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["workflows [project]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["List workflows in a project"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["run [project.workflow]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Run a workflow (interactive selector if omitted)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sessions [project]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["List workflow sessions"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attempts [project]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["List workflow attempts"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"project-sync","__idx":3},"children":["Project Sync"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Command"},"children":["Command"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pull <project>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Pull project to local folder"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["push [source-dir]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Push local changes to TD"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["clone [source-dir] --name <name>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Clone project to a new name"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["delete <project>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Delete a project"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"secrets","__idx":4},"children":["Secrets"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Command"},"children":["Command"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["secrets list [project]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["List secret keys"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["secrets set [project] KEY=VALUE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Set a secret"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["secrets delete [project] <key>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Delete a secret"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"typical-usage","__idx":5},"children":["Typical Usage"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# 0. List available workflow projects\ntdx wf projects\n\n# 1. Pull a workflow project to local folder\n#    (this also sets project context)\ntdx wf pull myproject\n# Creates: workflows/myproject/\n\n# 2. Edit workflow files locally\n# Edit workflows/myproject/main.dig with your text editor\n\n# 3. Push changes back to TD\ntdx wf push\n\n# 4. Run a workflow (interactive selector shows available workflows)\ntdx wf run\n\n# 5. Monitor sessions and attempts (context already set by pull)\ntdx wf sessions\ntdx wf attempts\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The pull/push workflow enables version control and code review for workflow definitions:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# Work from any subdirectory - push finds tdx.json automatically\ncd workflows/myproject\ngit add . && git commit -m \"Update ETL schedule\"\ntdx wf push\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-it-works","__idx":6},"children":["How It Works"]},{"$$mdtype":"Tag","name":"Diagram","attributes":{"data-language":"mermaid","diagramType":"mermaid","diagramSource":"flowchart LR\n    Local[\"workflows/myproject/*.dig\"]\n    TD[Treasure AI]\n\n    Local -->|\"tdx wf push\"| TD\n    TD -->|\"tdx wf pull\"| Local\n","diagramHtml":"<svg id=\"diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" class=\"flowchart\" style=\"max-width: 554.921875px;\" viewBox=\"0 0.0320892333984375 554.921875 83.93582153320312\" role=\"graphics-document document\" aria-roledescription=\"flowchart-v2\"><style>#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79{font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .error-icon{fill:#552222;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .error-text{fill:#552222;stroke:#552222;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .edge-thickness-normal{stroke-width:1px;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .edge-thickness-thick{stroke-width:3.5px;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .edge-pattern-solid{stroke-dasharray:0;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .edge-pattern-dashed{stroke-dasharray:3;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .edge-pattern-dotted{stroke-dasharray:2;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .marker{fill:#333333;stroke:#333333;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .marker.cross{stroke:#333333;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 svg{font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:16px;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 p{margin:0;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .label{font-family:\"Redocly Mermaid Sans\",sans-serif;color:#333;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .cluster-label text{fill:#333;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .cluster-label span{color:#333;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .cluster-label span p{background-color:transparent;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .label text,#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 span{fill:#333;color:#333;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .node rect,#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .node circle,#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .node ellipse,#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .node polygon,#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .rough-node .label text,#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .node .label text,#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .image-shape .label,#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .icon-shape .label{text-anchor:middle;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .rough-node .label,#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .node .label,#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .image-shape .label,#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .icon-shape .label{text-align:center;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .node.clickable{cursor:pointer;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .arrowheadPath{fill:#333333;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .edgePath .path{stroke:#333333;stroke-width:1px;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .flowchart-link{stroke:#333333;fill:none;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .cluster text{fill:#333;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .cluster span{color:#333;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 rect.text{fill:none;stroke-width:0;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .icon-shape,#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .icon-shape p,#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .icon-shape .label rect,#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 .node .neo-node{stroke:#9370DB;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 [data-look=\"neo\"].node rect,#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 [data-look=\"neo\"].cluster rect,#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 [data-look=\"neo\"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 [data-look=\"neo\"].node path{stroke:#9370DB;stroke-width:1px;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 [data-look=\"neo\"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 [data-look=\"neo\"].node .neo-line path{stroke:#9370DB;filter:none;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 [data-look=\"neo\"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 [data-look=\"neo\"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 [data-look=\"neo\"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",sans-serif;}#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",sans-serif;}</style><g><marker id=\"diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79_flowchart-v2-pointEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 0 L 10 5 L 0 10 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79_flowchart-v2-pointStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"4.5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 5 L 10 10 L 10 0 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79_flowchart-v2-pointEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"11.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"10.5\" markerHeight=\"14\" orient=\"auto\"><path d=\"M 0 0 L 11.5 7 L 0 14 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79_flowchart-v2-pointStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"1\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11.5\" markerHeight=\"14\" orient=\"auto\"><polygon points=\"0,7 11.5,14 11.5,0\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></polygon></marker><marker id=\"diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79_flowchart-v2-circleEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"11\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79_flowchart-v2-circleStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-1\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79_flowchart-v2-circleEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refY=\"5\" refX=\"12.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79_flowchart-v2-circleStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-2\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79_flowchart-v2-crossEnd\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"12\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79_flowchart-v2-crossStart\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"-1\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79_flowchart-v2-crossEnd-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"17.7\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5;\"></path></marker><marker id=\"diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79_flowchart-v2-crossStart-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"-3.5\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5; stroke-dasharray: 1, 0;\"></path></marker><g class=\"root\"><g class=\"clusters\"></g><g class=\"edgePaths\"><path d=\"M266.297,27.628L277.721,26.357C289.146,25.085,311.995,22.543,334.185,22.959C356.375,23.376,377.907,26.752,388.673,28.44L399.439,30.128\" id=\"diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79-L_Local_TD_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_Local_TD_0\" data-points=\"W3sieCI6MjY2LjI5Njg3NSwieSI6MjcuNjI4MDU3Njk2MTA3NDl9LHsieCI6MzM0Ljg0Mzc1LCJ5IjoyMH0seyJ4Ijo0MDMuMzkwNjI1LCJ5IjozMC43NDc2NjE0Njk5MzMxODV9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79_flowchart-v2-pointEnd)\"></path><path d=\"M403.391,53.252L391.966,55.044C380.542,56.835,357.693,60.417,335.506,61.011C313.32,61.605,291.796,59.21,281.034,58.012L270.272,56.814\" id=\"diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79-L_TD_Local_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_TD_Local_0\" data-points=\"W3sieCI6NDAzLjM5MDYyNSwieSI6NTMuMjUyMzM4NTMwMDY2ODE1fSx7IngiOjMzNC44NDM3NSwieSI6NjR9LHsieCI6MjY2LjI5Njg3NSwieSI6NTYuMzcxOTQyMzAzODkyNTF9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79_flowchart-v2-pointEnd)\"></path></g><g class=\"edgeLabels\"><g class=\"edgeLabel\" transform=\"translate(335.04842, 20.03209)\"><g class=\"label\" data-id=\"L_Local_TD_0\" transform=\"translate(-43.546875, -12)\"><foreignObject width=\"87.09375\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><p>tdx wf push</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(335.04842, 63.96791)\"><g class=\"label\" data-id=\"L_TD_Local_0\" transform=\"translate(-38.8671875, -12)\"><foreignObject width=\"77.734375\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><p>tdx wf pull</p></span></div></foreignObject></g></g></g><g class=\"nodes\"><g class=\"node default\" id=\"diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79-flowchart-Local-0\" data-look=\"classic\" transform=\"translate(137.1484375, 42)\"><rect class=\"basic label-container\" style=\"\" x=\"-129.1484375\" y=\"-27\" width=\"258.296875\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-99.1484375, -12)\"><rect></rect><foreignObject width=\"198.296875\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>workflows/myproject/*.dig</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79-flowchart-TD-1\" data-look=\"classic\" transform=\"translate(475.15625, 42)\"><rect class=\"basic label-container\" style=\"\" x=\"-71.765625\" y=\"-27\" width=\"143.53125\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-41.765625, -12)\"><rect></rect><foreignObject width=\"83.53125\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Treasure AI</p></span></div></foreignObject></g></g></g></g></g><defs><filter id=\"diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79-drop-shadow\" height=\"130%\" width=\"130%\"><feDropShadow dx=\"4\" dy=\"4\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#000000\"></feDropShadow></filter></defs><defs><filter id=\"diagram-a8a033ef29388b5af4e524a675011815a6fa22e17c217fdbb15987b3572faf79-drop-shadow-small\" height=\"150%\" width=\"150%\"><feDropShadow dx=\"2\" dy=\"2\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#000000\"></feDropShadow></filter></defs></svg>","diagramHtmlDark":"<svg id=\"diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" class=\"flowchart\" style=\"max-width: 554.921875px;\" viewBox=\"0 0.0320892333984375 554.921875 83.93582153320312\" role=\"graphics-document document\" aria-roledescription=\"flowchart-v2\"><style>#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352{font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:16px;fill:#ccc;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .error-icon{fill:#a44141;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .error-text{fill:#ddd;stroke:#ddd;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .edge-thickness-normal{stroke-width:1px;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .edge-thickness-thick{stroke-width:3.5px;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .edge-pattern-solid{stroke-dasharray:0;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .edge-pattern-dashed{stroke-dasharray:3;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .edge-pattern-dotted{stroke-dasharray:2;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .marker{fill:lightgrey;stroke:lightgrey;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .marker.cross{stroke:lightgrey;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 svg{font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:16px;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 p{margin:0;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .label{font-family:\"Redocly Mermaid Sans\",sans-serif;color:#ccc;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .cluster-label text{fill:#F9FFFE;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .cluster-label span{color:#F9FFFE;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .cluster-label span p{background-color:transparent;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .label text,#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 span{fill:#ccc;color:#ccc;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .node rect,#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .node circle,#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .node ellipse,#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .node polygon,#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .node path{fill:#1f2020;stroke:#ccc;stroke-width:1px;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .rough-node .label text,#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .node .label text,#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .image-shape .label,#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .icon-shape .label{text-anchor:middle;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .rough-node .label,#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .node .label,#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .image-shape .label,#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .icon-shape .label{text-align:center;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .node.clickable{cursor:pointer;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .root .anchor path{fill:lightgrey!important;stroke-width:0;stroke:lightgrey;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .arrowheadPath{fill:lightgrey;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .edgePath .path{stroke:lightgrey;stroke-width:1px;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .flowchart-link{stroke:lightgrey;fill:none;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .edgeLabel{background-color:hsl(0, 0%, 34.4117647059%);text-align:center;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .edgeLabel p{background-color:hsl(0, 0%, 34.4117647059%);}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .edgeLabel rect{opacity:0.5;background-color:hsl(0, 0%, 34.4117647059%);fill:hsl(0, 0%, 34.4117647059%);}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .labelBkg{background-color:rgba(87.75, 87.75, 87.75, 0.5);}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .cluster rect{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:rgba(255, 255, 255, 0.25);stroke-width:1px;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .cluster text{fill:#F9FFFE;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .cluster span{color:#F9FFFE;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:12px;background:hsl(20, 1.5873015873%, 12.3529411765%);border:1px solid rgba(255, 255, 255, 0.25);border-radius:2px;pointer-events:none;z-index:100;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#ccc;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 rect.text{fill:none;stroke-width:0;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .icon-shape,#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .image-shape{background-color:hsl(0, 0%, 34.4117647059%);text-align:center;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .icon-shape p,#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .image-shape p{background-color:hsl(0, 0%, 34.4117647059%);padding:2px;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .icon-shape .label rect,#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .image-shape .label rect{opacity:0.5;background-color:hsl(0, 0%, 34.4117647059%);fill:hsl(0, 0%, 34.4117647059%);}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 .node .neo-node{stroke:#ccc;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 [data-look=\"neo\"].node rect,#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 [data-look=\"neo\"].cluster rect,#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 [data-look=\"neo\"].node polygon{stroke:url(#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 [data-look=\"neo\"].node path{stroke:url(#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352-gradient);stroke-width:1px;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 [data-look=\"neo\"].node .outer-path{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 [data-look=\"neo\"].node .neo-line path{stroke:#ccc;filter:none;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 [data-look=\"neo\"].node circle{stroke:url(#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 [data-look=\"neo\"].icon-shape .icon{fill:url(#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 [data-look=\"neo\"].icon-shape .icon-neo path{stroke:url(#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",sans-serif;}#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",sans-serif;}</style><g><marker id=\"diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352_flowchart-v2-pointEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 0 L 10 5 L 0 10 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352_flowchart-v2-pointStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"4.5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 5 L 10 10 L 10 0 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352_flowchart-v2-pointEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"11.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"10.5\" markerHeight=\"14\" orient=\"auto\"><path d=\"M 0 0 L 11.5 7 L 0 14 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352_flowchart-v2-pointStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"1\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11.5\" markerHeight=\"14\" orient=\"auto\"><polygon points=\"0,7 11.5,14 11.5,0\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></polygon></marker><marker id=\"diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352_flowchart-v2-circleEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"11\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352_flowchart-v2-circleStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-1\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352_flowchart-v2-circleEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refY=\"5\" refX=\"12.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352_flowchart-v2-circleStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-2\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352_flowchart-v2-crossEnd\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"12\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352_flowchart-v2-crossStart\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"-1\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352_flowchart-v2-crossEnd-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"17.7\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5;\"></path></marker><marker id=\"diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352_flowchart-v2-crossStart-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"-3.5\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5; stroke-dasharray: 1, 0;\"></path></marker><g class=\"root\"><g class=\"clusters\"></g><g class=\"edgePaths\"><path d=\"M266.297,27.628L277.721,26.357C289.146,25.085,311.995,22.543,334.185,22.959C356.375,23.376,377.907,26.752,388.673,28.44L399.439,30.128\" id=\"diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352-L_Local_TD_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_Local_TD_0\" data-points=\"W3sieCI6MjY2LjI5Njg3NSwieSI6MjcuNjI4MDU3Njk2MTA3NDl9LHsieCI6MzM0Ljg0Mzc1LCJ5IjoyMH0seyJ4Ijo0MDMuMzkwNjI1LCJ5IjozMC43NDc2NjE0Njk5MzMxODV9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352_flowchart-v2-pointEnd)\"></path><path d=\"M403.391,53.252L391.966,55.044C380.542,56.835,357.693,60.417,335.506,61.011C313.32,61.605,291.796,59.21,281.034,58.012L270.272,56.814\" id=\"diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352-L_TD_Local_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_TD_Local_0\" data-points=\"W3sieCI6NDAzLjM5MDYyNSwieSI6NTMuMjUyMzM4NTMwMDY2ODE1fSx7IngiOjMzNC44NDM3NSwieSI6NjR9LHsieCI6MjY2LjI5Njg3NSwieSI6NTYuMzcxOTQyMzAzODkyNTF9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352_flowchart-v2-pointEnd)\"></path></g><g class=\"edgeLabels\"><g class=\"edgeLabel\" transform=\"translate(335.04842, 20.03209)\"><g class=\"label\" data-id=\"L_Local_TD_0\" transform=\"translate(-43.546875, -12)\"><foreignObject width=\"87.09375\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><p>tdx wf push</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(335.04842, 63.96791)\"><g class=\"label\" data-id=\"L_TD_Local_0\" transform=\"translate(-38.8671875, -12)\"><foreignObject width=\"77.734375\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><p>tdx wf pull</p></span></div></foreignObject></g></g></g><g class=\"nodes\"><g class=\"node default\" id=\"diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352-flowchart-Local-0\" data-look=\"classic\" transform=\"translate(137.1484375, 42)\"><rect class=\"basic label-container\" style=\"\" x=\"-129.1484375\" y=\"-27\" width=\"258.296875\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-99.1484375, -12)\"><rect></rect><foreignObject width=\"198.296875\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>workflows/myproject/*.dig</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352-flowchart-TD-1\" data-look=\"classic\" transform=\"translate(475.15625, 42)\"><rect class=\"basic label-container\" style=\"\" x=\"-71.765625\" y=\"-27\" width=\"143.53125\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-41.765625, -12)\"><rect></rect><foreignObject width=\"83.53125\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Treasure AI</p></span></div></foreignObject></g></g></g></g></g><defs><filter id=\"diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352-drop-shadow\" height=\"130%\" width=\"130%\"><feDropShadow dx=\"4\" dy=\"4\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#FFFFFF\"></feDropShadow></filter></defs><defs><filter id=\"diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352-drop-shadow-small\" height=\"150%\" width=\"150%\"><feDropShadow dx=\"2\" dy=\"2\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#FFFFFF\"></feDropShadow></filter></defs><linearGradient id=\"diagram-323483fa029ccaa22d7665f00594c59835df4e563db3e6f51cbdc7f1b9eed352-gradient\" gradientUnits=\"objectBoundingBox\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\"><stop offset=\"0%\" stop-color=\"#cccccc\" stop-opacity=\"1\"></stop><stop offset=\"100%\" stop-color=\"hsl(180, 0%, 18.3529411765%)\" stop-opacity=\"1\"></stop></linearGradient></svg>"},"children":["flowchart LR\n    Local[\"workflows/myproject/*.dig\"]\n    TD[Treasure AI]\n\n    Local -->|\"tdx wf push\"| TD\n    TD -->|\"tdx wf pull\"| Local\n"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx wf"]}," commands help you manage workflow projects as local files. You can ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pull"]}," existing projects from Treasure AI, edit them locally, and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["push"]}," changes back."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"success","name":"Session Context"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The default project is stored in your session context (same as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx use"]},"). Running ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx wf pull"]}," also sets the default project automatically. Use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx use"]}," to view all current session settings."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"list-projects-and-workflows","__idx":7},"children":["List Projects and Workflows"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The list commands display results in a compact list format by default, with status icons and relevant metadata."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# List all workflow projects (default: 100)\ntdx wf projects\n\n# Filter projects by pattern\ntdx wf projects \"cdp_segment_*\"\n\n# Fetch more projects with --limit\ntdx wf projects --limit 200\n\n# Output as table format\ntdx wf projects --format table\n\n# List all workflows\ntdx wf workflows\n\n# List workflows for specific project\ntdx wf workflows myproject\n\n# Filter workflows by project pattern\ntdx wf workflows \"lda*\"\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Output format:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Projects: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["📁 project_name"]}," (with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["(system)"]}," label for system workflows)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Workflows: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["📋 workflow_name (project_name)"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When results may be truncated, a hint is shown: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["(use --limit to show more)"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"sessions-and-attempts","__idx":8},"children":["Sessions and Attempts"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Sessions and attempts are displayed with status icons indicating their state."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# List all workflow sessions\ntdx wf sessions\n\n# List sessions for specific project\ntdx wf sessions myproject\n\n# List sessions for specific workflow\ntdx wf sessions myproject.daily_etl\n\n# Filter sessions by status\ntdx wf sessions --status error\ntdx wf sessions --status running\n\n# Filter sessions by time range\ntdx wf sessions --from \"2025-01-01\" --to \"2025-01-31\"\n\n# Fetch more sessions\ntdx wf sessions --limit 200\n\n# List all attempts\ntdx wf attempts\n\n# List attempts including retried\ntdx wf attempts --include-retried\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"interactive-session-navigation","__idx":9},"children":["Interactive Session Navigation"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In interactive mode (terminal), ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx wf sessions"]}," displays a cursor-based selector allowing you to navigate to a session's timeline view:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# View sessions interactively\ntdx wf sessions myproject\n\n# Use arrow keys to navigate, Enter to view timeline, Esc to exit\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["How it works:"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Sessions are displayed in timeline format"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["An interactive selector appears with sessions listed"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use ↑↓ arrow keys to navigate"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Press Enter to view the selected session's timeline"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Press Esc to exit and view the static session list"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Non-interactive mode:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["When piping output: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx wf sessions | grep \"success\""]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["When using ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--format"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx wf sessions --format json"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["When writing to file: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx wf sessions --output sessions.txt"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Status icons:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["✅ success"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["❌ error"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["🔄 running"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["🛑 canceling"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["⏳ pending"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Output format:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Sessions: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status_icon project.workflow session_time status"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Attempts: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status_icon project.workflow #attempt_id session_time status"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"attempt-management","__idx":10},"children":["Attempt Management"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attempt"]}," command provides subcommands for managing workflow attempts:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"tdx wf attempt <attempt-id> [action] [args...]\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"show-attempt-details","__idx":11},"children":["Show Attempt Details"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# Show specific attempt details\ntdx wf attempt 67890\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"view-tasks","__idx":12},"children":["View Tasks"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# Show tasks for an attempt\ntdx wf attempt 67890 tasks\n\n# Show tasks including subtasks\ntdx wf attempt 67890 tasks --include-subtasks\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"view-logs","__idx":13},"children":["View Logs"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# View logs with interactive task selector\ntdx wf attempt 67890 logs\n\n# View logs for a specific task\ntdx wf attempt 67890 logs +step1\n\n# List available log files as JSON\ntdx wf attempt 67890 logs --json\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When no task name is provided, an interactive selector will display available tasks with their log file sizes."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"kill-attempt","__idx":14},"children":["Kill Attempt"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# Kill a running attempt (with confirmation)\ntdx wf attempt 67890 kill\n\n# Kill with reason and skip confirmation\ntdx wf attempt 67890 kill --reason \"manual stop\" -y\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"timeline-visualization","__idx":15},"children":["Timeline Visualization"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["View task execution timeline as an ASCII Gantt chart, showing when each task started, its duration, and current status with colored bars."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# Interactive session selector\ntdx wf timeline\n\n# Show latest session for specific workflow (uses session context for project)\ntdx wf use myproject\ntdx wf timeline daily_etl\n\n# Filter by project and workflow\ntdx wf timeline myproject.daily_etl\n\n# Direct navigation using session or attempt ID\ntdx wf timeline --session-id 12345\ntdx wf timeline --attempt-id 67890\n\n# Follow running attempt with live updates\ntdx wf timeline daily_etl --follow\n\n# JSON output for scripting\ntdx wf timeline myproject.daily_etl --format json\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"direct-timeline-navigation","__idx":16},"children":["Direct Timeline Navigation"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can jump directly to a specific session or attempt using ID options:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# Show timeline for a specific session (uses last attempt)\ntdx wf timeline --session-id 12345\n\n# Show timeline for a specific attempt\ntdx wf timeline --attempt-id 67890\n\n# Combine with --follow for live updates\ntdx wf timeline --attempt-id 67890 --follow\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Option priority:"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--attempt-id"]}," - Uses the attempt ID directly (highest priority)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--session-id"]}," - Fetches the session and uses its last attempt"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["[project.workflow]"]}," - Interactive selector or auto-select latest"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If both ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--attempt-id"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--session-id"]}," are provided, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--attempt-id"]}," takes precedence."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example Output:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"Attempt #164700627 - success - 5m 23s\n                                 2026-01-03   14:15:00    14:16:20    14:17:40    14:19:00    14:20:20\n✅ +extract_users                  (1m 20s)│───────────────────────                                          │\n✅ +transform_data                 (2m 45s)│            ─────────────────────────────────                    │\n✅ +load_to_warehouse              (3m 10s)│                                    ───────────────────────────  │\n❌ +send_notification                 (5s)│                                                            ×××   │\n✅ +cleanup                          (45s)│                                                               ───│\nTotal: 5  ✅ 4  ❌ 1  🔄 0  ⏳ 0\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Timeline Features:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Colored lines"]}," show task execution periods:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["✅ Green lines (─) for successful tasks"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["❌ Red X marks (×) for failed tasks"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["🔄 Blue lines (─) for running tasks"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["🛑 Yellow lines (─) for blocked tasks"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["⏳ Dim dashes (─) for planned tasks"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Time axis"]}," with auto-scaled labels (seconds to hours)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Task statistics"]}," showing success/error/running counts"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Live updates"]}," with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--follow"]}," flag (refreshes every 2 seconds)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Console URL"]}," link for detailed view in web UI"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"timeline-options","__idx":17},"children":["Timeline Options"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Option"},"children":["Option"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--session-id <id>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Show timeline for specific session (uses last attempt)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--attempt-id <id>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Show timeline for specific attempt"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--follow"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Follow/watch timeline for running attempts (auto-refresh every 2s)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--limit <n>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Limit sessions shown in selector (default: 50)"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"use-cases","__idx":18},"children":["Use Cases"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Monitor running workflows:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"tdx wf timeline myproject --follow\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Analyze completed workflow:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"tdx wf timeline myproject.nightly_batch\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Export timeline data:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"tdx wf timeline myproject.daily_etl --format json > timeline.json\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"retry-attempt","__idx":19},"children":["Retry Attempt"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# Retry attempt\ntdx wf attempt 67890 retry\n\n# Retry attempt from specific task\ntdx wf attempt 67890 retry --resume-from +step2\n\n# Retry with parameter override\ntdx wf attempt 67890 retry --params '{\"key\":\"value\"}'\n\n# Force retry without confirmation\ntdx wf attempt 67890 retry --force -y\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"run-workflow","__idx":20},"children":["Run Workflow"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Start a new workflow run (attempt) directly from the command line."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# Start a workflow run\ntdx wf run myproject.myworkflow\n\n# Start with parameters\ntdx wf run myproject.myworkflow --param key1=value1 --param key2=123\n\n# Start with multiple parameters\ntdx wf run myproject.myworkflow --param env=production --param date=2025-01-15 --param count=100\n\n# Start with custom session time\ntdx wf run myproject.myworkflow --session-time \"2025-01-15T10:00:00Z\"\n\n# Combine parameters and session time\ntdx wf run myproject.myworkflow --param env=staging --session-time \"2025-01-15T00:00:00+09:00\"\n\n# Preview the task graph without executing (flags side-effecting tasks)\ntdx wf run myproject.myworkflow --dry-run\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"run-options","__idx":21},"children":["Run Options"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Option"},"children":["Option"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--param <key=value>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Workflow parameter (repeatable)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--session-time <time>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Session time in ISO 8601 format (default: now)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dry-run"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Show the task graph and side-effect warnings without executing"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"dry-run-preview","__idx":22},"children":["Dry-Run Preview"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dry-run"]}," fetches the workflow definition, prints the task tree, and highlights tasks that"," ","would cause external side effects. The workflow is ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["not"]}," started."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Side-effecting operators are flagged:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Operator / pattern"},"children":["Operator / pattern"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Label"},"children":["Label"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_run>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["⚠️  ACTIVATION"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["http>"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["http_call>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["⚠️  HTTP call"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mail>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["⚠️  Email send"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td>"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_for_each>"]}," with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["result_connection: <name>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["⚠️  DATA EXPORT → <name>"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td>"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_for_each>"]}," with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["result_url: <url>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["⚠️  DATA EXPORT → <url>"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tasks nested under Digdag wrapper blocks (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["_do"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["_error"]},", retry groups, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["if>"]},"/",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["for_each>"]}," ","bodies) are walked recursively — nothing is silently dropped."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Example:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ tdx wf run kfc_email.daily_campaign --dry-run\nWorkflow: kfc_email.daily_campaign\nSession time: 2026-04-24T11:40:00Z\nParameters: {}\n\nTask graph:\n  +prepare\n    td> queries/select_audience.sql\n  +export_usage\n    td> queries/usage_report.sql   ← ⚠️  DATA EXPORT → google_sheet_oauth\n  +send_email\n    td_run> activation_kfc_lunch   ← ⚠️  ACTIVATION\n  +notify\n    http> https://hooks.slack.com/…   ← ⚠️  HTTP call\n\n⚠️  This workflow contains 1 activation, 1 HTTP call, and 1 data export.\n\n[Dry run] Workflow was NOT executed.\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Exit code is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0"]}," when the preview completes. Plain ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td>"]}," tasks without result output"," ","produce no warning."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parameter-type-detection","__idx":23},"children":["Parameter Type Detection"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Parameter values are automatically parsed:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Numbers: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--param count=100"]}," → ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{\"count\": 100}"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Booleans: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--param enabled=true"]}," → ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{\"enabled\": true}"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Strings: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--param name=hello"]}," → ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{\"name\": \"hello\"}"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["JSON: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--param config={\"a\":1}"]}," → ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{\"config\": {\"a\": 1}}"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"session-retry","__idx":24},"children":["Session Retry"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To retry a session (as opposed to a specific attempt), use the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["retry"]}," command with the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["session:"]}," prefix:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# Retry entire session\ntdx wf retry session:12345\n\n# Retry session from specific task\ntdx wf retry session:12345 --from-task +step2\n\n# Retry with parameter override\ntdx wf retry session:12345 --params '{\"key\":\"value\"}'\n\n# Retry with params from file\ntdx wf retry session:12345 --params @params.json\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"project-management","__idx":25},"children":["Project Management"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"pullpush-workflow","__idx":26},"children":["Pull/Push Workflow"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pull"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["push"]}," commands provide a sync-style workflow for managing workflow projects locally, similar to how ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx sg"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx journey"]}," work for segments."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# Pull project to local folder\ntdx wf pull myproject                    # Creates workflows/myproject/\n\n# Pull to custom directory\ntdx wf pull myproject ./my-workflows\n\n# Pull specific revision\ntdx wf pull myproject --revision v1.0.0\n\n# Preview changes without writing\ntdx wf pull myproject --dry-run\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After pulling, your local folder will contain:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx.json"]}," - Project metadata for sync tracking"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["*.dig"]}," - Workflow definition files"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["*.sql"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["*.py"]},", etc. - Supporting files"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# Push local changes back to TD\ncd workflows/myproject\ntdx wf push\n\n# Push from specific directory\ntdx wf push ./workflows/myproject\n\n# Push with custom revision\ntdx wf push --revision v2.0.0\n\n# Preview changes without pushing\ntdx wf push --dry-run\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The push command will:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Compare local files with the remote project"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Show a summary of changes (new, modified, deleted files)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Display diffs for modified files"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Ask for confirmation before pushing"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"clone-project","__idx":27},"children":["Clone Project"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["clone"]}," command creates a copy of a workflow project with a different name. This is useful for:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Deploying workflows to different environments (dev → staging → prod)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Creating variations of existing workflows"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Pushing to different TD profiles (cross-profile deployment)"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# Clone from a local directory to a new project name\ntdx wf clone workflows/myproject --name myproject-staging\n\n# Clone using session context\ntdx wf use myproject\ntdx wf clone --name myproject-prod\n\n# Clone with custom revision\ntdx wf clone workflows/myproject --name myproject-v2 --revision v2.0.0\n\n# Preview before creating\ntdx wf clone workflows/myproject --name myproject-test --dry-run\n\n# Cross-profile deployment\ntdx wf clone workflows/myproject --name myproject-prod --profile production\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The clone command will:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Check if the source directory contains valid workflow files"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Check if a project with the target name already exists"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Show a warning if the target project exists (will create new revision)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Ask for confirmation before creating/updating the project"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"success","name":"Difference from Push"},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["push"]}," updates the ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["same"]}," project (based on tdx.json)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["clone"]}," creates/updates a ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["different"]}," project with a new name"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"download-project-legacy","__idx":28},"children":["Download Project (Legacy)"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# Download workflow project (without tdx.json tracking)\ntdx wf download myproject\n\n# Download to specific directory\ntdx wf download myproject ./workflows\n\n# Download specific revision\ntdx wf download myproject --revision v1.0.0\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"upload-project-legacy","__idx":29},"children":["Upload Project (Legacy)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["upload"]}," command provides digdag-style push for users who prefer the traditional workflow:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# Upload workflow project (digdag-style)\ncd myproject\ntdx wf upload myproject\n\n# Upload with custom revision\ntdx wf upload myproject --revision v1.0.0\n\n# Upload from parent directory with path\ntdx wf upload ./myproject\n\n# Upload with --name override\ntdx wf upload myproject --name production_workflow\n\n# Upload without validation\ntdx wf upload myproject --skip-validation\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"delete-project","__idx":30},"children":["Delete Project"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# Delete workflow project (with confirmation)\ntdx wf delete myproject\n\n# Delete by project ID\ntdx wf delete 12345\n\n# Delete without confirmation\ntdx wf delete myproject -y\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"command-options","__idx":31},"children":["Command Options"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"list-commands-options","__idx":32},"children":["List Commands Options"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["These options apply to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["projects"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["workflows"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sessions"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attempts"]}," commands."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Option"},"children":["Option"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--limit <n>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Maximum results to return (default: 100, fetches multiple pages if needed)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--format <format>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Output format: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["table"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["json"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["jsonl"]}," (default: list style)"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"sessions-options","__idx":33},"children":["Sessions Options"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Option"},"children":["Option"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--status <status>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Filter by status (running, success, error, blocked, all)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--from <timestamp>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Start time filter (ISO 8601)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--to <timestamp>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["End time filter (ISO 8601)"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"attempts-options","__idx":34},"children":["Attempts Options"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Option"},"children":["Option"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--include-retried"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Include retried attempts"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"attempt-options","__idx":35},"children":["Attempt Options"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Option"},"children":["Option"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--include-subtasks"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Include subtasks in tasks output"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--reason <text>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Reason for killing the attempt"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--resume-from <task>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Resume from specific task (retry)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--params <json>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Override parameters for retry (JSON or @file.json)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--force"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Force retry even if not failed"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["-y, --yes"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Skip confirmation prompt"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"session-retry-options","__idx":36},"children":["Session Retry Options"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Option"},"children":["Option"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--from-task <task>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Resume from specific task"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--params <json>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Override parameters (JSON or @file.json)"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"pull-options","__idx":37},"children":["Pull Options"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Option"},"children":["Option"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--revision <revision>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Pull specific revision (default: latest)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dry-run"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Preview changes without writing files"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"push-options","__idx":38},"children":["Push Options"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Option"},"children":["Option"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--revision <revision>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Custom revision name (default: timestamp)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dry-run"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Preview changes without pushing"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--skip-validation"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Skip validation of .dig files"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"clone-options","__idx":39},"children":["Clone Options"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Option"},"children":["Option"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--name <name>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Name for the new project (required)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--revision <revision>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Custom revision name (default: timestamp)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dry-run"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Preview without creating the project"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--skip-validation"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Skip validation of .dig files"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"upload-options-legacy","__idx":40},"children":["Upload Options (Legacy)"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Option"},"children":["Option"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--name <name>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Project name (default: directory name)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--revision <revision>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Revision name (default: timestamp)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--skip-validation"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Skip validation of .dig files"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"secrets-management","__idx":41},"children":["Secrets Management"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Manage secrets for workflow projects. Secrets can be used in workflow configurations (e.g., ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["${secret:td.apikey}"]},")."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"success","name":"Default Project"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Set a default project with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx wf use <project>"]}," to omit the project argument from secrets commands."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"list-secrets","__idx":42},"children":["List Secrets"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# List all secret keys for a project\ntdx wf secrets list myproject\n\n# With default project set (tdx wf use myproject)\ntdx wf secrets list\n\n# List secrets by project ID\ntdx wf secrets list 12345\n\n# Output as JSON\ntdx wf secrets list myproject --json\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"set-secret","__idx":43},"children":["Set Secret"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# Set a secret for a project\ntdx wf secrets set myproject td.apikey=YOUR_API_KEY\n\n# With default project set\ntdx wf secrets set td.apikey=YOUR_API_KEY\n\n# Set secret with value containing special characters\ntdx wf secrets set myproject DB_URL='postgres://user:pass@host:5432/db'\n\n# Set secret with spaces in value\ntdx wf secrets set myproject MESSAGE='Hello World'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"success","name":"Shell Quoting"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The shell handles quote removal, so use quotes to protect values with special characters or spaces:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["KEY='my value'"]}," → value is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["my value"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["KEY=\"value\""]}," → value is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["value"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"KEY='value'\""]}," → value is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'value'"]}," (quotes preserved)"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"delete-secret","__idx":44},"children":["Delete Secret"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# Delete a secret from a project (with confirmation)\ntdx wf secrets delete myproject td.apikey\n\n# With default project set\ntdx wf secrets delete td.apikey\n\n# Delete by project ID\ntdx wf secrets delete 12345 db.password\n\n# Delete without confirmation\ntdx wf secrets delete myproject td.apikey -y\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"secrets-command-reference","__idx":45},"children":["Secrets Command Reference"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Command"},"children":["Command"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx wf secrets list [project]"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["List secret keys for a project"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx wf secrets set [project] KEY=VALUE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Set a secret for a project"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx wf secrets delete [project] <key>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Delete a secret from a project"]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Project Resolution"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When project is omitted, it uses the default project set via ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx wf use"]},"."]}]}]},"headings":[{"value":"Workflow Commands","id":"workflow-commands","depth":1},{"value":"Commands","id":"commands","depth":2},{"value":"Navigation & Discovery","id":"navigation--discovery","depth":3},{"value":"Project Sync","id":"project-sync","depth":3},{"value":"Secrets","id":"secrets","depth":3},{"value":"Typical Usage","id":"typical-usage","depth":2},{"value":"How It Works","id":"how-it-works","depth":2},{"value":"List Projects and Workflows","id":"list-projects-and-workflows","depth":2},{"value":"Sessions and Attempts","id":"sessions-and-attempts","depth":2},{"value":"Interactive Session Navigation","id":"interactive-session-navigation","depth":3},{"value":"Attempt Management","id":"attempt-management","depth":2},{"value":"Show Attempt Details","id":"show-attempt-details","depth":3},{"value":"View Tasks","id":"view-tasks","depth":3},{"value":"View Logs","id":"view-logs","depth":3},{"value":"Kill Attempt","id":"kill-attempt","depth":3},{"value":"Timeline Visualization","id":"timeline-visualization","depth":3},{"value":"Direct Timeline Navigation","id":"direct-timeline-navigation","depth":3},{"value":"Timeline Options","id":"timeline-options","depth":3},{"value":"Use Cases","id":"use-cases","depth":3},{"value":"Retry Attempt","id":"retry-attempt","depth":3},{"value":"Run Workflow","id":"run-workflow","depth":2},{"value":"Run Options","id":"run-options","depth":3},{"value":"Dry-Run Preview","id":"dry-run-preview","depth":3},{"value":"Parameter Type Detection","id":"parameter-type-detection","depth":3},{"value":"Session Retry","id":"session-retry","depth":2},{"value":"Project Management","id":"project-management","depth":2},{"value":"Pull/Push Workflow","id":"pullpush-workflow","depth":3},{"value":"Clone Project","id":"clone-project","depth":3},{"value":"Download Project (Legacy)","id":"download-project-legacy","depth":3},{"value":"Upload Project (Legacy)","id":"upload-project-legacy","depth":3},{"value":"Delete Project","id":"delete-project","depth":3},{"value":"Command Options","id":"command-options","depth":2},{"value":"List Commands Options","id":"list-commands-options","depth":3},{"value":"Sessions Options","id":"sessions-options","depth":3},{"value":"Attempts Options","id":"attempts-options","depth":3},{"value":"Attempt Options","id":"attempt-options","depth":3},{"value":"Session Retry Options","id":"session-retry-options","depth":3},{"value":"Pull Options","id":"pull-options","depth":3},{"value":"Push Options","id":"push-options","depth":3},{"value":"Clone Options","id":"clone-options","depth":3},{"value":"Upload Options (Legacy)","id":"upload-options-legacy","depth":3},{"value":"Secrets Management","id":"secrets-management","depth":2},{"value":"List Secrets","id":"list-secrets","depth":3},{"value":"Set Secret","id":"set-secret","depth":3},{"value":"Delete Secret","id":"delete-secret","depth":3},{"value":"Secrets Command Reference","id":"secrets-command-reference","depth":3}],"frontmatter":{"seo":{"title":"tdx workflow - Workflow Management | Treasure Data","description":"Manage Treasure Data workflows with Digdag. Pull, push, run workflows and monitor sessions.","image":"/assets/og-image.ba836864a30434f560a4f7720f8a09019ad30ff828b20c5052ae933ba7121524.d7ef4821.png"}},"lastModified":"2026-05-18T01:25:54.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/treasure-code/commands/workflow","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}