Skip to content

Phase 4: bundled demo project for an instant Hub preview - #29

Merged
olehsvyrydov merged 7 commits into
mainfrom
feat/launch-demo
Jun 6, 2026
Merged

Phase 4: bundled demo project for an instant Hub preview#29
olehsvyrydov merged 7 commits into
mainfrom
feat/launch-demo

Conversation

@olehsvyrydov

@olehsvyrydov olehsvyrydov commented Jun 5, 2026

Copy link
Copy Markdown
Owner

What

Adds examples/demo/ — a realistic mid-flight project snapshot so the Hub is impressive in one command (no setup, screenshot-ready):

node hub/server.js examples/demo     # open http://localhost:4477

It shows:

  • Three ticketsADT-118 (done), ADT-124 (in review), ADT-130 (in dev).
  • The gate board for the active ticket under the regulated preset — CODE_REVIEWED is rejected (the review caught a missing rate-limit on the reset endpoint (ADT-130 follow-up)), SECOPS_APPROVED carries safety-override, others passed/pending.
  • Two knowledge-base docs.

All file-based: .aidevteam/workflow.yaml, .workflow-state.json (canonical ledger), docs/.

Notes

  • .gitignore keeps examples/demo/.workflow-state.json tracked (the generated-ledger ignore rule would otherwise drop the fixture).
  • README + hub/README point the Hub examples at the demo.

Verification

  • Ledger valid JSON; Hub renders it: board for ADT-124, CODE_REVIEWED rejected, 3 tickets, 2 KB docs.
  • Fences clean.

Add examples/demo/ — a realistic mid-flight snapshot so 'node hub/server.js
examples/demo' shows a populated board out of the box: three tickets (done /
in-review / in-dev), a regulated-preset gate board for the active ticket (with a
*rejected* CODE_REVIEWED — the review caught a token-TTL / rate-limit issue), and two
knowledge-base docs. File-based only (.aidevteam/workflow.yaml, .workflow-state.json, docs/).

- .gitignore: keep examples/demo/.workflow-state.json tracked (the generated-ledger
  ignore rule would otherwise exclude the demo fixture).
- README + hub/README: point the Hub usage examples at the bundled demo.
Copilot AI review requested due to automatic review settings June 5, 2026 21:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a bundled examples/demo/ project snapshot to make the local Hub instantly previewable (tickets + gate board + KB docs) without requiring users to create their own workflow state first.

Changes:

  • Adds examples/demo/ with a workflow definition, canonical .workflow-state.json ledger, and two KB markdown docs.
  • Updates top-level docs (README.md, hub/README.md) to point to the bundled demo for a one-command Hub preview.
  • Adjusts .gitignore to keep the demo’s .workflow-state.json fixture tracked despite the global ignore rule.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
README.md Adds “run Hub with examples/demo” quickstart and explains what the demo contains.
hub/README.md Documents the bundled demo as the fastest way to see Hub populated.
examples/demo/README.md Introduces the demo project contents and how to run Hub against it.
examples/demo/docs/security-review-adt-124.md Adds a sample SECOPS review doc for the demo ticket.
examples/demo/docs/adr-001-password-reset.md Adds a sample ADR doc backing the demo’s ticket narrative.
examples/demo/.workflow-state.json Adds a demo ledger with 3 tickets and gate states for Hub rendering.
examples/demo/.aidevteam/workflow.yaml Adds a demo workflow definition used to render gates/preset requirements.
.gitignore Un-ignores the demo ledger fixture so it remains committed.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread examples/demo/.aidevteam/workflow.yaml Outdated
Comment thread examples/demo/.aidevteam/workflow.yaml Outdated
Comment thread examples/demo/.workflow-state.json Outdated
Comment thread examples/demo/README.md Outdated
- Demo workflow.yaml header now states it is a project OVERRIDE (not the shipped
  default), clarifying the resolution cascade.
- The demo's regulated preset keeps all backends file-based (backlog_md/markdown)
  so the 'no setup' claim holds even if run through the engine, not just the Hub.
- Align the CODE_REVIEWED rejection narrative with the ADR/SECOPS docs: the issue is
  the missing rate-limit on the reset endpoint (ADT-130 follow-up), not the 15m token
  TTL (which both docs accept). Fixed in the ledger note + demo README.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.

Comment thread examples/demo/.aidevteam/workflow.yaml
Comment thread examples/demo/docs/security-review-adt-124.md
…proportionality

Annotate the demo's 'preset: regulated' and the proportionality comment to make
clear the demo intentionally pins regulated (always_required forces the heavy gates),
while the default solo preset forces nothing and lets proportionality classify.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.

Comment thread examples/demo/.aidevteam/workflow.yaml Outdated
…he Hub

The demo header now lists the Hub's actual 4-step resolution (adds the project-scope
.claude/workflow/ install step) and notes how it relates to the engine's documented
1-2 -> shipped-default contract.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.

Comment thread examples/demo/README.md Outdated
Comment thread examples/demo/docs/adr-001-password-reset.md Outdated
Use 'SecOps' for the role/team in demo prose (README + ADR), reserving all-caps for
the gate name SECOPS_APPROVED.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.

Comment thread hub/README.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated no new comments.

@olehsvyrydov
olehsvyrydov merged commit 4997df3 into main Jun 6, 2026
1 check passed
@olehsvyrydov
olehsvyrydov deleted the feat/launch-demo branch June 6, 2026 07:53
olehsvyrydov added a commit that referenced this pull request Jun 6, 2026
* Phase 4: bundled demo project for an instant Hub preview

Add examples/demo/ — a realistic mid-flight snapshot so 'node hub/server.js
examples/demo' shows a populated board out of the box: three tickets (done /
in-review / in-dev), a regulated-preset gate board for the active ticket (with a
*rejected* CODE_REVIEWED — the review caught a token-TTL / rate-limit issue), and two
knowledge-base docs. File-based only (.aidevteam/workflow.yaml, .workflow-state.json, docs/).

- .gitignore: keep examples/demo/.workflow-state.json tracked (the generated-ledger
  ignore rule would otherwise exclude the demo fixture).
- README + hub/README: point the Hub usage examples at the bundled demo.

* Address Copilot review on PR #29: demo fixture consistency

- Demo workflow.yaml header now states it is a project OVERRIDE (not the shipped
  default), clarifying the resolution cascade.
- The demo's regulated preset keeps all backends file-based (backlog_md/markdown)
  so the 'no setup' claim holds even if run through the engine, not just the Hub.
- Align the CODE_REVIEWED rejection narrative with the ADR/SECOPS docs: the issue is
  the missing rate-limit on the reset endpoint (ADT-130 follow-up), not the 15m token
  TTL (which both docs accept). Fixed in the ledger note + demo README.

* Address Copilot re-review on PR #29: clarify demo's pinned preset vs proportionality

Annotate the demo's 'preset: regulated' and the proportionality comment to make
clear the demo intentionally pins regulated (always_required forces the heavy gates),
while the default solo preset forces nothing and lets proportionality classify.

* Address Copilot re-review on PR #29: align demo header cascade with the Hub

The demo header now lists the Hub's actual 4-step resolution (adds the project-scope
.claude/workflow/ install step) and notes how it relates to the engine's documented
1-2 -> shipped-default contract.

* Address Copilot re-review on PR #29: SecOps capitalization in prose

Use 'SecOps' for the role/team in demo prose (README + ADR), reserving all-caps for
the gate name SECOPS_APPROVED.

* Demo: SecOps casing in the ledger rejection note too (consistency)

* Address Copilot re-review on PR #29: clarify the demo runs from the repo root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants