Skip to content

Add a new reference trace #2

Open

Description

@JieGroup

Flowtrace ships its examples as one-command builders under scripts/examples/<id>/. Each builder constructs a real trace folder under ~/traces/<id>/ (with its own .git) and walks the CLI lifecycle once to leave a demo run behind.

Add a new reference trace for a broadly useful, relatable task — for example:

  • changelog-from-commits — turn a git log into a grouped, human-readable changelog
  • recipe-from-pantry — ingredients in, a cooking plan out
  • meeting-notes — transcript in, decisions + action items out

Where to look

  • Copy the shape of an existing builder, e.g. scripts/examples/nested-deps/ (a clean diamond DAG) and the shared helpers in scripts/examples/_lib.sh.
  • The DAG + step contracts follow docs/trace/SCHEMA.md; see docs/trace/REFERENCE-TRACES.md for what each builder demonstrates.

Done when

  • bash scripts/examples/<id>/build.sh creates ~/traces/<id>/ and it renders in flowtrace serve.
  • The new example is listed in docs/EXAMPLES.md.

Good first issue — self-contained, follows an existing pattern. Comment to claim it before you start.

Activity

  1. added
    enhancement
    good first issue
    on Jun 2, 2026
  2. saviourmk commented on Nov 20, 2026

    @saviourmk

    Hi! I'd like to take this one. I'm planning a changelog-from-commits reference trace (git log in, grouped human-readable changelog out), following the nested-deps builder pattern, plus an entry in docs/EXAMPLES.md. PR coming soon.

  3. VTN-Thanh commented on Nov 21, 2026

    @VTN-Thanh

    Hi! I would like to pick this one up.

    I would add a changelog-from-commits reference trace: a builder under scripts/examples/changelog-from-commits/ modelled on nested-deps/, using the helpers in scripts/examples/_lib.sh, with the DAG and step contracts following docs/trace/SCHEMA.md, plus a line in docs/trace/REFERENCE-TRACES.md.

    I will run bash scripts/examples/changelog-from-commits/build.sh and the existing checks before opening a PR. Does that trace sound useful, or is there an id you would rather see first? Thanks!

  4. VTN-Thanh commented on Nov 22, 2026

    @VTN-Thanh

    Looks like @saviourmk claimed this a day before me and we both went for a changelog-from-commits trace, so I'll step back and leave it to them. Sorry for the noise — good luck with the trace!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions