PyCForge SDK

A workspace for human developers, engineers and AI tools creating *import conversion extensions. Desktop, command line and Python share the same authoring services.

Connect and discover

Startup searches known Python environments. Locate PyCForge accepts an environment, interpreter or installed landscape folder. Engine connection includes Find installed, This Python and the interpreter path. Windows virtual environments use Scripts/python.exe; Linux/macOS use bin/python. PyCForge shows its path in About → Distribution → SDK Python. Failed discovery preserves the last connection. Continue offline opens local projects and cached reference.

Refresh reads standardized files from the selected installation: index.json, api.xml/api.xsd, authoring.json/authoring.schema.json, workbench.json/workbench.schema.json and inventoried Help. Size and SHA-256 checks bind the snapshot. Compatible operations, forms and starters arrive as data without an SDK release. Unknown required protocols are refused before cache replacement. Optional metadata is preserved.

Create and author

  1. New Project: choose walkthrough or direct creation. The five setup steps cover starter, folder, package identity, export names and review. Back retains entries; Create writes the project.
  2. Edit: use the optional authoring guide for project details, functions, Help, fixtures and review. Direct editing and Advanced project data remain available.
  3. Save: project data and fixture source have separate saves. External changes block conflicting writes; review or reload explicitly.
  4. Scan: review required fields, documentation links and readiness. Navigation and browsing perform no conversion checks or verification.
  5. Check fixtures: preview conversion acceptance and expected rejection diagnostics. Select a finding to open the relevant source.
  6. Verify conversions: explicitly record the complete conversion suite and source-call/Help coverage. Cancel stops supervised engine work.
  7. Ready to package: current conversion evidence is required. Review the handoff and author expectations. Register package is a separate explicit action.

What the checks establish

The SDK never selects, probes or invokes a C compiler, directly or indirectly, and never runs generated programs. PyCForge owns Crucible's compatibility with C compilation. Verification checks conversion results only. Legacy fixture kind run retains author-declared stdout, stderr and exit expectations; these are not evaluated. A passing conversion check or registered package does not establish runtime correctness.

New reports use .pycforge-sdk/conversion-verification.json. Earlier verification.json reports, retained failure inputs and existing packages remain intact. Fixture results can display historical native records when no new report exists. Historical records do not approve new packaging. An engine providing authoring format 1.x is required for conversion verification; older files remain useful for reference and editing.

Save unfinished work and recover

Save setup stores New Project choices in .pcfsetup. Save project draft stores incomplete fields, Help, expectations, navigation and pending fixture inputs in .pcfdraft. Advanced project data can save incomplete JSON. Open project draft and Review current draft compare original, edited and current data before resuming or saving. A pending fixture needs its own review/apply. Save repair as and Open source repair preserve and compare one fixture source in .pcfrepair.

Keep checkpoints outside the project. They are explicit saves, not autosave or whole-project backups. Later unsaved edits and missing source files need separate recovery. Conflict checks are optimistic; saves are individual file commits, not multi-file transactions. New checkpoint files require hard-link support. Expected results are never replaced automatically by observed output.

Automation and failure review

Use pycforge-sdk manual for local documentation, --engine-python for a separate installation, and global --json for structured outcomes. Python clients import SDK from pycforge_sdk. Read status and diagnostics before using results; nonzero console exit codes mean the operation did not succeed. Incomplete, canceled and stale reports never approve packaging. Source and field locations retain the engine's diagnostic facts.

Refresh and explicitly verify conversions after project or engine changes. Runtime qualification belongs to PyCForge. The SDK contains no AI model or exemption for automated authors. Use the selected engine's conversion coverage and import manuals for exact supported operations.