diff --git a/.github/workflows/prepare-npm-artifact.yml b/.github/workflows/prepare-npm-artifact.yml index e4c657e..eff8469 100644 --- a/.github/workflows/prepare-npm-artifact.yml +++ b/.github/workflows/prepare-npm-artifact.yml @@ -14,8 +14,30 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 with: persist-credentials: false - - name: Verify preserved source history - run: git bundle verify docs/source-history/zixcel-document-output.bundle + - name: Verify current owner provenance without restoring retired repositories + run: | + python3 - <<'PYCODE' + import json, os, re, subprocess + from pathlib import Path, PurePosixPath + record = Path('docs/source-integration-2026-10-13.json') + assert record.is_file() and not record.is_symlink() and record.stat().st_size <= 65536 + data = json.loads(record.read_text()) + assert data['owner_repository'] == os.environ['GITHUB_REPOSITORY'] + for component in data.get('components', []): + assert component['owner_repository'] == data['owner_repository'] + assert re.fullmatch(r'[0-9a-f]{40}', component['source_head']) + path = PurePosixPath(component['subpath']) + assert not path.is_absolute() and '..' not in path.parts + assert (Path('.') / path).is_dir() + assert not {'history_archive', 'history_ref', 'local_history_ref'} & component.keys() + if not data.get('components'): + assert re.fullmatch(r'[0-9a-f]{40}', data['source_sha']) + assert 'canonical_history_bundle' not in data + paths = subprocess.check_output(['git', 'ls-files', '-z'], timeout=10).decode().split('\0') + assert len(paths) <= 8192 + assert not any(p.endswith('.bundle') or 'source-history' in PurePosixPath(p).parts for p in paths if p) + print('Current owner provenance verified; no historical repository restoration') + PYCODE - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 with: node-version: '24.22.1' diff --git a/docs/oss-source-map.json b/docs/oss-source-map.json index bc4e528..7ec0b7d 100644 --- a/docs/oss-source-map.json +++ b/docs/oss-source-map.json @@ -188,19 +188,19 @@ { "name": null, "run": null, - "uses": "actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803", + "uses": "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1", "condition": null }, { - "name": "Verify preserved source history", - "run": "git bundle verify docs/source-history/zixcel-document-output.bundle", + "name": "Verify current owner provenance without restoring retired repositories", + "run": "python3 - <<'PYCODE'\nimport json, os, re, subprocess\nfrom pathlib import Path, PurePosixPath\nrecord = Path('docs/source-integration-2026-10-13.json')\nassert record.is_file() and not record.is_symlink() and record.stat().st_size <= 65536\ndata = json.loads(record.read_text())\nassert data['owner_repository'] == os.environ['GITHUB_REPOSITORY']\nfor component in data.get('components', []):\n assert component['owner_repository'] == data['owner_repository']\n assert re.fullmatch(r'[0-9a-f]{40}', component['source_head'])\n path = PurePosixPath(component['subpath'])\n assert not path.is_absolute() and '..' not in path.parts\n assert (Path('.') / path).is_dir()\n assert not {'history_archive', 'history_ref', 'local_history_ref'} & component.keys()\nif not data.get('components'):\n assert re.fullmatch(r'[0-9a-f]{40}', data['source_sha'])\nassert 'canonical_history_bundle' not in data\npaths = subprocess.check_output(['git', 'ls-files', '-z'], timeout=10).decode().split('\\0')\nassert len(paths) <= 8192\nassert not any(p.endswith('.bundle') or 'source-history' in PurePosixPath(p).parts for p in paths if p)\nprint('Current owner provenance verified; no historical repository restoration')\nPYCODE\n", "uses": null, "condition": null }, { "name": null, "run": null, - "uses": "actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38", + "uses": "actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1", "condition": null }, { @@ -217,7 +217,7 @@ }, { "name": "Validate workspace and dependency graph", - "run": "pnpm install --frozen-lockfile --ignore-scripts\npnpm run typecheck\npnpm -r --include-workspace-root test\npnpm audit --audit-level=low\nnode scripts/verify-packed-consumer.mts\n", + "run": "pnpm install --frozen-lockfile --ignore-scripts\npnpm -r --include-workspace-root run build\npnpm run typecheck\npnpm -r --include-workspace-root test\npnpm audit --audit-level=low\npnpm run check:tooling\nnode scripts/verify-packed-consumer.mts\n", "uses": null, "condition": null }, @@ -230,7 +230,7 @@ { "name": null, "run": null, - "uses": "actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a", + "uses": "actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9", "condition": null } ] diff --git a/docs/source-history/zixcel-document-output.bundle b/docs/source-history/zixcel-document-output.bundle deleted file mode 100644 index 1bfca8c..0000000 Binary files a/docs/source-history/zixcel-document-output.bundle and /dev/null differ diff --git a/docs/source-integration-2026-10-13.json b/docs/source-integration-2026-10-13.json index eac6368..56d0cb2 100644 --- a/docs/source-integration-2026-10-13.json +++ b/docs/source-integration-2026-10-13.json @@ -2,13 +2,9 @@ "source_repository": "zixcel/zixcel-document-output", "source_sha": "0b202930bb95929291c929197c6b3d3c1abf5800", "source_tree": "427423c845f6f479c1bb63f28d1e2849b3bcfa2c", - "history": "Git subtree import without squash; original commit ancestry retained", + "history": "Fixed original SHA/tree record only. Embedded Git bundles and history-restoration requirements are retired; normal current-repository Git history is unchanged.", "changes_after_import": "Move package directories, remove duplicate repository CI/publisher wrappers, update repository metadata; retain implementation exports, schema IDs, license and NOTICE.", - "archive_gate": "Independent consumer, canonical CI, new trusted publication and consumer reference switch; hosting remains separate.", - "canonical_history_bundle": { - "path": "docs/source-history/zixcel-document-output.bundle", - "sha256": "447753b5c6c1e32921b7e10e8539fb826ddf8b33116510c17c253d24a7c1e4fe", - "reason": "Main requires linear history and disallows merge commits. Preserve the original source commit graph in the canonical repository even after the approved PR squash merge.", - "includes_ignored_worktree_data": false - } + "archive_gate": "Reviewed current owner source, exact package artifacts, normal publication gates and independent consumer verification. Historical Git restoration is not a release prerequisite.", + "retired_archive_sha256": "447753b5c6c1e32921b7e10e8539fb826ddf8b33116510c17c253d24a7c1e4fe", + "owner_repository": "zixcel/document-processing" } diff --git a/migration-source.json b/migration-source.json index 7be7ad3..0832884 100644 --- a/migration-source.json +++ b/migration-source.json @@ -1,7 +1,8 @@ { "source_repository": "zixcel/sem-lang-structured-surface", "source_head": "f21585f3573bd7d01d604e203cffa031e1529232", - "history": "Full original Git ancestry retained; original LICENSE/NOTICE retained.", + "history": "Original fixed source revision is provenance only; no source-history archive or restoration path is maintained. Original LICENSE/NOTICE remain with the selected source.", "product_observations": "semantic-language/sem-lang-mail-reference/shared/document-observations.mjs", - "registry_publication": "blocked until source and consumers verified" + "current_owner_repository": "zixcel/document-processing", + "publication_authority": "Current package manifests and .github/workflows/publish-npm.yml; no second publisher or source repository." }