Repository navigation
build: add src/pkg/kb to Delphi + Windows unit search paths (fix dcc64 F2613) - #216
Merged
Merged
Conversation
dcc64 failed with "F2613 Unit 'PasClaw.KB.Index' not found" because the knowledgebase package (added in #214) was wired into the Makefile's UNIT_DIRS but not into the Delphi/Windows build configs, which carry their own unit-path lists: - src/pasclaw/PasClaw.dproj DCC_UnitSearchPath — was missing only ..\pkg\kb (this is what produced the F2613 under RAD Studio/msbuild). - build-delphi.bat UNIT_PATH and build-fpc.bat FPCFLAGS — both had drifted well behind the Makefile, each missing stream, crypto, net, search, session, identity, memory\localvector, markdown AND kb. Resync all three to the Makefile's package set (adds kb everywhere plus the other drifted packages), so the Delphi and Windows-FPC builds match the Linux/macOS build. Pure search-path additions — no code change. Can't run dcc64 here (no Delphi/Windows toolchain), but verified by inspection that PasClaw.KB.Index/.Tools.KB/.Cmd.KB live under src/pkg/kb and src/cmd, which are now on every path list; the FPC Makefile build (which already had kb) is unaffected.
FMXExpress
pushed a commit
that referenced
this pull request
Jun 13, 2026
Both changelog files were stuck at the 2026-06-10 TUI / background- subagent / session_search / tool-RPC entries. ~7 weeks of merged PRs (#214 through #244) had landed without a corresponding entry in either file -- the git log was the only record of features like the knowledgebase, inbound MCP server mode, checkpoints + /undo, heartbeat daemon, shell backends (local | docker), send_message, promptware defense, Windows shell-output encoding fixes, fs_grep ripgrep optimisations, OpenTelemetry traces, and `pasclaw agent --quiet`. Added (newest first): 2026-06-13 #244 agent --quiet log-level clamp 2026-06-12 #243 dcc64 search path + agent --quiet / -q #242 OpenTelemetry traces (OTLP/HTTP+JSON) #241 fs_grep tier 5+6 (byte walker + Boyer-Moore-Horspool) #240 fs_grep tier 1-4 (deferred hash + skip-dirs + binary sniff + size cap) 2026-06-11 #239 Windows shell output: auto-detect UTF-8 vs OEM #238 Hashline fs_read header mojibake fix (¶ vs ¶) #237 Windows shell output: OEM codepage decode 2026-06-10 #233 Shell backends (local | docker via IShellBackend) #232 Heartbeat daemon + reversible condensation (CCR) #230 send_message tool + condenser families + promptware defense + task-aware MEMORY.md slicing 2026-06-09 #223 /goal Ralph loop + judge model + JSON-aware condenser #222 /undo wired into agent + sample dprojs #221 Checkpoints (auto-snapshot + TUI /undo) #220 mcp catalog: lenient hub projector #219 mcp: SSE / Streamable HTTP / stdio hub transports #218 Inbound MCP server mode #217 onboard: offer to index docs into the knowledgebase #214 Knowledgebase (RAG over operator-curated docs) Skipped from this changelog (build-system / Delphi-fix / FPC-fix PRs visible in the git log but not user-facing features): #215, #216, #224, #225, #226, #227, #228, #229, #231, #234, #236. Both files (README.md and docs/changelog.md) updated with the same entries -- intentional mirror so a reader on either surface sees the same history. Same prose in both; same footnote refs at the bottom. Validated: every [#N] reference in both files has a matching [#N]: URL footnote (no broken links).
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.
Fix:
F2613 Unit 'PasClaw.KB.Index' not found(dcc64)The knowledgebase package (
src/pkg/kb, added in #214) was wired into the Makefile'sUNIT_DIRSbut not into the Delphi/Windows build configs, which keep their own unit-path lists. So the Linux/macOS (FPC/Makefile) build worked, but Delphi (and Windows-FPC) couldn't findPasClaw.KB.Index:What was wrong
src/pasclaw/PasClaw.dproj(DCC_UnitSearchPath) — missing only..\pkg\kb. This is what produced the F2613 under RAD Studio / msbuild.build-delphi.bat(UNIT_PATH) andbuild-fpc.bat(FPCFLAGS) — both had drifted well behind the Makefile: each was missingstream,crypto,net,search,session,identity,memory\localvector,markdown, andkb.Fix
Resync all three Windows/Delphi unit-path lists to the Makefile's package set — adds
kbeverywhere plus the other drifted packages, so Delphi and Windows-FPC match the Linux/macOS build. Pure search-path additions; no source changes.Verification
I can't run
dcc64here (no Delphi/Windows toolchain), but verified by inspection thatPasClaw.KB.Index/PasClaw.Tools.KB/PasClaw.Cmd.KBlive undersrc/pkg/kb+src/cmd, which are now present on all three lists, and that the three lists match the Makefile's package set. The FPC Makefile build (which already hadkb) is unaffected.https://claude.ai/code/session_01LGQKz579j1ZnDRwmr6h1V6
Generated by Claude Code