Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
6a4f67d
test: define single-workflow architecture boundary
tim8es Sep 14, 2026
3e8662f
docs: define consolidated workflow architecture
tim8es Sep 14, 2026
a6a55d4
refactor: remove legacy migration surface
tim8es Sep 14, 2026
b2bb005
refactor: drop migration API exports
tim8es Sep 14, 2026
764c5b6
refactor: remove migration admission path
tim8es Sep 14, 2026
f90e683
refactor: make status current-workflow only
tim8es Sep 14, 2026
bd07add
refactor: require current source identity schema
tim8es Sep 14, 2026
2cfcd93
refactor: remove migration CLI registration
tim8es Sep 14, 2026
ca14fde
refactor: enforce current workspace at preflight boundary
tim8es Sep 14, 2026
5bf406f
refactor: reject unsealed legacy workspaces
tim8es Sep 14, 2026
f91cadc
refactor: disable legacy document normalization
tim8es Sep 14, 2026
38401ae
docs: collapse orchestration to one current workflow
tim8es Sep 14, 2026
4b4ffac
refactor: remove migration gate from review promotion
tim8es Sep 14, 2026
c675951
refactor: require current workspace metadata contract
tim8es Sep 14, 2026
edc65fa
fix: enforce current workspace after extraction
tim8es Sep 14, 2026
7ea8d7e
refactor: fail closed on incomplete workflow workspaces
tim8es Sep 14, 2026
b5c7533
test: replace legacy book CLI expectations
tim8es Sep 14, 2026
6940ef1
test: require versioned repository state
tim8es Sep 14, 2026
5390b70
test: reject unsealed workflow workspaces
tim8es Sep 14, 2026
c9333ee
test: require review evidence marker
tim8es Sep 14, 2026
1c0a520
test: use current workflow fixtures on GitHub backend
tim8es Sep 14, 2026
a62a1e0
test: use current parallel workflow fixtures
tim8es Sep 14, 2026
3d314c9
docs: name translation acceptance evidence
tim8es Sep 14, 2026
072e38a
test: assert current build admission failure
tim8es Sep 14, 2026
abd8cb1
test: align invalid status reporting exit semantics
tim8es Sep 14, 2026
adf5585
test: keep corpus restore fixture on current workflow
tim8es Sep 14, 2026
8463829
test: map missing GitHub artifacts to domain semantics
tim8es Sep 14, 2026
30afe19
fix: close current workflow build admission gaps
tim8es Sep 14, 2026
a7f3156
fix: require translator acceptance before review
tim8es Sep 14, 2026
3267fc9
test: keep review fixtures behind translator acceptance
tim8es Sep 14, 2026
9d2510b
fix: normalize storage not-found semantics
tim8es Sep 14, 2026
11cd536
test: exercise native GitHub not-found semantics
tim8es Sep 14, 2026
1bf0e96
test: cover current build admission gates
tim8es Sep 14, 2026
5d4cd0b
test: accept translations in EPUB fixtures
tim8es Sep 14, 2026
47f9a50
test: preserve accepted translation across corpus restore
tim8es Sep 14, 2026
256c87a
test: accept translations in finalize fixtures
tim8es Sep 14, 2026
72de21d
test: accept translations in finalize recovery fixtures
tim8es Sep 14, 2026
d0a90ee
test: accept translations in EPUB reliability fixtures
tim8es Sep 14, 2026
fb19b20
test: validate reviews on accepted translations
tim8es Sep 14, 2026
f406b2e
test: drive reliability fixtures through translator acceptance
tim8es Sep 14, 2026
2a426b4
test: classify reviewed translation tamper as invalid acceptance
tim8es Sep 14, 2026
f02266d
test: give corpus restore current workflow provenance
tim8es Sep 15, 2026
d78c35d
fix: allow source corpus recovery before acceptance recheck
tim8es Sep 15, 2026
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
29 changes: 29 additions & 0 deletions docs/ARCHITECTURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Architecture

Book Translator has one supported workflow runtime.

The current workflow is repository-authoritative and uses one durable state contract: schema-versioned metadata/progress, explicit source identity and corpus manifest, durable claims, machine review evidence, coordination, finalize/build state, and backend-neutral compare-and-swap storage.

## Supported runtime

- `scripts/book.py` is the primary CLI entrypoint.
- `scripts/corpus.py` owns source-corpus integrity and restore operations.
- `scripts/workflow_v2/` is the internal workflow package. The `v2` suffix is an implementation-era module name, not a second supported workflow version.
- `docs/ORCHESTRATION.md` and `docs/TRANSLATION.md` are the canonical execution contracts.
- Files under `books/<slug>/` are authoritative durable book state.

## State contract

Every supported book workspace uses the current schema and must contain current workflow provenance, explicit source identity, a sealed source manifest, and machine review evidence. Missing schema versions, legacy lifecycle-only review state, unsealed legacy source state, and workflow migration journals are not supported runtime modes.
Comment thread
tim8es marked this conversation as resolved.
Comment thread
tim8es marked this conversation as resolved.

An older workspace must be converted outside the production runtime before it is used. The current runtime does not auto-normalize legacy schemas and does not perform workflow-version migrations.

## Runtime boundaries

The orchestration core owns state transitions. Translator and Reviewer roles produce artifacts and decisions but do not race shared mutable state. Storage backends provide create-if-absent and compare-and-swap semantics; filesystem and GitHub API storage implement the same contract.

Source integrity is independent from literary review. A valid source corpus does not imply a reviewed translation, and a Reviewer PASS does not replace structural or source-integrity validation.

## Completion

A book is complete only when all intended units have current machine-verifiable PASS evidence, durable lifecycle state is reviewed, structural and corpus checks pass, and requested output artifacts are built and verified.
471 changes: 83 additions & 388 deletions docs/ORCHESTRATION.md

Large diffs are not rendered by default.

146 changes: 0 additions & 146 deletions docs/WORKFLOW_V2_AGENT_PLAN.md

This file was deleted.

Loading