feat(slack): structured scoping-question modal for spec loop#19
Merged
ibuildthings-instrumentl merged 2 commits intodevfrom Apr 21, 2026
Merged
feat(slack): structured scoping-question modal for spec loop#19ibuildthings-instrumentl merged 2 commits intodevfrom
ibuildthings-instrumentl merged 2 commits intodevfrom
Conversation
…nput Add a new implementation plan for converting scoping questions into a Slack modal form. This includes modifications to the workflow prompt contract, Slack adapter for parsing and rendering the question schema, and handling modal submissions. The changes ensure that the workflow remains intact while enhancing user interaction through structured inputs. Related files updated include the workflow YAML, Slack adapter, and corresponding tests.
Convert free-text scoping questions in archon-slack-feature-to-review-app into a Slack modal form with typed inputs (yes/no, checkboxes, select, text). The workflow prompt emits an `archon-questions` fenced YAML schema on the first spec iteration. The Slack adapter parses it, renders an "Answer questions" button, opens a modal on click, and synthesizes formatted answers back into $LOOP_USER_INPUT. Falls back to existing Approve/Request changes gate when schema is absent or malformed. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
archon-slack-feature-to-review-appinto a Slack modal form with typed inputs (yes/no, checkboxes, select, text)archon-questionsfenced YAML schema on first spec iteration; Slack adapter parses it, renders "Answer questions" button, opens modal on click, and synthesizes formatted answers back into$LOOP_USER_INPUTChanges
.archon/workflows/defaults/archon-slack-feature-to-review-app.yaml— Updated spec loop first-iteration instructions to emit structured question schemapackages/adapters/src/chat/slack/adapter.ts— Added question parsing, modal rendering, answer formatting, and click/submit handlerspackages/adapters/src/chat/slack/adapter.test.ts— 8 new tests covering valid schema rendering, fallback paths, regression, and answer formattingpackages/adapters/package.json— Addedjs-yamldependencyTest plan
bun run cli validate workflows archon-slack-feature-to-review-app)🤖 Generated with Claude Code