Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 27 additions & 18 deletions THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ has been removed (see the ElTree note below).
| Path | Component and credited author | Notice found in snapshot | Review status |
|---|---|---|---|
| `src/original/Movie Catalog/` | Ant Movie Catalog, Antoine Potten and Mickaël Vanneufville | GPL; full GPLv2 text at `dev/license.txt` | Notice present. Archive/tree equality is verified; publisher authentication is incomplete. |
| `src/original/Common/` | Shared Ant application units | Upstream readme says units are GPL or MPL; individual file headers vary | Every retained file is mapped in `docs/upstream/license-inventory.json`; `ComboBoxAutoWidth.pas` remains unresolved because it has only a source-post URL and no license grant. |
| `src/original/Common/` | Shared Ant application units | Upstream readme says units are GPL or MPL; individual file headers vary | Every retained file is mapped in `docs/upstream/license-inventory.json`. `ComboBoxAutoWidth.pas`, which only linked to a Google Groups post and stated no license, has been removed for the same reason as ElTree below — resolved by removal, not by an obtained grant. |
| `src/original/FreeReport/` | FreeReport, credited in source primarily to A. Tzyganenko | GNU Library General Public License v2 at `license.txt` | Notice present; modifications and individual bundled units still need review. |
| `src/original/ifps/` | Innerfuse Pascal Script, Carlo Kok / Innerfuse | Custom permissive license with attribution and documentation conditions at `license.txt` | Notice present; required product attribution must be retained. |
| `src/original/rkSmartViewPack/` | rkSmartView, RMKlever | Mozilla Public License 1.1 at `License.txt` | Notice present; file-level modification notices still need review. |
Expand All @@ -31,20 +31,31 @@ HTML Viewer Components, and TRegExpr as build dependencies. They are not present
the two checked-in source trees and are not Python runtime dependencies. Their
licenses must be reviewed if they are later vendored or distributed in artifacts.

## ElTree Lite: removed, not cleared
## Two files removed, not cleared

