Skip to content

feat(marketplace): add archon-idea-to-wo workflow (originally by @lamachine, #1647)#1678

Merged
github-actions[bot] merged 2 commits into
devfrom
feat/marketplace-add-archon-idea-to-wo
May 14, 2026
Merged

feat(marketplace): add archon-idea-to-wo workflow (originally by @lamachine, #1647)#1678
github-actions[bot] merged 2 commits into
devfrom
feat/marketplace-add-archon-idea-to-wo

Conversation

@coleam00

@coleam00 coleam00 commented May 14, 2026

Copy link
Copy Markdown
Owner

Summary

Credit

Workflow design, prompts, BKM Work Order template — all @lamachine (PR #1647). This PR is a packaging adaptation that moves the workflow from "bundled default" to "marketplace entry" so it can ship through the community channel.

UX Journey

Before

User wants to plan a feature
  │
  ▼
Reads PR #1647 description, sees the workflow proposed
  │
  ▼
Waits for Archon release + bundled-defaults regen + merge to dev → main
  │
  ▼
Eventually: archon workflow run archon-idea-to-wo  (only after release)

After

User wants to plan a feature
  │
  ▼
Visits archon.diy/workflows/ → sees archon-idea-to-wo entry
  │
  ▼
archon workflow install archon-idea-to-wo   ← directory walk @ pinned SHA
  │                                            (.archon/<slug>.yaml + commands/)
  ▼
archon workflow run archon-idea-to-wo "<idea>"
  │
  ▼
4 AI phases × 4 approval gates → Work Orders land in $ARTIFACTS_DIR/work-orders/

Architecture Diagram

Before / After

No module changes. Only packages/docs-web/src/data/marketplace.ts (data) is touched.

Connection inventory:

From To Status Notes
docs-web/marketplace.ts lint-marketplace.ts unchanged Lint passes against new entry (6/6)
docs-web/marketplace.ts /workflows/ Astro pages unchanged New detail page renders automatically
docs-web/marketplace.ts workflows.json.ts unchanged New row included in JSON endpoint
cli/workflow install coleam00/archon-idea-to-wo new Second external directory-format source after leex279/remotion-video-test

Label Snapshot

  • Risk: risk: low
  • Size: size: XS
  • Scope: web
  • Module: web:marketplace

Change Metadata

  • Change type: feature
  • Primary scope: web

Linked Issue

Validation Evidence (required)

$ bun packages/docs-web/scripts/lint-marketplace.ts
Linting 6 marketplace entries...
Verifying sources exist at pinned SHAs...
  ✓ [archon-piv-loop] ...
  ✓ [archon-fix-github-issue] ...
  ✓ [archon-comprehensive-pr-review] ...
  ✓ [archon-ralph-dag] ...
  ✓ [video-generic] directory verified at 4dac83c2
  ✓ [archon-idea-to-wo] directory verified at 3b0d5d82
Marketplace lint PASSED — all 6 entries valid.

$ bunx prettier --check packages/docs-web/src/data/marketplace.ts
All matched files use Prettier code style!

$ ARTIFACTS_DIR=.tmp bun .archon/scripts/marketplace-validate-schema.ts
{"valid":true,"files":[{"name":"archon-idea-to-wo.yaml","valid":true,"errors":[]}]}

$ ARTIFACTS_DIR=.tmp bun .archon/scripts/marketplace-security-scan.ts
{"severity":"none","finding_count":0,"findings":[]}
  • Evidence: marketplace-lint passed; schema validator parses the workflow YAML (8 nodes); deterministic security scanner reports zero findings across the workflow + all four command files at the pinned SHA.
  • Skipped: bun run test and bun run lint — no code paths touched, only a static data row.

Security Impact (required)

  • New permissions/capabilities? No
  • New external network calls? No (the workflow uses command: nodes only — no scripts, no bash: nodes invoking external services)
  • Secrets/tokens handling changed? No
  • File system access scope changed? No (workflow writes to $ARTIFACTS_DIR/work-orders/ only — pre-created by executor)

The new entry points at a third-party-style external GitHub repo (coleam00/archon-idea-to-wo). At install time, the CLI fetches files from the pinned SHA via the existing installDirectory path (host allowlist, isSafePathComponent, slug regex). Self-attestation per CONTRIBUTING.md: workflow does not exfiltrate, does not run destructive ops, and the SHA pins a reviewed state.

Compatibility / Migration

  • Backward compatible? Yes
  • Config/env changes? No
  • Database migration needed? No

Human Verification (required)

  • Verified scenarios:
    • GitHub Contents API resolves https://api.github.com/repos/coleam00/archon-idea-to-wo/contents/.archon?ref=3b0d5d82... → 200 OK with archon-idea-to-wo.yaml (file) + commands (dir).
    • Workflow YAML parses against @archon/workflows/loader — 8 nodes, no errors.
    • Deterministic security scanner against the source dir → severity none, 0 findings.
    • Blob SHAs in the new repo match the original PR feat(workflows): add archon-idea-to-wo interactive workflow #1647 byte-for-byte (5 files): workflow YAML + 4 command markdowns.
  • Edge cases checked:
    • Directory install layout — .archon/<slug>.yaml at root matches the installer's "named-after-slug or only-YAML" rule.
    • Commands subdir contains only the 4 referenced markdowns — installer fan-out walks one level deep, no nesting needed.
  • What was not verified:
    • End-to-end archon workflow install archon-idea-to-wo on a fresh repo — install code path was eyeballed against installDirectory() in packages/cli/src/commands/workflow.ts.
    • End-to-end archon workflow run archon-idea-to-wo against a real idea — all four approval-gate node types parse, but a full run-through with live AI was not performed.

Side Effects / Blast Radius (required)

  • Affected subsystems/workflows:
    • docs-web build (new detail page generated by getStaticPaths).
    • workflows.json endpoint (one more row).
    • archon workflow search/install CLI (one more discoverable slug).
    • marketplace-auto-review will fire on this PR — expected decision: auto_merge once flipped out of draft (scan clean, schema valid, scope clean).
  • Potential unintended effects:
    • If coleam00/archon-idea-to-wo is deleted, the Contents API lookup at install time will 404. SHA pinning protects content immutability but not repo availability.
  • Guardrails / monitoring for early detection:
    • marketplace-lint.yml runs on every PR touching marketplace.ts. A future stale SHA is caught by the directory existence check.

Rollback Plan (required)

  • Fast rollback: Revert this PR. Single-file change, no migrations.
  • Feature flags / config toggles: None.
  • Observable failure symptoms: lint failure on a future PR's CI run, or archon workflow install archon-idea-to-wo returning a 404.

Risks and Mitigations

  • Risk: Source repo coleam00/archon-idea-to-wo goes private or is deleted.
    • Mitigation: Owned under the same account as Archon itself; low risk. If it ever disappears, revert this entry.
  • Risk: Bob updates the original workflow in feat(workflows): add archon-idea-to-wo interactive workflow #1647 and the marketplace entry drifts behind.
    • Mitigation: SHA pin is intentional. Future improvements ship as new marketplace PRs bumping the SHA — explicit, reviewable.
  • Risk: author: 'lamachine' is the actual workflow author but the PR is opened by coleam00. Auto-review trust model assumes nothing about that mismatch.
    • Mitigation: None needed for auto-merge logic (decision branches on scan severity + AI recommendation, not on author match). Listed here for transparency.

Draft until ready — this PR is opened in draft so the auto-review workflow fires request_changes (per the workflow's draft check) without auto-merging. Will be flipped to ready-for-review on the marketplace launch livestream as the first community-authored merge.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added "Idea to Work Orders" marketplace entry with planning and development capabilities (requires Archon v0.3.0+).

Review Change Stack

Adds one entry to the marketplace registry for archon-idea-to-wo —
an interactive 8-node workflow that turns a raw idea into BKM-format
Work Orders through four AI phases with approval gates between each.

Originally authored by @lamachine in PR #1647, where it was proposed
as a bundled default. Repackaged as a standalone SHA-pinned external
repo (coleam00/archon-idea-to-wo) so it can be published through the
community marketplace without waiting for an Archon release.

- Author: lamachine
- Tags: planning, development
- Source: coleam00/archon-idea-to-wo @ 3b0d5d82 (directory format)
- archonVersionCompat: >=0.3.0

Closes #1647
@coderabbitai

coderabbitai Bot commented May 14, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 5755d110-95a5-4039-94f5-5e2c08eee9e6

📥 Commits

Reviewing files that changed from the base of the PR and between 3d290d8 and 3b26345.

📒 Files selected for processing (1)
  • packages/docs-web/src/data/marketplace.ts

📝 Walkthrough

Walkthrough

This PR adds a marketplace registry entry for the archon-idea-to-wo workflow, making it discoverable alongside other marketplace entries. The entry includes all required metadata: slug, author, description, source repository URL, pinned commit SHA, tags, and Archon version compatibility.

Changes

Marketplace Registry Update

Layer / File(s) Summary
Idea-to-Work-Orders marketplace entry
packages/docs-web/src/data/marketplace.ts
A new MarketplaceEntry object for archon-idea-to-wo is added to the exported marketplaceEntries array with author, description, GitHub source URL, pinned SHA, and archonVersionCompat: ">=0.3.0".

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • coleam00/Archon#1639: Both PRs modify the same marketplaceEntries array by adding a new entry with archonVersionCompat: ">=0.3.0".
  • coleam00/Archon#1638: Adds marketplace auto-review workflow that parses and validates entries in the marketplaceEntries registry that this PR populates.
  • coleam00/Archon#1624: Modified the same marketplaceEntries catalog structure that this PR extends with a new workflow entry.

Poem

🐰 A workflow takes its rightful place
In the marketplace's registry space,
From idea to orders, now listed with care,
For builders to discover and share!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: adding a new marketplace entry for the archon-idea-to-wo workflow with proper attribution and reference to the original issue.
Description check ✅ Passed The description follows the template structure with all key sections (Summary, UX Journey, Architecture, Labels, Validation, Security, Compatibility, Human Verification, Side Effects, Rollback, Risks) thoroughly completed with specific evidence and details.
Linked Issues check ✅ Passed The PR successfully addresses #1647 objectives by packaging the archon-idea-to-wo workflow as a marketplace entry, making it available through the new community channel path while maintaining byte-identical content and all functionality including the 4 command phases and approval gates.
Out of Scope Changes check ✅ Passed All changes are in-scope: only packages/docs-web/src/data/marketplace.ts is modified with a single registry entry addition, with no changes to code, schema, lint logic, install logic, or CLI surface as specified in the PR objectives.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/marketplace-add-archon-idea-to-wo

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Marketplace Auto-Review: Changes Requested

PR is in draft state. Mark as ready for review when complete.

Reviewed by Archon marketplace-pr-review-and-merge workflow.

@coleam00 coleam00 marked this pull request as ready for review May 14, 2026 14:08
PR was flipped to ready-for-review before the action's trigger list
included ready_for_review (fixed in d8d5a35 on dev). Empty commit
fires the synchronize event so the auto-review runs now that the
draft gate is cleared.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.

1 participant