Correct aetherlight provenance: drop .gitattributes, list leave-set residue and AL4 duties
The -text pin was not needed (the fixtures absorb CRLF and the .cc is binary), so the file goes. external_admission.rs is described as the cross-crate forgery proof it is, and the dead-code vocabulary and AL4 obligations are listed. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
cd2f45ff99
commit
6ef5f51a42
1 changed files with 46 additions and 6 deletions
|
|
@ -8,16 +8,19 @@ Aetherlight is a fork of the synchronous world kernel of Ghostlight.
|
|||
- Authority: cut `aetherlight-fork-import` r1 of campaign `aetheria-release`;
|
||||
rulings `aetherlight-narrative-state-owner` and `dialogue-is-world-action`.
|
||||
|
||||
Every file below was copied as a raw git blob (`git show`), never `git archive`,
|
||||
and committed with `-text` (`.gitattributes`) so no checkout converts newlines.
|
||||
Line ranges are in the c43eb54 file.
|
||||
Every file below was copied as a raw git blob (`git show`), never `git archive`.
|
||||
The blobs are LF, as upstream. A Windows checkout with `core.autocrlf` turns the
|
||||
`.rs` files and the two text fixtures into CRLF; rustc, the fixture readers
|
||||
(`lines()`, `trim()`) and the golden test absorb that, so no `.gitattributes` is
|
||||
kept (a first commit had one; its stated reason did not hold). `base_world.cc` is
|
||||
binary and no newline rule touches it. Line ranges are in the c43eb54 file.
|
||||
|
||||
## Taken
|
||||
|
||||
| c43eb54 path (under `crates/ghostlight/`) | Here | Range | Edits |
|
||||
| --- | --- | --- | --- |
|
||||
| `src/lib.rs` | `src/lib.rs` | all | E1-E5 |
|
||||
| `src/action.rs` | `src/action.rs` | all | none |
|
||||
| `src/lib.rs` | `src/lib.rs` | all | E1-E5, E10, E11 |
|
||||
| `src/action.rs` | `src/action.rs` | all | E11 |
|
||||
| `src/clock.rs` | `src/clock.rs` | all | none |
|
||||
| `src/journal.rs` | `src/journal.rs` | all | none |
|
||||
| `src/grammar.rs` | `src/grammar.rs` | all | none |
|
||||
|
|
@ -61,6 +64,17 @@ unicode-normalization, unicode-properties, uuid; dev tempfile.
|
|||
`use crate::patch::PATCH_TOOLS;`, which read the dropped catalog.
|
||||
- E9. `lens.rs`: the doc comment on `leads_with` says "patch tool names" instead
|
||||
of naming `PATCH_TOOLS`.
|
||||
- E10. `lib.rs` crate docs describe the fork as it is (no runner, no ports, no
|
||||
controllers); the compile_fail doc-tests keep no error code (stable rustdoc does
|
||||
not check one) and the two that named items absent from the fork
|
||||
(`fixture_controller_opportunities`, `fixture_inference_output`) are deleted.
|
||||
The `VerifiedPrincipalEvidence` doc no longer links `WorldMailbox`/`SeedPort`
|
||||
and says nothing here enforces `valid_until`; the ABI must (AL4).
|
||||
- E11. New tests, not upstream, each killing a mutant that survived upstream's 810
|
||||
tests: `action::tests::holding_exactly_the_threshold_satisfies_holds`,
|
||||
`clock_tests::committed_requires_the_named_counterparty`,
|
||||
`clock_tests::committed_requires_the_named_kind`,
|
||||
`soul_knowledge_tests::a_telling_by_a_speaker_outside_its_audience_does_not_apply`.
|
||||
|
||||
Not renamed: the `ghostlight.*` schema ids and namespaces in the code
|
||||
(`STATE_SCHEMA`, `COMMIT_SCHEMA`, journal schema rows, `ghostlight.speech`,
|
||||
|
|
@ -82,7 +96,7 @@ unchanged. AL3 owns the format rename.
|
|||
| `tool_schema.rs` | tool schemas for model calls |
|
||||
| `aetheria.rs`, `aetheria/` | Ghostlight's Aetheria catalog reader; Aetheria content is read by Aetheria |
|
||||
| `verse/` | one example world; its speech affordances are a pattern to copy into Aetheria content, not a kernel dependency |
|
||||
| `tests/external_admission.rs` | exercises the dropped consumer lane |
|
||||
| `tests/external_admission.rs` | the cross-crate proof that forged, serde-minted opportunities and ids are refused at the public surface; dropped with the consumer lane it drove. AL4 must carry an equivalent proof against the ABI's own surface |
|
||||
| crates `ghostlight-persona-projection`, `ghostlight-verse`; `sidecar/` | outside the synchronous kernel |
|
||||
|
||||
Speech as world action stays whole: affordance declarations with `carries_speech`,
|
||||
|
|
@ -104,3 +118,29 @@ reproduces Ghostlight first; AL3 removes cultcache-rs.
|
|||
By hand, against this file: read the upstream diff for the taken files, apply it
|
||||
here, and record it in this file with its upstream commit and the files it
|
||||
touched. A fix that lands in a left-behind file is not pulled.
|
||||
|
||||
## Leave-set vocabulary still compiled (AL2a's triage list)
|
||||
|
||||
`#![allow(dead_code)]` hides about 248 dead-code warnings, among them vocabulary
|
||||
that only the left-behind lanes used. AL2a decides each as delete, keep or rename.
|
||||
Several enter derived ids or digests, so a removal is a format change (AL3), not
|
||||
a cleanup.
|
||||
|
||||
- Consumer lane: `ConsumerId`, `consumer_id`, `consumer_caller`,
|
||||
`bound_to_consumer`, `CONSUMER_ID_NAMESPACE`, `VerifiedPrincipalEvidence`.
|
||||
- Controller lane: `verified_controller`, `resolve_controller`, `controller_mode`,
|
||||
`controller_receipt`, `controller_decline_receipt`, `controller_key`.
|
||||
- Elaborator lane: `Elaborator`, `GrantElaborator`, `RetireElaborator`,
|
||||
`ElaboratorEvidence`, `ElaboratorUnanswered`, `elaborator_error`,
|
||||
`UnelaboratedDestination` and its preimage, and the tests that name them.
|
||||
- Mailbox and vault comments (`WorldMailbox`, `vault:` evidence strings).
|
||||
|
||||
Reproduce the full list with `RUSTFLAGS=--force-warn dead_code cargo build`.
|
||||
|
||||
## Obligations this cut hands to AL4
|
||||
|
||||
- A cross-crate proof that forged opportunities and ids are refused, equivalent to
|
||||
the dropped `tests/external_admission.rs`, against the ABI's surface.
|
||||
- Enforcement of `VerifiedPrincipalEvidence::valid_until`, which Ghostlight's
|
||||
mailbox did and the fork does not.
|
||||
- Removal of `#![allow(dead_code)]`.
|
||||
|
|
|
|||
Loading…
Reference in a new issue