Skip to content

Automatically generates the prompts and selects the next function to decompile #3

@macabeus

Description

@macabeus

Currently, users must manually set up a prompts folder containing a Markdown file with the starter prompts and a .yaml configuration file.

The documentation encourages the user to use Kappa to generate the prompt automatically.

While this approach works, the overall flow can be automated.

Proposed improvement

We can streamline the process by extracting and internalizing some of Kappa’s core logic:

  1. Read kappa-db.json from Mizuchi

  2. Build a queue of candidate functions to decompile, ordered by difficulty

  3. Generate the initial prompt directly from Mizuchi

To support this, we will likely need a shared utility library that can be reused by both Mizuchi and Kappa.

Out of scope

Generating kappa-db.json from Mizuchi is out of scope for this issue.
We'll likely have a standalone CLI tool (decompcli?) to generate it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions