PyCForge SDK 0.17.0 — Source repair checkpoints and conflict review
10 November 2026 · development distribution · not published

Outcome

Recovered the saved SDK 0.16.0 source, wheel, verification report and evidence.
The source and wheel versions and SHA-256 values match the saved report. The
source was extracted into a separate working folder before editing. The original
roadmap and applicable framework/editor/fixture/recovery contracts were reviewed.
Baseline 402-test results were treated as history; qualification below is new.

This increment adds explicit recovery for an existing fixture source buffer.
Human and AI clients share new/open/save/review/apply source repair services,
versioned data and ordinary Outcome diagnostics. PyCForge 1.3.108 remains the
qualification engine. No production engine, conversion semantics, operations,
starter catalogue, forms or native profiles were changed. CC alone publishes.

Concrete gaps and changes

1. The baseline retained a blocked source save only in memory. It offered no
   checkpoint to reopen after leaving the session. Save repair as now writes an
   inert .pcfrepair file outside the project, retaining original and edited text,
   original project identity and fixture path. File → Open source repair reopens
   it even when the project or engine is unavailable. Closing unfinished source
   offers Save repair and close, discard or keep editing; failure keeps it open.

2. The baseline correctly rejected external changes, but the source editor had
   no continuation through current-disk review. Review changes now compares the
   original, edited and current disk source and shows current fixture expectations.
   It flags divergence without merging or choosing a result. Apply repair requires
   the exact reviewed repair and current project hashes. Another change to source,
   expectations, other project inputs or the draft invalidates that review.

3. Qt normalizes displayed line endings. The editor now retains the exact loaded
   source when the displayed content is unchanged, preventing incidental CRLF
   rewriting on an unchanged save. Actual GUI edits still use Qt's edited text;
   this is not a general source-editor or line-ending conversion redesign.

4. Canceling an inert source view cleared valid desktop readiness in the baseline
   continuation. A recorded probe reproduced ready=true before and ready=false
   afterward while backend evidence was still valid. Return now checks fixture
   identity, retaining readiness when unchanged and flagging outside changes
   without silently loading them over the observed snapshot.

Review and execution boundaries

Review, checkpoint open/save and source navigation do not discover or call the
engine, execute source, adopt observed output as expectations, refresh verification,
package or register. Repair has no library/family/operation branches or case-count
ceiling. Current project.json bytes, unfamiliar engine metadata, other sources,
existing packages and evidence remain intact when applying a source repair.
Current affected cases include aliases using older valid relative path spellings.

Apply is an explicit replacement of one existing source with the author's exact
reviewed edited text. Current paths, UTF-8 and project/source budgets use the
shared editor checks. A final cancellation/currentness check precedes the
one-file commit; cancellation after commit reports the completed save. Normal
source Save now also rejects unencodable text as SDK_PROJECT rather than an
internal failure. Existing fixture add/duplicate/rename/remove retains its 0.16
single project-document commit and optimistic recovery contract.

After any source meaning change, existing readiness/build gates require fresh
verification. The actual failed-fixture test preserves a successful old package,
introduces a conversion failure, retains its failed report, applies an authored
repair, refuses packaging with the stale/failed evidence, then explicitly verifies
and builds the repaired project. No failed build replaces the prior package.

Public and desktop interfaces

SDK.new_source_repair(snapshot, filename, source=None)
SDK.open_source_repair(filename)
SDK.save_source_repair(filename, repair, expected_sha256=None)
SDK.review_source_repair(repair)
SDK.apply_source_repair(repair, expected_sha256=..., expected_review_sha256=...)

CLI: repair new, open, save, review and apply. Add --json for complete structured
records. The API manual documents request objects, both different hash roles,
CLI flags, diagnostics, budgets, review/apply rules and an executed Python example.
Desktop keeps direct Save source, optional authoring guidance and advanced editing.
Its Original, Edited, Disk and Review tabs retain independent text and expectations.
A reopened checkpoint must be reviewed before application. A repair for another
project does not replace the current workspace, and dirty project-form edits
block the Open repair entry. The exact target project is shown in the dialog.

Completed independent qualification

450 tests passed: 340 headless and 110 GUI. There are no unresolved failures or skips after
the documented follow-up. The initial final suite recorded 449 passes and one
40-second test deadline failure before the new review assertion. The accepted
record maps every collected node to one passing completed call, with partition
accounting, follow-up selection and JUnit results; overlapping passes are not
added to the distinct total. Relative to
the recovered 402-test baseline, this increment adds 34 headless and 14 GUI tests.
Earlier exploratory and candidate runs are retained separately, not added to the
distinct final total. The final code was frozen before this complete final run.

New coverage includes exact checkpoint round trips with the project missing;
future/malformed repair inputs; source/path/byte budgets; saved-file conflicts;
symlinks and occupied publication destinations; changed sources, expectations,
other files and reviewed text; external writes during final validation;
cancellation and I/O failure; postcommit cancellation; process death immediately
before and after checkpoint publication; preservation of source/package/report
bytes; actual failed-fixture repair; Python/CLI equality; and installed manuals.

Desktop tests cover review/apply separation, edited-buffer retention, reopened
checkpoint review requirements, failed save-on-close, pending-worker cancellation,
late disk changes, CRLF preservation, dirty project protection, opening without
a live project, explicit target display, and unchanged readiness on inert return.
Existing engine-upgrade, named/optional-argument, array/value, native/compiler,
legacy-engine, packaging, registration, Help, setup and worker checks also pass.

