Skip to content

Compact Mode

Compact Mode is Genie’s bounded representation for large or tool-driven script work. It keeps script analysis responsive without turning raw FileMaker XML into the default authoring surface.

You may see compact script evidence when AGENT, Local MCP, or Viewer needs a shorter representation of a large script.

  • Compact evidence is for understanding, planning, validation, and repair.
  • Apply output still uses FileMaker-compatible script artifacts.
  • Preview remains the review surface before Copy or Apply.
  • Exact XML can still be fetched for targeted debugging when needed, but normal authoring should use Script Schema.

Compact script evidence can include:

  • numbered script rows
  • step names and key arguments
  • curated args_preview values
  • selected carrier evidence for complex steps
  • diagnostics and hashes
  • active script identity when Script Workspace can resolve it

For complex steps, compact evidence may expose carrier previews for nested FileMaker XML shapes such as mail recipients, PDF options, import profiles, path lists, find requests, sort keys, window settings, or script parameters.

The compact Script Workspace Agent uses a lightweight launch path:

  1. It opens as an AGENT-only panel.
  2. It prepares Genie runtime, resources, model settings, Local MCP state, and initial FileMaker metadata.
  3. It may preload the active Script Workspace script name.
  4. It fetches exact content with genie_scripts action:get_content only when the request needs script evidence.

This avoids implicit full XML capture on open, send, focus, or window changes. Use explicit Refresh Selection / Capture when you want to capture current Script Workspace XML.

Compact Script Workspace Agent beside the active FileMaker script

When AGENT prepares a supported script artifact, the compact panel keeps the deliberate review actions visible: Preview, Copy, Create Script, and Apply. Create Script imports a new supported script only after you choose the action.

Compact Script Workspace Agent showing Preview, Copy, Create Script, and Apply actions

Use the expand control to continue the same result in the full Genie UI when you want more room to inspect assumptions, warnings, and the generated artifact.

Expanded Genie AGENT result after moving from the compact panel to the full UI

  • large script selections
  • AGENT turns that inspect or edit the current script
  • Local MCP script context reads
  • provider/context limits where compact context is safer
  • Viewer text-style previews for readability
  • For a focused refactor, capture or target the relevant script area before asking.
  • For named-script inspection, let AGENT fetch the named script with genie_scripts.
  • For exact carrier-heavy repairs, targeted XML evidence may still be needed.
  • Always use Preview before applying major script edits or creating a new script.