Skip to content

dproj: add pkg\stream to Delphi unit search paths - #215

Merged
FMXExpress merged 1 commit into
mainfrom
claude/delphi-stream-search-path
Jun 10, 2026
Merged

FMXExpress merged 1 commit into
mainfrom
claude/delphi-stream-search-path

Conversation

@FMXExpress

Copy link
Copy Markdown
Owner

Summary

PR #213 introduced src/pkg/stream/PasClaw.Stream.Reliability.pas but only added the new directory to the FPC Makefile's UNIT_DIRS. The Delphi dcc64 builds (src/pasclaw/PasClaw.dproj plus the three samples/component-console/Sample*.dproj) didn't pick it up, so they fail at the entry of nearly every compilation unit with:

[dcc64 Fatal Error] PasClaw.Config.pas(16): F2613 Unit 'PasClaw.Stream.Reliability' not found.

PasClaw.Config imports PasClaw.Stream.Reliability to surface the new TStreamReliabilityConfig record as a field of TConfig — that's the file the compiler hits first when crawling the dependency tree.

Fix

  • Add ..\pkg\stream (or ..\..\src\pkg\stream for the sample dprojs) to the <DCC_UnitSearchPath> in all four .dproj files.
  • Add the explicit <DCCReference> for the new unit in PasClaw.dproj so it shows up in the IDE project tree next to PasClaw.Providers.*.

Test plan

  • FPC build still green (make smoke)
  • Delphi build (dcc64) compiles PasClaw.dproj without F2613
  • Delphi build of SampleConsole.dproj / SampleServer.dproj / SampleSimple.dproj compiles cleanly

https://claude.ai/code/session_01TBcLtmpj7dqA5tyFbGnQon


Generated by Claude Code

PR #213 introduced src/pkg/stream/PasClaw.Stream.Reliability.pas but only
wired src/pkg/stream into the FPC Makefile's UNIT_DIRS. The Delphi dcc64
builds (PasClaw.dproj plus the three component-console samples) didn't pick
up the new directory, so they fail with:

  F2613 Unit 'PasClaw.Stream.Reliability' not found

at PasClaw.Config.pas's uses clause -- the entry point of nearly every
compilation unit in the project.

Fix: add ..\pkg\stream to the DCC_UnitSearchPath in PasClaw.dproj and the
three sample dprojs, and add the explicit DCCReference for the new unit in
PasClaw.dproj so the IDE's project tree shows it next to PasClaw.Providers.*.

https://claude.ai/code/session_01TBcLtmpj7dqA5tyFbGnQon
@FMXExpress
FMXExpress merged commit 6efe2d5 into main Jun 10, 2026
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).
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.

2 participants