`src/original/ElTree/` (EldoS's ElTree Lite, a genuinely used component in
upstream's own `main.pas`/`main.dfm`) and `src/original_compressed/
amc_sources.rar` (the compressed archive that also contained it — see
`docs/upstream/archive-provenance.md`) have both been removed from this
repository and its git history. ElTree Lite's own license permits
distribution only as part of compiled software, never as source
(`license.txt`: "may be distributed ONLY as a part of the compiled
software"), and AMC Python — a Tkinter application — never used ElTree in
the first place, so there was no functional loss in removing it. This
resolves the redistribution restriction by removal rather than by obtained
permission; it does not establish that redistributing ElTree's source under
different circumstances would have been permitted.
Two evidence-tree files with unresolvable redistribution status have been
removed from this repository and its git history, rather than kept pending
an obtained permission that was never going to be practical to obtain for
either:

- `src/original/ElTree/` (EldoS's ElTree Lite, a genuinely used component in
upstream's own `main.pas`/`main.dfm`) and `src/original_compressed/
amc_sources.rar` (the compressed archive that also contained it — see
`docs/upstream/archive-provenance.md`). ElTree Lite's own license permits
distribution only as part of compiled software, never as source
(`license.txt`: "may be distributed ONLY as a part of the compiled
software").
- `src/original/Common/ComboBoxAutoWidth.pas`, a 107-line VCL combobox-width
utility whose only provenance was a comment linking to a Google Groups
forum post — no license was ever stated for it at all, which is a weaker
position than ElTree's restrictive-but-present EULA, not a stronger one.

Neither file is present in the compiled Python application — AMC Python is a
Tkinter application that never used either — so removing them cost no
functionality. This resolves both redistribution problems by removal rather
than by obtained permission; it does not establish that redistributing
either file's source under different circumstances would have been
permitted.

## Release blockers

Expand All @@ -53,10 +64,8 @@ Before publishing an artifact containing the remaining historical tree:
1. independently authenticate the supplied `antcomponents.zip` archive against
the publisher (the contributor-reported source page, size, hash, and exact
tree match are recorded, but no publisher checksum or precise retrieval
time is available);
2. resolve the absent license grant for `Common/ComboBoxAutoWidth.pas` and confirm
whether it may be redistributed; and
3. retain every component notice and all attribution/documentation required by it.
time is available); and
2. retain every component notice and all attribution/documentation required by it.

The machine-readable per-file inventory is checked by
`python tools/check_license_inventory.py`. Its `notice` status identifies a source
Expand Down
53 changes: 29 additions & 24 deletions docs/IMPLEMENTATION_PLAN.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,17 +102,20 @@ backlog it runs in parallel with.
license review (archive/tree equality was verified while `amc_sources.rar`
was still checked in, and the retained `Common` and `antcomponents` files
have a check-enforced per-file inventory; ElTree's non-source-redistributable
license is resolved by removing `src/original/ElTree/` and the RAR archive
that also contained it, rather than by obtained permission — see
`THIRD_PARTY_NOTICES.md`. The unlicensed `ComboBoxAutoWidth.pas` remains a
blocker).
license and `ComboBoxAutoWidth.pas`'s absent license grant are both resolved
by removing the affected files, rather than by obtained permission — see
`THIRD_PARTY_NOTICES.md`. `antcomponents.zip` publisher authentication and
detailed per-file review of the remaining `Common`/`antcomponents` files
are still open).
- [ ] Add the applicable license and attribution files (root GPLv2 text and an
initial notice inventory are present; ElTree's redistribution restriction is
now resolved by removal — see above — and the absent `ComboBoxAutoWidth.pas`
license grant remains a blocker).
initial notice inventory are present; both redistribution restrictions this
item previously named — ElTree and `ComboBoxAutoWidth.pas` — are resolved
by removal, per the item above; retaining every remaining component's
required notice/attribution is ongoing, not a one-time completed task).
- [ ] Inventory every source unit, form, resource, script, and file
format (952 files originally counted, now 848 after removing ElTree's 104
files; initial subsystem map recorded).
format (952 files originally counted, now 847 after removing ElTree's 104
files and the unlicensed `ComboBoxAutoWidth.pas`; initial subsystem map
recorded).
- [ ] Map each unit to a Python subsystem or an explicit omission
(priority units only mapped).
- [ ] Generate reference catalogs using each supported AMC release.
Expand Down Expand Up @@ -303,12 +306,14 @@ unblock earlier evidence gates.

1. Reacquire and checksum the published source archive; compare its deterministic
inventory with both checked-in source trees.
2. [Partial] The ElTree source-redistribution blocker is resolved, by removing
`src/original/ElTree/` and the `amc_sources.rar` archive that also
contained it (from the repository and its git history) rather than by
obtained permission — AMC Python never used ElTree, so nothing functional
was lost. The absent license grant for `Common/ComboBoxAutoWidth.pas`
remains open; the check-enforced `Common` and `antcomponents` per-file
2. [Partial] Both the ElTree source-redistribution blocker and the absent
license grant for `Common/ComboBoxAutoWidth.pas` are resolved, by removing
`src/original/ElTree/`, the `amc_sources.rar` archive that also contained
it, and `ComboBoxAutoWidth.pas` itself (from the repository and its git
history) rather than by obtained permission — AMC Python never used
either, so nothing functional was lost. `antcomponents.zip` publisher
authentication and detailed per-file review of the remaining `Common`/
`antcomponents` files are still open; the check-enforced per-file
inventory, root-level GPLv2, and initial attribution files are present.
3. Generate AMC 4.2.3.2 empty, one-movie, all-fields, custom-field, embedded-picture,
linked-picture, supplementary-record, Unicode/code-page, and corrupt catalogs.
Expand Down Expand Up @@ -1192,15 +1197,15 @@ fixture sets have since been registered under it —
and `tests/fixtures/native-sample-catalog/` (a populated AMC 3.5/4.2 catalog pair
with custom fields and embedded pictures) — which satisfy Sprint 1's own
`validate_fixtures`/`verify_fixtures` exit checks. Sprint 1 as a whole is still not
closed: its other required work — reacquiring the published source archive from an
independently recorded origin, and resolving the absent
`Common/ComboBoxAutoWidth.pas` license grant (Milestone 0) — remains open. The
ElTree redistribution restriction this sentence previously named alongside it is
resolved, by removing `src/original/ElTree/` and the RAR archive that also
contained it rather than by obtained permission. No compatibility status may be
upgraded to `verified` regardless of Sprint 1's state, since that also needs a
documented cross-application (write, then reopen in genuine AMC) test that
neither fixture set provides yet.
closed: its other required work — reacquiring the published source archive from
an independently recorded origin (Milestone 0) — remains open. This sentence
previously also named the ElTree and `Common/ComboBoxAutoWidth.pas`
redistribution restrictions here; both are now resolved, by removing
`src/original/ElTree/`, the RAR archive that also contained it, and
`ComboBoxAutoWidth.pas` itself, rather than by obtained permission. No
compatibility status may be upgraded to `verified` regardless of Sprint 1's
state, since that also needs a documented cross-application (write, then
reopen in genuine AMC) test that neither fixture set provides yet.

Do not add unrelated UI, CRUD, native writing, or further legacy parsing until this
slice passes. A source-derived synthetic test is implementation evidence, not
Expand Down
52 changes: 28 additions & 24 deletions docs/NEXT_SPRINTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,17 @@ claim while an earlier gate is open.
upstream-generated fixture sets have been contributed and registered —
`tests/fixtures/native-empty-one-movie/` and `tests/fixtures/
native-sample-catalog/` — satisfying this sprint's `validate_fixtures`/
`verify_fixtures` exit checks below. The ElTree redistribution restriction this
status previously named is resolved: `src/original/ElTree/` and the RAR
archive that also contained it have been removed from the repository and its
git history, since ElTree's license permits distribution only inside compiled
software and AMC Python never used it. The rest of Sprint 1's required work —
reacquiring the published source archive from an independently recorded
origin, and resolving the absent `Common/ComboBoxAutoWidth.pas` license
grant — still cannot be performed inside this repository's automated
development environment and remains externally blocked. Sprints 2–4 stay
gated behind Sprint 1's exit checks exactly as
`verify_fixtures` exit checks below. Both redistribution restrictions this
status previously named are resolved: `src/original/ElTree/`, the RAR archive
that also contained it, and the unlicensed `Common/ComboBoxAutoWidth.pas`
have all been removed from the repository and its git history, since ElTree's
license permits distribution only inside compiled software,
`ComboBoxAutoWidth.pas` had no license grant at all, and AMC Python never used
either. Sprint 1's only remaining required work — reacquiring the published
source archive from an independently recorded origin — still cannot be
performed inside this repository's automated development environment and
remains externally blocked. Sprints 2–4 stay gated behind Sprint 1's exit
checks exactly as
written below; none of their compatibility claims may be advanced without
registered fixtures, and no status may move to `verified` without also a
documented cross-application (write, then reopen in genuine AMC) test, which
Expand All @@ -33,10 +34,12 @@ for Sprint 1 and must not be described as compatibility progress.
1. **Compatibility evidence before more inferred format behavior.** Native and XML
code has extensive synthetic coverage but no registered upstream-generated
fixture.
2. **Redistribution clearance before release work.** The ElTree restriction is
resolved (by removing the affected files, not by obtained permission).
Historical source must not be included in a release while the missing
`Common/ComboBoxAutoWidth.pas` license grant remains unresolved.
2. **Redistribution clearance before release work.** The ElTree and
`Common/ComboBoxAutoWidth.pas` restrictions are both resolved (by removing
the affected files, not by obtained permission). Historical source must
still not be included in a release before `antcomponents.zip`'s publisher
authentication and the remaining `Common`/`antcomponents` per-file review
are complete.
3. **Losslessness before convenience features.** Unknown, duplicate, ordered, or
typed interchange data must be retained or rejected with a diagnostic.
4. **Release hardening after format gates.** Refactoring, performance work, and
Expand All @@ -53,19 +56,20 @@ for Sprint 1 and must not be described as compatibility progress.
checksum or signature. The RAR previously checked in for this comparison
(`amc_sources.rar`) has been removed along with the ElTree files it
contained (see below); a freshly reacquired copy would still be compared
against the remaining 848-file expanded inventory (`src/original/` minus
ElTree, plus `src/antcomponents/`) using `tools/acquire_upstream.py`, but
would not itself be re-committed. RAR acquisition tries each installed
extractor in order, so one incompatible tool does not prevent a later
capable extractor from completing the evidence check.
against the remaining 847-file expanded inventory (`src/original/` minus
ElTree and `ComboBoxAutoWidth.pas`, plus `src/antcomponents/`) using
`tools/acquire_upstream.py`, but would not itself be re-committed. RAR
acquisition tries each installed extractor in order, so one incompatible
tool does not prevent a later capable extractor from completing the
evidence check.
- Compare a reacquired `antcomponents.zip` with the checked-in copy and its
76-file expanded inventory the same way.
- [Done] The ElTree source-redistribution restriction is resolved: rather than
- [Done] Both the ElTree source-redistribution restriction and the absent
license grant for `Common/ComboBoxAutoWidth.pas` are resolved: rather than
obtaining permission or maintaining a documented non-distributed evidence
workflow, `src/original/ElTree/` and the RAR archive that also contained it
were removed entirely from the repository and its git history, since AMC
Python never used ElTree. The absent license grant for
`Common/ComboBoxAutoWidth.pas` remains open.
workflow, `src/original/ElTree/`, the RAR archive that also contained it,
and `ComboBoxAutoWidth.pas` itself were removed entirely from the
repository and its git history, since AMC Python never used either.
- Use upstream AMC 4.2.3.2 to create empty and one-movie native catalogs plus their
XML exports. Record the exact producer build, operating-system locale, catalog
code page, creation steps, SHA-256, expected values, and redistribution permission.
Expand Down
29 changes: 16 additions & 13 deletions docs/PORT_AUDIT.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@
**Method:** source review, documentation-claim comparison, CLI enumeration, the
complete automated test suite, and inspection of the checked-in Delphi source
snapshot. At audit time the supplied archives exactly matched all 952 expanded
files; the RAR archive and the ElTree files it contained have since been
removed for licensing reasons (see `THIRD_PARTY_NOTICES.md`), leaving 848
checked-in files matching the remaining `antcomponents.zip` archive exactly.
Either way, the archives' origin lacks independent publisher authentication and
upstream-generated fixtures are not available, so no claim of behavioral parity
with Ant Movie Catalog can be verified.
files; the RAR archive, the ElTree files it contained, and the unlicensed
`ComboBoxAutoWidth.pas` have since been removed for licensing reasons (see
`THIRD_PARTY_NOTICES.md`), leaving 847 checked-in evidence files, of which the
remaining `antcomponents.zip` archive still matches its own 76-file subset
exactly. Either way, the archives' origin lacks independent publisher
authentication and upstream-generated fixtures are not available, so no claim
of behavioral parity with Ant Movie Catalog can be verified.
The user has designated the checked-in Delphi files as the authoritative source
baseline for continued implementation; that decision does not independently
authenticate the archives or create genuine compatibility fixtures.
Expand Down Expand Up @@ -41,7 +42,7 @@ Two progress measures are tracked deliberately:
| Measure | Result | Meaning |
|---|---:|---|
| Prototype implementation | 17 functional package modules, 6 repository tools, 635 passing tests | Python foundation and guarded prototype features exist |
| Source-analysis progress | 848 checked-in upstream/component files (952 before removing ElTree Lite's 104 files — see `THIRD_PARTY_NOTICES.md`); 13 subsystem mappings | Archive/tree identity is established; detailed per-file review is incomplete |
| Source-analysis progress | 847 checked-in upstream/component files (952 before removing ElTree Lite's 104 files and `ComboBoxAutoWidth.pas` — see `THIRD_PARTY_NOTICES.md`); 13 subsystem mappings | Archive/tree identity is established; detailed per-file review is incomplete |
| Upstream port verification | 7 upstream-generated fixtures registered (`tests/fixtures/native-empty-one-movie/`, finding 38; `tests/fixtures/native-sample-catalog/`, finding 39); 0 verified upstream subsystems | Narrow, genuine read-path evidence exists for the first time — empty and blank-one-movie native catalogs across AMC 3.5/4.1/4.2, plus populated movies, all eight represented custom-field types, and embedded pictures across AMC 3.5/4.2; this does not verify native format compatibility as a whole — other versions and a write-then-reopen-in-real-AMC check remain unevidenced |

Line count and test count must not be used as a substitute for upstream
Expand Down Expand Up @@ -143,12 +144,14 @@ confidence.
provenance record for the reproducible facts and remaining limitation.
2. **Source-snapshot redistribution clearance is improved but still
incomplete.** A root GPLv2 `LICENSE` and an initial component notice
inventory exist. The ElTree Lite component's non-source-redistributable
license is no longer an open item: `src/original/ElTree/` and the
`amc_sources.rar` archive that also contained it have been removed
entirely (resolved by removal, since AMC Python never used ElTree, rather
than by obtained permission — see `THIRD_PARTY_NOTICES.md`). Unresolved
per-file review for `Common` and `antcomponents` remains open. See
inventory exist. Two previously-open items are now closed by removal
rather than by obtained permission, since AMC Python never used either
file: ElTree Lite's non-source-redistributable license
(`src/original/ElTree/` and the `amc_sources.rar` archive that also
contained it) and `Common/ComboBoxAutoWidth.pas`'s absent license grant
(it only linked to a Google Groups post, stating no license at all —
see `THIRD_PARTY_NOTICES.md`). Unresolved per-file review for the
remaining `Common` and `antcomponents` files remains open. See
`THIRD_PARTY_NOTICES.md`; these are release blockers, not inferred
clearance.
3. **Upstream-generated fixtures exist for native format only.** Two genuine
Expand Down
Loading
Loading