home/productivity/aaps-dev-prompt-execution

AAPS Dev Prompt Execution

GPTClaudeDeepSeek··809 copies·updated 2026-07-14
aaps-dev-prompt-execution.prompt
Part 6 — Make `.aaps` executable with runtime, repair, and self-healing logic

Please make sure `.aaps` is not only a readable script format, parser format, and visualization format. It should also be executable.

AAPS should eventually behave like a real workflow runtime:

`.aaps script → parser → intermediate representation → execution plan → block execution → artifact generation → validation → recovery/repair → report`

The goal is that a user can select a project, select a working `.aaps`, click run, and AAPS will execute the workflow as much as possible.

1. Execution model

Please design and implement a minimal but real execution model.

Each block should be executable if it defines executable actions.

A block may contain actions such as:

- run Python code
- run a Python script
- run shell command
- call an internal tool
- call an external CLI
- call a model/API wrapper
- read/write files
- transform data
- generate artifacts
- validate outputs
- produce logs and reports

The grammar should support executable action declarations.

For example, the grammar may support something like:

when to use it

Community prompt sourced from the open-source GitHub repo lachlanchen/AAPS (Apache-2.0). A "AAPS Dev Prompt Execution" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

productivitycommunitydeveloper

source

lachlanchen/AAPS · Apache-2.0