# SOP — Zo Computer Achievements Archive

**Purpose:** Preserve the useful work produced in the Zo workspace and the existing zo.pub collections in one portable, publicly shareable archive.

## Scope

Include:

- Regular files under `/home/workspace`, excluding `Trash/`, `.git/`, and this archive's own directory.
- Content files from `/mnt/pub` (the local mirror of existing zo.pub collections).
- A source manifest with SHA-256 checksums and file sizes.

Exclude:

- Deleted material in `Trash/`.
- Git internals in `.git/`.
- zo.pub transport metadata and generated `.zip`/`.tar.gz` bundles, which are redundant and may contain their own metadata.

## Archive layout

```text
zo-pub-achievements/
├── README.md
├── SOP.md
├── manifest.tsv
├── workspace/             # work found in /home/workspace
└── public-collections/    # content found in existing zo.pub collections
```

## Procedure

1. Inspect workspace guidance, project READMEs, and existing public collections.
2. Create this SOP before copying content.
3. Copy source files into the two provenance-preserving folders above.
4. Generate `manifest.tsv` with source, archived path, byte size, and SHA-256 checksum.
5. Verify that every source file is represented in the manifest. Parse JSON files where possible; report, but do not rewrite, malformed legacy source files so the archive remains faithful.
6. Sync the completed directory with `zopub sync achievements /home/workspace/zo-pub-achievements`.
7. Report the collection URL and the archive counts.

## Repeatability

The archive is incremental at the zo.pub layer. To refresh it after future work:

```bash
zopub sync achievements /home/workspace/zo-pub-achievements
```

Before refreshing, repeat the copy and manifest steps so the archive reflects current source files. Never copy the archive into itself.

## Integrity check

Recompute a checksum with:

```bash
sha256sum path/to/file
```

Compare it with the matching row in `manifest.tsv`.

## Current run

- **Run date:** 2026-08-10
- **Archive name:** `achievements`
- **Source roots:** `/home/workspace` and `/mnt/pub`
- **Retention choice:** preserve active work and existing public outputs; omit deleted files and transport artifacts.

## Verification note for the 2026-08-10 run

The following source JSON files were malformed before archival and were preserved byte-for-byte:

- `ghojualamanchu/cookiedough.json`
- `ghojualamanchu/menagerie/beta-hb1.json`
- `ghojualamanchu/menagerie/delta-driver.json`
- `ghojualamanchu/menagerie/panopticon.json`
- `ghojualamanchu/menagerie/the-boundary-keeper.json`
- `ghojualamanchu/menagerie/the-correlator.json`
- `ghojualamanchu/menagerie/the-dreaming-librarian.json`
- `ghojualamanchu/menagerie/the-first-breath.json`
- `ghojualamanchu/menagerie/the-unwalked-bridge.json`
- `ghojualamanchu/panopticon.json`
