PyCForge SDK 0.18.0 — Broader project recovery and a concise README
11 November 2026 · development distribution · not published

Outcome

Recovered and confirmed the saved SDK 0.17.0 source archive, wheel, verification
report and evidence. All four local hashes match the saved verification record.
The source archive declares 0.17.0 in both packaging and runtime versions and was
extracted into a separate work folder before editing. AGENTS.md, README guidance,
FRAMEWORK.md, the preserved improvement roadmap and the relevant setup, authoring,
extensibility, handoff, fixture and source-repair contracts were read.

The prior 0.16/0.17 test totals are historical baselines. This increment has its
own installed regression and compatibility evidence. PyCForge 1.3.108 is the
selected qualification engine; no production engine product files were changed.
CC retains publication control. The supplied Windows exercise guide is for CC's
review, not evidence that native Windows verification has already passed.

Concrete gaps and implemented behavior

1. Unsaved project identity/function fields, Help and fixture expectations had no
   durable checkpoint. They now save in an explicit .pcfdraft outside the project,
   with the original observed document/source identities and authoring navigation.
   A draft can retain incomplete values that cannot yet be saved to a live project.

2. Outside-change refusal protected disk files but left project-form edits without
   a reviewed continuation. File → Review current draft compares the original,
   edited and current document, flags changed sources, and retains the buffer.
   File → Open project draft works without an engine, even if the live project is
   missing. Review/resume needs a valid current target; missing files must be
   restored separately. Moved/foreign target paths can be explicitly adjusted.

3. Add/duplicate/rename/remove dialogs could lose unsubmitted inputs on exit.
   Their Save draft action retains one pending fixture operation, including the
   source and both run/rejection expectation inputs. Reopening creates no source
   file. Resume unfinished fixture restores those inputs and requires a new
   ordinary fixture plan before applying. Unchanged recovered CRLF text retains
   its exact saved text; actual edits use the existing Qt editor behavior.

4. Advanced project data could not preserve partially typed JSON. It can now save
   the raw buffer in a project draft before parsing succeeds. The recovery dialog
   permits correction and checkpointing. Malformed JSON, invalid form structure
   and unsupported required project schemas remain raw until corrected/supported;
   they cannot enter forms or acquire execution authority through recovery.

5. Closing unsaved work offered a live-project save that could itself be invalid
   or conflicting. Main-window close now offers Save draft. Fixture, advanced-JSON
   and recovery dialogs preserve edited buffers when checkpoint saving fails.
   Worker completion/cancellation uses the existing supervised lifecycle.

Shared services and effect boundaries

SDK.new_project_draft(snapshot, document=None, document_text=None,
                      fixture=None, navigation=None)
SDK.open_project_draft(filename)
SDK.save_project_draft(filename, draft, expected_sha256=None)
SDK.review_project_draft(draft)
SDK.resume_project_draft(draft, expected_sha256=..., expected_review_sha256=...)
SDK.apply_project_draft(draft, expected_sha256=..., expected_review_sha256=...)

CLI draft new/open/save/review/resume/apply uses the same public services and
Outcome envelope as Python and the desktop. The installed API documents complete
schema/state fields, request examples, hash roles, diagnostics and recovery limits.
Its new Python example was executed against the installed SDK.

Capture uses an unmodified observed open_project snapshot, not a silent reread of
current disk. Opening/saving checkpoints requires no engine or live project.
Review compares the complete current project identity. Resume returns buffers in
memory and writes no live file. Explicit Save reviewed project/apply repeats the
review and uses ordinary editor validation to commit only project.json.

Both current project and exact review hashes are required. Editing the document,
checkpoint base, navigation or pending fixture invalidates a review, as do changes
to current sources/expectations/other project inputs. A final cancellation and
currentness check precedes project-document commit; cancellation after commit
reports the completed save. Ordinary project Save shares this final check.

No automatic merge or expectation adoption occurs. Current sources are retained,
and a pending fixture is not applied by saving the project. Authors must reconcile
external document edits deliberately and retain alternatives before intentionally
replacing them. Previous packages, source files and evidence remain intact.
Source repair and setup retain their separate established formats and services.
Browsing, navigation and checkpoint saving neither execute fixtures nor refresh
verification. Unchanged inert review/cancellation retains existing desktop
readiness; explicit resumed authoring uses ordinary checks before packaging.

General SDK and engine ownership remain unchanged. There are no new SDK-side
library lists, conversion branches, operation assumptions or fixture-count limits.
Optional opaque engine data and absent fields are retained. Required unsupported
protocols are refused explicitly; conversion meaning, starters, forms, native
profiles and package admission remain engine-owned.

README and installed documentation

CC requested a shorter introduction with the audience and features up front.
README is reduced from 2,743 to 1,001 whitespace-delimited words (63.5% shorter).
It leads with human developers, engineers and AI programming tools, describes
New Project's five setup steps and optional authoring guide, then explains
features, saving/recovery, engine ownership and practical use.

The exact approved PCF SDK banner remains the first element above the version
heading. Its URL occurs once and is the README's only URL/hyperlink target.
HTTP 200 and the fetched PNG are retained; the rendered README was inspected.
The previous full README is preserved under docs/history/SDK-README-0.17.0.md.
The detailed guide is now maintained independently as docs/Guide.md and installed
as manuals/guide.md, with the former detailed instructions retained and recovery
added. API, local desktop Help, framework and directives are updated consistently.
Development history, test totals and release status remain outside the README.

Independent qualification

504 tests passed: 379 headless and 125 GUI, with no failures or skips in the
complete final run. This adds 39 headless and 15 GUI tests to the 0.17 baseline.
All collected test files and nodes are accounted for exactly once.

