Skip to content
This repository was archived by the owner on Sep 29, 2026. It is now read-only.
jinen-projectPublic archive

About

A four-file demo for separating PASS, HOLD, and STOP in AI workflows.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

Repository files navigation

Archived historical specimen.

The current runnable public workflow demo is reliable-ai-workflow-demo.

This repository remains available for provenance and can be reactivated if its specific specimen is needed.

wedge-case-0

A four-file demo for separating PASS, HOLD, and STOP in AI workflows. It focuses on making the stopped state visible, not on deciding what the rules should be.

Quick start

node demo.mjs                          # ⏸ HOLD (default)
node demo.mjs --case pass              # ✅ PASS
node demo.mjs --case hold --continue   # ✅ RESUMED (after the condition is met)
node demo.mjs --case stop              # ⛔ STOP

No install. No signup, no network, no dependencies — just Node.js. Add --play for paced output.

What you see

   ⏸  HOLD

       Reason            :  credential detected in outbound message
       Resume condition  :  remove the credential
       Human check       :  required before resume
       Record            :  hold_id=hold-001
   ⛔  STOP

       Reason            :  blocked destination or irreversible unsafe action
       Resume condition  :  none in this workflow
       Next step         :  create a new request — the rule lives outside this demo
       Record            :  stop_id=stop-001
  • STOP — must not continue; not resumed in this flow.
  • HOLD — can continue once a condition changes, so it carries a reason, a resume condition, a human check, and a record.
  • PASS — nothing matched; continues as-is.

Scope

The scenarios are hardcoded and the checks are simple placeholders — the demo does one thing: it separates STOP and HOLD so the reason, the resume condition, the human check, and the record each have a place to live.

Ran the demo?

Open an issue and leave one sentence.

What happened next?

For related runnable specimens and field notes, visit the Jinen Project public hub.

Background

Why the demo splits STOP and HOLD — a write-up (in Japanese): Separating STOP and HOLD in AI workflows


MIT-licensed. Four files. No dependencies.

About

A four-file demo for separating PASS, HOLD, and STOP in AI workflows.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages