Skip to content

docs: refactor docs and rebrand project to AgentFlow#16

Merged
matheusgalvao1 merged 3 commits intomainfrom
codex/polish-documentation
Feb 27, 2026
Merged

docs: refactor docs and rebrand project to AgentFlow#16
matheusgalvao1 merged 3 commits intomainfrom
codex/polish-documentation

Conversation

@matheusgalvao1
Copy link
Collaborator

Summary

  • refactor repository documentation into a structured docs set (architecture, API, workflow semantics, persistence, configuration, troubleshooting)
  • rewrite root README and align AGENTS/CLAUDE guidance with current routes and runtime behavior
  • rebrand project-facing names from Agentic Workflow Builder to AgentFlow
  • update web in-app Help modal copy for end users
  • remove explicit license declarations for now (delete LICENSE and license fields from root/shared package manifests)

Validation

  • npm run typecheck:web

Notes

  • intentionally left internal package-scope imports unchanged to avoid breaking workspace dependencies

@coderabbitai
Copy link

coderabbitai bot commented Feb 27, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between fd2e07a and f3bda0f.

📒 Files selected for processing (3)
  • AGENTS.md
  • CLAUDE.md
  • docs/troubleshooting.md
✅ Files skipped from review due to trivial changes (1)
  • CLAUDE.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs/troubleshooting.md

📝 Walkthrough

Walkthrough

This PR renames the project branding to "AgentFlow" across docs and config, removes the Elastic License 2.0 from LICENSE, removes MIT license fields from several package.json files, changes localStorage keys in the workflow editor from agentic-* to agentflow-*, and adds substantial documentation (API reference, architecture, configuration, run persistence, troubleshooting, workflow semantics). It also reorganizes and rewrites many existing docs and help content, and updates HTML/title and package metadata.

Possibly related PRs

Suggested reviewers

  • maria-codesignal
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main changes: documentation refactoring and project rebranding from Agentic Workflow Builder to AgentFlow, which are the primary objectives of this PR.
Description check ✅ Passed The description comprehensively explains the PR objectives, including documentation restructuring, rebranding, README updates, and license removal, all of which are substantiated by the changeset.
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.


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

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🧹 Nitpick comments (2)
AGENTS.md (1)

72-75: Consider varying sentence structure for readability.

All three bullet points begin with "Subagent", which reads repetitively. A minor rewording could improve flow.

✏️ Optional rewording suggestion
 ## Subagent Graph Rules
 