The complete final suite uses the exact delivered wheel installed in fresh SDK
virtual environments, with dependency packages reused from the existing test/Qt
environments. Test accounting records collection, completed calls, setup/teardown,
JUnit and imported module origins. Counts are distinct nodes, not sums of repeated
attempts. All loaded SDK modules originate in the intended final environment;
headless has no Qt, PyCForge or NumPy, and GUI has no PyCForge or NumPy.

New regression coverage includes incomplete/raw JSON round trips; missing project
and engine; unknown metadata and 65-case snapshots; exact observed base capture;
foreign paths, symlinks and capacity limits; occupied/replaced checkpoint files;
late source/document/draft changes; cancellation and I/O failure; process death
immediately before/after publication; structural/required-protocol refusal; CLI/API
parity; and postcommit reporting. Desktop covers retained forms/Help/expectations,
navigation, partial advanced JSON, both fixture expectation modes, close failures,
worker cancellation, inert readiness and separate pending-fixture application.

A failed-fixture recovery scenario first preserves a successful package, introduces
an independently specified wrong expectation, verifies the failure, checkpoints
and explicitly repairs the authored expectation, then confirms old evidence still
blocks packaging. Fresh explicit verification is required before a repaired package
can be built. The failed report and previous package remain unchanged during repair.

The frozen 577-file SDK payload passed the compatible engine-addition trial.
A disposable synthetic engine supplies new metadata, operation, starter and Help;
the SDK stays unchanged. API/CLI and actual desktop traverse draft capture, save,
review and resume for its 65-fixture project. Both native verification paths,
packaging, explicit registration and production conversion without the SDK pass.
An absent engine field remains absent until explicitly set. An incompatible
required workbench major is refused while preserving the compatible cache.
This is a synthetic compatible-addition trial, not a guarantee about all future protocols.

Layout checks at 100%, 150% and 200% pass for recovery and fixture dialogs: screens
fit, action labels fit and controls remain reachable. The content can scroll while
actions stay visible. Opening/reviewing these dialogs leaves project identity
unchanged. These are Linux Qt offscreen checks, not physical Windows acceptance.

Environment

Linux x86_64, glibc 2.41; Python 3.12.14; PySide6/Qt 6.12.0; GCC 14.2.0;
PCFC11 0.2.42 with its GNU backend. PyCForge 1.3.108 is installed independently;
older 1.3.60 and 1.3.61 compatibility installations remain in the regression suite.
All 1,025 engine payload files match the recovered engine wheel. Dependency checks
pass; commands, versions, paths, payload hashes and result accounting are retained.

Native Windows/macOS execution, other advertised Python versions, physical-display
acceptance, CC's Windows product review and independent unaided human/AI author
trials are not established by this Linux qualification. The supplied engine's
native verification profile remains Linux/GNU; metadata or a portable SDK wheel
does not grant Windows native compilation support.

Actual recovery limits

Checkpointing is explicit, not autosave or a whole-project backup. Project drafts
contain project authoring text, original document/source hashes, navigation and
one active unfinished fixture operation. Existing fixture source buffers use
.pcfrepair; New Project setup uses .pcfsetup. Small Set value/JSON-field dialog
entries must first be applied to the editor before a workspace checkpoint includes
them. No later unsaved edits are recoverable after process death.

No project/source trees, native artifacts, verification reports or packages are
backed up by a project draft. Restore missing live files separately before review.
Malformed JSON or unsafe/unsupported form structure remains inspectable and
checkpointable but must be corrected before form resume. Engine validity is not
inferred from a successful structural resume or checkpoint.

The raw edited document and canonical original document each have four-MiB bounds;
pending source retains the 256-KiB bound. Serialized checkpoints allow 32 MiB for
JSON escaping and other state. Live-project byte budgets still apply at save.
There is no separate suite-count ceiling. A draft does not override engine bounds.

New checkpoints publish complete flushed bytes through an exclusive same-volume
hard link. Unsupported filesystems fail explicitly. Tests establish absent-or-
complete named files at the tested publication boundary; interrupted publication
may leave a private .sdk-draft-* file. Replacement and document saves remain
optimistic single-writer one-file operations, without a global lock, directory
fsync, multi-file transaction or universal power-loss guarantee. Interrupted
fixture addition can still leave an unreferenced source under the 0.16 contract.

Development attempts retained

The first new GUI run exposed a handler name colliding with QDialog.finished;
renaming that handler resolved the connection failure. Initial 200% layout checks
caught clipped labels; fixed action grids and scrollable content pass all scales.
Those failed development logs/captures remain in evidence.

An early candidate qualification had a missing tests/ prefix in one partition's
command, so that partition collected no tests. The corrected follow-up passed its
71 existing fixture tests; no collection failure was counted as a product pass.
A subsequent review added explicit refusal of unsupported required project schemas
before form resume and two regression cases. The complete final qualification was
then rerun on the final frozen product with corrected commands. Earlier attempts
are historical development evidence, not additions to the final test total.

Preservation and assembly

All 4,472 baseline source paths are retained. The original roadmap and all 3,672
historical evidence/versioned-verification/history files are byte-identical to the
0.17.0 source. Original roadmap SHA-256:
f0c5460603217c151cdd4c6f95831f26b6be3fe52c793667375f1db469e16d61

The distribution audit checks source/wheel metadata and README equality, wheel
RECORD, entry points, optional GUI-only dependency policy, all 521 shared visual
hashes and the SDK mark, and both final installed payloads. The 577 product files
match the frozen tested wheel. Source bytecode caches are excluded. Neither the
engine nor a compiler is bundled. The exact final wheel is retained rather than
rebuilt after testing; the source adds the engineering report and evidence.

Final artifact hashes and the post-assembly audit appear in the external report
and evidence after source assembly, avoiding self-referential archive hashes.
CC alone decides and performs publication. No release has been published here.
