refactor(workflow): migrate to YAML flow definitions and knowledge system#124
Merged
refactor(workflow): migrate to YAML flow definitions and knowledge system#124
Conversation
…stem - Replace static FLOW.md/WORK.md with YAML flow definitions in docs/flows/ - Add .flowception/ for session state tracking (gitignored) - Extract knowledge from skills into .opencode/knowledge/ wikilink system - Add create-knowledge skill for knowledge management - Add docs/flows/ with feature-flow, scope-cycle, arch-cycle, tdd-cycle YAMLs - Add scripts/check_knowledge.py for knowledge validation - Add docs/assets/workflow.svg visual asset - Update all skills to reference knowledge via wikilinks instead of inline content - Update AGENTS.md to reflect new workflow structure - Simplify FLOW.md and WORK.md to redirects
- Add version, exits, attrs to all flow YAML files - Remove type field (subflow implied by flow: presence) - Remove state-level requires/params/agent (moved to when/attrs) - Move agent assignments to flow-level attrs.agents mapping - Add flow-version constraints to subflow references - Convert requires (state-level) to when (transition-level) guards - Update flow skill to v3.0 with v1 format rules - Update state-machine knowledge with v1 spec
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
docs/flows/and session state tracking in.flowception/.opencode/knowledge/create-knowledgeskill for knowledge file managementscripts/check_knowledge.pyfor knowledge file validationdocs/assets/workflow.svgvisual asset[[wikilinks]]instead of duplicating inline contentKey Changes
docs/flows/*.yaml(4 YAML files).flowception/session-*.yaml.opencode/knowledge/wikilink systemWORK.md @state.flowception/session filesTesting
uv run task lintuv run task static-checkuv run task testpython scripts/check_knowledge.py