Repository navigation
What's Changed
Added
fdx-readOffice file extraction — auto-detect.docxand.xlsxfiles and extract their content as Markdown alongside code/text files:.docxparsing: body text, tables, and headers/footers via a newofficemodule backed bydocx-rsandcalamine.xlsxparsing: worksheets rendered as Markdown tablesDocumentvariant dispatch infdx-readfor Office filesfdx-batchhandles Office files alongside code and text- New
fdx-rewritesubcommand (v0.2.0) wired into Cargo files
fdx graphcommand suite — fully replacescodegraphas the default code intelligence backend:fdx graph build— index the codebase into a local SQLite knowledge graphfdx graph query— run Cypher queries against the graphfdx graph report— show build status and warningsfdx graph deps/path/explain— dependency and call-path analysisfdx graph impact/status— symbol impact radius analysis- All agents now use
fdx-graphtool; bare symbol names resolve correctly - Build warnings are persisted; agent files excluded from indexing
- Artifact validation — checks run across
fd-execute,fd-review,fd-taskto ensure generated artifacts are valid - Skill permission registry —
skillGatesintegrated per-agent; permissions gate which skills an agent may invoke context-steward-triggersskill — manages context health thresholds, proactively triggers cleanup when memory pressure is high- Loop-detector exemption —
planning-stateread/read_plan actions bypass loop detection so legitimate orchestrator reads are not falsely flagged - fd-task state management — task initialization now creates
STATE.mdat Step 2 and usesupdates.*syntax for plan updates - Version-aware
fdxinstallation — bothinstall.shandpostinstall.mjsdetect when the installed binary is stale vscrates/fdx/Cargo.toml, and prompt to rebuild scripts/validate-docs.mjs— docs-vs-runtime guard that fails on missing commands, command/skill/agent count drift, command-directory parity, broken relative links, andVERSION/package.json.versionparitytests/tools/validate-docs.test.tswith six on-disk fixtures:ok,bad-count,bad-link,bad-state-path,bad-parity,bad-version- CI step in
.github/workflows/ci.ymlthat runs the validator on every push and PR
Changed
- BREAKING: per-project codebase scoping.
.codebase/storage moved to~/.fd-plan/<slug>/.codebase/. The legacy<repo>/.codebase/(and any symlinks) are realpath'd, migrated viafs.renameSync, and unlinked during the first call tocodebase-state. Eachbasename(directory)gets its own~/.fd-plan/<slug>/.codebase/— operating the same repo from two different project directories now yields separate codebase storage. All FlowDeck artifacts (repo-memory, audit-log, run-trace, verification-layer, guard-rails, session-start, tool-guard, research-gate, impact-radar, codegraph) resolve paths throughcodebaseDir()instead of hard-coding<repo>/.codebase/.... On-disk schema is unchanged. - Tool guard
fdxredirect split into its own flag —FDX_REDIRECT_ENABLEDis now independent of the main guard enable/disable, so test mode bypasses the redirect cleanly without breaking phase-enforcement tests - Token optimization block extracted as a shared prompt fragment — deduplicated and reused across all agent contracts
- Worktree naming convention —
phaserenamed towavethroughout documentation and test fixtures - Orchestrator graph adoption — orchestrator prompt now includes a "Graph Usage" section;
codegraphreferences dropped across orchestrator, mapper, agents, commands, rules, and skills - Mapper policy — replaced "CodeGraph-First Policy" with "graph-first" policy
- Improved redirect detection in shell command classifier (two-pass refactor)
- AGENTS.md contracts — updated agent contracts to enhance tool usage and route to
fdx-graph
Refactored
- All agents, mapper, and orchestrator now point to
fdx-graphinstead ofcodegraph - Legacy lessons migrated to a global file; lesson handling updated in the session-start hook
- Stale command documentation reverted to match runtime behavior
- Obsolete issue documentation removed (prompt surgery, context retention)
VERSIONfile removed (no longer needed)fd-task.mdclarified on research process and user interaction flowsHARNESS_WIRING, multi-repo, and workflow-router documentation removedcodegraphtool and related tests removedOrchestratorGuard-related tests removedguardRailsHook-related tests removed- Command documentation steps reorganized for clarity
Removed
code-tourskill documentation- Deprecated skills, related tests, and documentation fixtures
codebase-statetests and related functionality- Governance layer model selection sections from
README.md - Outdated
TODOS.mdfile
Fixed
fdxrepairswallowed most error returns — Rust bug voided error propagation (addressed in code review)LoopDetectorconstructor now receives the flatLoopDetectorConfig(flowdeckConfig.governance.loopDetection) instead of the wholeFlowDeckConfigobjectLoopDetectornow receives the loaded config object (was previouslyundefined)fdx-worktree.list— correctly extractstopicandphasefrom worktree path basenames (previously returnedtopic: nulldue to a regex mismatch)appendWithLock— replaced the busy-wait spin loop with explicit lock-state polling, added 5-second stale-lock detection, and made the 1-second timeout fallback explicit (logs to stderr instead of silently dropping the lock)- Symbol and import extraction via tree-sitter queries
- Skill count corrected from 41 to 42 in
README.mdanddocs/index.md - Worktree naming corrected in documentation (
phase→wave) - Agent behavior and error handling enhanced across commands
fdx-readclippy blockers in office output and docx parser (io::Error::otherinprint_office_json, collapsed nested if-let indocxEvent::Textarm)fdx-readfdx README — restored brief-verbatim text and crab emoji that had been corrupted to U+FFFD in a prior commitfdxrewritten to v0.2.1 inCargo.tomlandCargo.lock
Tests
fdx-readoffice detection paths covered- Per-test directory namespacing for office detection tests
- Coverage added for prompt fragment and contract registry
- Read-after-migration end-to-end coverage added with documentation
.gitkeepfixtures added to validator skill directories
Documentation
- All docs now point to
fdx-graphinstead ofcodegraph - Deferred follow-ups from the
fdx-graphengineering review recorded - Context health checks and proactive management guidelines added to orchestrator docs
- Token efficiency rules added to orchestrator, coder, and
fd-taskdocumentation - Behavioral guidelines refined in agent orchestration docs
- Synced
README.md,docs/index.md,mkdocs.yml,docs/commands/**to match runtime: removed 18 ghostdocs/commands/*.mdfiles for non-existent commands, retained the 8 shipping commands (fd-task,fd-review,fd-execute,fd-verify,fd-done,fd-checkpoint,fd-resume,fd-status), corrected counts (8 commands, 42 skills, 12 agents), and replaced stale.planning/references with~/.fd-plan/<slug>/ fdx-readtool README updated to describe Office extractionfdxbinary version reference clarified in FDX tool usage docs
New Contributors
- @sergiofspedro made their first contribution in #12
Full Changelog: 0.6.1...0.7.0