A final unchanged-SDK evolution trial passed API, CLI, actual desktop, native
compilation, packaging, explicit registration and a production consumer with no
SDK installed. Both API and desktop verify all 65 synthetic fixtures. Compatible
new operation/template/Help/optional metadata and an absent advertised field
remain data supplied by the disposable synthetic engine. Incompatible required
workbench major refusal preserves the compatible cache. All 575 SDK product
file hashes stayed unchanged throughout this trial. It is a synthetic compatible
addition trial, not a claim that arbitrary future protocols already work.

Layout review at 100%, 150% and 200% confirms that the dialog and action labels
fit, controls remain reachable and browsing does not change the project. At high
scaling the source/review body scrolls while actions stay visible. The approved
README banner returned HTTP 200; the rendered README's image/heading order was
reviewed. Product README prose remains separate from development/test records.

Environment and verification limits

Python 3.12.14; Linux x86-64 with glibc 2.41; PySide6/Qt 6.12.0; GCC 14.2.0;
PCFC11 0.2.42 with its GCC backend; selected PyCForge 1.3.108 and the existing
1.3.60/1.3.61 compatibility installations. All 1,025 installed engine payload
files match the recovered 1.3.108 wheel. SDK tests import the installed wheel,
with each loaded product module's origin asserted. Final SDK environments are
new virtual environments reusing the already installed test/Qt dependencies;
engine installations are separate. The headless SDK environment has no Qt,
PyCForge or NumPy, and the GUI SDK environment has no PyCForge or NumPy.
Dependency checks pass. Exact commands, environment data, import origins, hashes
and completion accounting are retained in the evidence directory.

Native Windows/macOS execution, other supported Python interpreter versions,
physical-display acceptance, CC's product review and independent unaided human/AI
author trials were not established by this Linux qualification. Finite passing
fixtures are not a universal correctness, security or usability proof.

Actual recovery limitations

Recovery is explicit checkpointing, not autosave. It preserves one existing
fixture source buffer; unsaved project forms, unsubmitted Add fixture dialogs
and edits made after the last checkpoint are not recovered after process death.
No automatic merge, expectation inference, global lock or multi-file transaction
is introduced. A missing/removed fixture or invalid project can be checkpointed
and inspected but needs author correction before apply. Foreign-platform paths
need explicit adjustment in a copy before review on this host.

A new checkpoint publishes complete flushed bytes using an exclusive same-volume
hard link. An unsupported filesystem fails explicitly rather than replacing an
occupied path. A crash may leave a private .sdk-repair-* temporary file; tests
establish absent-or-complete named files at the publication boundary. Existing
checkpoint replacements and source saves remain optimistic single-writer atomic
one-file operations, with no directory-fsync or universal power-loss durability
guarantee. Authors must retain any alternative text they intend to keep before
explicitly applying a reviewed replacement over it. Interrupted fixture addition
can still leave an unreferenced source under the existing 0.16 contract.

Development attempts retained

Focused service and GUI runs passed before final qualification. An initial
layout probe ran before its wheel installation had completed; it failed on the
old dialog's missing control. The next probe exposed clipped long button labels
at 200%; the final layout uses short actions in a fixed grid and a scrollable
body. Both the failed probes and final captures remain in evidence.

The first 444-test candidate qualification passed. The final increment adds the
navigation correction, displayed project target and six additional regression
cases, then repeats the entire suite and evolution trial on the final frozen
payload. That final suite recorded a 40-second deadline failure in the new
navigation test while waiting for verification/readiness, before testing the
review return. Its isolated rerun passed all three navigation cases in 45.51
seconds total; the retained 25-second stack snapshot shows catalogue/readiness
work rather than a stuck repair operation. The new native wait was aligned with
the existing desktop harness's 180-second deadline, retaining bounded waits and
explicit busy/result assertions. A subsequent installed run of all 14 new GUI
repair/navigation tests passed on byte-identical final product code. The initial
failure remains in final-qualification logs; accepted-qualification maps selected
passing cases without double counting. This is a full run plus a documented
follow-up, not a claim that the first final suite was clean.

Initial build invocation in the headless test environment lacked the
build frontend; the existing build environment produced the distributions.
README renderer attempts lacking its optional renderer or retaining incomplete
Qt Markdown output were replaced by a checked Markdown-to-HTML render with the
actual banner. These attempts are not represented as passing final checks.

Preservation and handoff

The original roadmap SHA-256 remains:
f0c5460603217c151cdd4c6f95831f26b6be3fe52c793667375f1db469e16d61
All 3,209 historical evidence/versioned-verification/original-roadmap files are
byte-identical to the recovered source. The final distribution audit checks all
4,004 baseline archive paths, 521 shared visual hashes and the original SDK mark,
README and metadata equality, wheel RECORD, entry points, optional GUI-only
dependency policy, and source/wheel/installed product payload equality.

The source carries docs/Source-Repair-0.17.md, maintained/installed manuals,
new regression tests, reproducible qualification tools, this report and versioned
evidence. Final assembled artifact hashes and the distribution audit appear in
the external report/evidence after assembly, avoiding a self-referential source
archive hash. Nothing is published. CC retains release control.