-- Subagent links are tool-delegation edges, not execution edges.
-- Subagent hierarchies must remain acyclic.
-- Subagent targets are tool-only and cannot participate in regular execution edges.
+- Links between agents and subagents are tool-delegation edges, not execution edges.
+- Hierarchies must remain acyclic (e.g., `A -> B -> A` is invalid).
+- Targets of subagent links are tool-only and cannot participate in regular execution edges.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@AGENTS.md` around lines 72 - 75, Reword the three bullets that currently
start with "Subagent" to vary sentence structure while preserving meaning:
change "Subagent links are tool-delegation edges, not execution edges." to e.g.
"Links to subagents represent tool-delegation edges rather than execution
edges," change "Subagent hierarchies must remain acyclic." to e.g. "Hierarchies
of subagents must remain acyclic," and change "Subagent targets are tool-only
and cannot participate in regular execution edges." to e.g. "Targets of
subagents are tool-only and cannot participate in regular execution edges."
Ensure the revised bullets keep the original semantics and clarity.
docs/README.md (1)

1-1: File name is not kebab-case.

docs/README.md does not follow the repo naming convention. Consider renaming to a kebab-case name (for example, docs/documentation-map.md) and updating inbound links.

As per coding guidelines, **/*: Use kebab-case for file naming.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/README.md` at line 1, The filename docs/README.md violates the repo's
kebab-case rule; rename the file (e.g., to docs/documentation-map.md) and update
all inbound links and references (README.md -> documentation-map.md) across the
repo, CI docs manifests, and any navigation/index files so paths remain correct;
ensure the new kebab-case name is used consistently wherever README.md was
referenced.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@apps/web/src/app/workflow-editor.ts`:
- Around line 1601-1602: The storage key rename causes upgrades to lose
persisted data; add migration logic that on first load checks for legacy keys
'agentic-workflow' and 'agentic-run-id', copies their values into the new
STORAGE_KEY and RUN_KEY (the static getters STORAGE_KEY and RUN_KEY in the
workflow-editor module) and then clears or marks the legacy keys migrated;
implement this migration in the editor initialization path (e.g., the
constructor or loadFromStorage / init method) so existing localStorage entries
are preserved for upgrading users.

In `@CLAUDE.md`:
- Line 9: Update the documentation to explicitly state that the UI node labeled
"Condition" maps to the runtime/type field named "if" (i.e., UI "Condition" ==
runtime "if"); mention this mapping next to the list of node types (Start,
Agent, Condition, Approval) and add a short note that workflow definitions and
persisted run records use the "if" field for conditional logic to avoid
confusion during implementation and code reviews.

In `@docs/troubleshooting.md`:
- Around line 39-41: Update the documented endpoint names to match the actual
API routes by replacing the references to `/resume` and `/resume-stream` with
`/api/resume` and `/api/resume-stream` in the conflict explanation; ensure the
sentence “resume from only one client path at a time” also references the `/api`
prefix (e.g., “resume from only one /api client path at a time”) so the examples
and guidance exactly match the implemented routes.

---

Nitpick comments:
In `@AGENTS.md`:
- Around line 72-75: Reword the three bullets that currently start with
"Subagent" to vary sentence structure while preserving meaning: change "Subagent
links are tool-delegation edges, not execution edges." to e.g. "Links to
subagents represent tool-delegation edges rather than execution edges," change
"Subagent hierarchies must remain acyclic." to e.g. "Hierarchies of subagents
must remain acyclic," and change "Subagent targets are tool-only and cannot
participate in regular execution edges." to e.g. "Targets of subagents are
tool-only and cannot participate in regular execution edges." Ensure the revised
bullets keep the original semantics and clarity.

In `@docs/README.md`:
- Line 1: The filename docs/README.md violates the repo's kebab-case rule;
rename the file (e.g., to docs/documentation-map.md) and update all inbound
links and references (README.md -> documentation-map.md) across the repo, CI
docs manifests, and any navigation/index files so paths remain correct; ensure
the new kebab-case name is used consistently wherever README.md was referenced.

ℹ️ Review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0cd2e18 and fd2e07a.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (18)
  • AGENTS.md
  • CLAUDE.md
  • LICENSE
  • README.md
  • apps/web/docs/run-readiness.md
  • apps/web/index.html
  • apps/web/src/app/workflow-editor.ts
  • apps/web/src/data/help-content.ts
  • docs/README.md
  • docs/api.md
  • docs/architecture.md
  • docs/configuration.md
  • docs/run-persistence.md
  • docs/troubleshooting.md
  • docs/workflow-semantics.md
  • package.json
  • packages/types/package.json
  • packages/workflow-engine/package.json
💤 Files with no reviewable changes (2)
  • LICENSE
  • packages/workflow-engine/package.json

Comment on lines +1601 to +1602
static get STORAGE_KEY() { return 'agentflow-workflow'; }
static get RUN_KEY() { return 'agentflow-run-id'; }
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

# First, let's examine the specific file and lines mentioned
cat -n apps/web/src/app/workflow-editor.ts | sed -n '1595,1610p'

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 675


🏁 Script executed:

# Search for references to the old key names throughout the file
rg -n "agentic-workflow|agentic-run-id" apps/web/src/app/workflow-editor.ts

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 75


🏁 Script executed:

# Search for migration-related logic in the file
rg -n -i "migrate|legacy|old" apps/web/src/app/workflow-editor.ts

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 1043


🏁 Script executed:

# Get context around lines 1601-1602 to understand the class structure
sed -n '1590,1650p' apps/web/src/app/workflow-editor.ts | cat -n

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 2540


🏁 Script executed:

# Check git history for the specific lines to see if there was a change
git log -p --follow -S "agentic-workflow" -- apps/web/src/app/workflow-editor.ts | head -100

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 75


🏁 Script executed:

# Also check if there's any history of "agentflow-workflow" changes
git log --oneline -S "agentflow-workflow" -- apps/web/src/app/workflow-editor.ts | head -20

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 144


🏁 Script executed:

# Check for any reference to old keys anywhere in the entire codebase
rg -r "agentic-workflow|agentic-run-id" --type ts --type tsx

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 489


🏁 Script executed:

# Search for references to old keys properly
rg "agentic-workflow|agentic-run-id"

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 75


🏁 Script executed:

# Check the git history to see what the keys were originally called
git log --all --oneline -- apps/web/src/app/workflow-editor.ts | head -30

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 2005


🏁 Script executed:

# Check if there's any migration logic that may have been added recently
git log -p -- apps/web/src/app/workflow-editor.ts | grep -A 10 -B 10 "migrate\|legacy" | head -50

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 75


🏁 Script executed:

# Let's check the initial commit that created these storage keys
git log --all --diff-filter=A -- apps/web/src/app/workflow-editor.ts

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 460


🏁 Script executed:

# Let's look at the full git log for workflow-editor.ts with more detail
git log --oneline -20 -- apps/web/src/app/workflow-editor.ts

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 144


🏁 Script executed:

# Check the git show for one of the early commits to see what the initial keys were
git show 0f8b5f4:apps/web/src/app/workflow-editor.ts 2>/dev/null | grep -A 5 "STORAGE_KEY\|RUN_KEY" | head -20

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 838


🏁 Script executed:

# Find which commit changed the storage keys from agentic to agentflow
git log -p --all -- apps/web/src/app/workflow-editor.ts | grep -B 20 "agentflow-workflow" | head -50

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 75


🏁 Script executed:

# Get the commit that introduced agentflow-workflow
git log --all -S "agentflow-workflow" --oneline -- apps/web/src/app/workflow-editor.ts

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 144


🏁 Script executed:

# Check if there's any documentation or release notes mentioning this change
find . -type f \( -name "CHANGELOG*" -o -name "RELEASE*" -o -name "NEWS*" \) -exec grep -l "agentflow\|storage\|migration" {} \;

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 75


🏁 Script executed:

# Let's check the recent commits more carefully to understand the timeline
git log --oneline -50 | head -30

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 144


🏁 Script executed:

# Let's check what the current HEAD is and its commit message
git log -1 --format="%H %s"

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 177


🏁 Script executed:

# Let's check the git diff to see what changed in the current PR/branch
git diff HEAD~1 apps/web/src/app/workflow-editor.ts | grep -A 5 -B 5 "STORAGE_KEY\|RUN_KEY"

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 279


🏁 Script executed:

# Let's see the full commit that changed the keys
git log --all -p -- apps/web/src/app/workflow-editor.ts | grep -B 30 -A 10 "'agentflow-workflow'" | head -100

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 1494


🏁 Script executed:

# Check if this is a rebrand - look for package.json or README mentions
grep -r "agentflow" --include="*.json" --include="*.md" . 2>/dev/null | head -20

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 680


🏁 Script executed:

# Check if there's any code reading from the old storage keys
rg "agentic-workflow|agentic-run-id" --type ts --type tsx --type js

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 120


🏁 Script executed:

# Let's look at the loadInitialWorkflow method more carefully to see the full logic
sed -n '1618,1700p' apps/web/src/app/workflow-editor.ts | cat -n

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 3605


🏁 Script executed:

# Check if loadConfig or constructor has any migration logic
sed -n '1,100p' apps/web/src/app/workflow-editor.ts | cat -n

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 3597


🏁 Script executed:

# Let's check the constructor to see where migration might happen
ast-grep --pattern 'constructor($_) { $$$ }'

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 75


🏁 Script executed:

# Search for any migration code in the entire codebase
rg -i "migration|migrate" --type ts --type js

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 75


🏁 Script executed:

# Check the docs for any mention of breaking changes or migration
cat docs/architecture.md | grep -A 5 -B 5 "agentflow\|storage"

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 515


🏁 Script executed:

# Look at package.json to understand the product/version info
cat package.json | head -30

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 1411


🏁 Script executed:

# Check if there's a CHANGELOG or release notes
find . -iname "*change*" -o -iname "*release*" -o -iname "*migration*" | head -10

Repository: CodeSignal/learn_bespoke-agentic-workflow-builder

Length of output: 75


Storage key rename breaks localStorage persistence for upgrading users.

Changing from agentic-workflow/agentic-run-id to agentflow-workflow/agentflow-run-id means users upgrading to this version will lose their saved workflows and active run IDs. The old keys will remain orphaned in their localStorage.

Consider adding migration logic to read old keys and copy to new keys on first load, then optionally clear the legacy keys. Alternatively, if this breaking change is intentional as part of the rebrand, document it clearly in release notes so users are aware their local state will not persist.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@apps/web/src/app/workflow-editor.ts` around lines 1601 - 1602, The storage
key rename causes upgrades to lose persisted data; add migration logic that on
first load checks for legacy keys 'agentic-workflow' and 'agentic-run-id',
copies their values into the new STORAGE_KEY and RUN_KEY (the static getters
STORAGE_KEY and RUN_KEY in the workflow-editor module) and then clears or marks
the legacy keys migrated; implement this migration in the editor initialization
path (e.g., the constructor or loadFromStorage / init method) so existing
localStorage entries are preserved for upgrading users.

@matheusgalvao1 matheusgalvao1 merged commit f838e20 into main Feb 27, 2026
2 checks passed
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