Skip to content

Initial prompt engineering #155

@thejhh

Description

@thejhh

Below is a modular, six-stage prompting pipeline that takes a free-form routine description from a user and reliably yields fully-formed Gendo (.gnd) code. Each stage feeds the next; use or adapt the suggested prompt skeletons verbatim when possible.

Notes & Variations

  • Stages 2-5 can be automated loops; only Stage 1 may require human feedback if domain knowledge is unclear.
  • For very small routines, collapse Stages 3-5 into one direct code-generation prompt.
  • If async or file primitives appear in Stage 2, inject extra reference snippets describing their semantics before Stage 5.
  • Keep the reference prompt version-controlled; update once when Gendo spec evolves rather than editing every pipeline prompt.

This pipeline minimizes hallucination, forces explicit opcode selection, and progressively narrows context—from broad clarification to exact line-level code—yielding deterministic, standards-compliant .gnd output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions