Skip to content

Fix hardcoded fmparse.sh path in Explode XML script#6

Open
marcoaperez wants to merge 1 commit intopetrowsky:mainfrom
Taiko-Solutions:fix/dynamic-fmparse-path
Open

Fix hardcoded fmparse.sh path in Explode XML script#6
marcoaperez wants to merge 1 commit intopetrowsky:mainfrom
Taiko-Solutions:fix/dynamic-fmparse-path

Conversation

@marcoaperez
Copy link

Summary

The Explode XML companion script has $fmparse hardcoded to ~/Desktop/agentic-fm/fmparse.sh, which requires the repo to live on the Desktop. This PR replaces it with a dynamic lookup from the $$AGENTIC.FM global variable that is already set by the Get agentic-fm path script.

Before:

"~/Desktop/agentic-fm/fmparse.sh"

After:

ConvertFromFileMakerPath ( JSONGetElement ( $$AGENTIC.FM ; "path" ) ; 1 ) & "fmparse.sh"

This resolves the limitation noted in filemaker/README.md — the repo can now be cloned anywhere on disk.

Changes

  • filemaker/agentic-fm.xml — Replace hardcoded path with ConvertFromFileMakerPath + $$AGENTIC.FM lookup
  • filemaker/README.md — Update the "Current limitation" note to reflect the fix
  • .gitignore — Add agent/sandbox/ and .venv/ (both are local working directories that should not be committed)

Test plan

  • Cloned repo to a non-Desktop location (~/Documents/GITs/...)
  • Ran Get agentic-fm path and selected the repo folder
  • Ran Explode XML — completed successfully with fmparse.sh resolved via $$AGENTIC.FM
  • Verified agent/xml_parsed/ was populated (623 files)
  • Verified agent/context/ index files were generated

Replace the hardcoded ~/Desktop/agentic-fm/fmparse.sh path with a
dynamic lookup from $$AGENTIC.FM using ConvertFromFileMakerPath. This
allows the repo to be cloned anywhere on disk.

Also add .venv/ and agent/sandbox/ to .gitignore.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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