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
26 changes: 24 additions & 2 deletions .github/workflows/prepare-npm-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
12 changes: 6 additions & 6 deletions docs/oss-source-map.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
{
Expand All @@ -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
},
Expand All @@ -230,7 +230,7 @@
{
"name": null,
"run": null,
"uses": "actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a",
"uses": "actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9",
"condition": null
}
]
Expand Down
Binary file removed docs/source-history/zixcel-document-output.bundle
Binary file not shown.
12 changes: 4 additions & 8 deletions docs/source-integration-2026-10-13.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
5 changes: 3 additions & 2 deletions migration-source.json
Original file line number Diff line number Diff line change
@@ -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."
}
Loading