Implement LINA LIFE world, social, work and image engine with recovery - #3
Draft
thisisjun786 wants to merge 29 commits into
Draft
Implement LINA LIFE world, social, work and image engine with recovery#3thisisjun786 wants to merge 29 commits into
thisisjun786 wants to merge 29 commits into
Conversation
Persist permitted event posts, generated replies and viewer interactions with shared execution accounting and restart recovery. Feed permissions and causal activity limits remain enforced at dispatch, commit and read boundaries. Validated with 2,885 native-enabled tests, 42 isolated HTTP scenarios and independent core/runtime reviews. Image/avatar integration remains the next unit.
Revalidate the pinned image engine and define shared job ports, image and storage reservations, scoped assets and avatar-only application. Resolve independent audit findings for historical restore, scheduler activation, source grants and stable cadence identities.
thisisjun786
marked this pull request as draft
September 8, 2026 12:42
Connect frozen LIFE image intents, durable generation receipts, scoped post assets and avatar history to Fleet and the existing image owner. Preserve authored identity and fence automatic application during pause. Checkpoint the partial 070 implementation for review. Event-image performance and remaining recovery/acceptance work are recorded in the plan; this is not a completion or merge-readiness claim.
This was referenced Sep 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
Implement the LINA LIFE backend alongside ordinary Codex work: user-confirmed world revisions, places/scenes/time and seeded events; individual knowledge, secrets, beliefs, asymmetric relationships and personality growth; explicit task/memory provenance; internal posts, replies, reactions and later experience; permitted event images and scheduled avatars with original-request recovery, pin/history/restore and separate delivery receipts.
Integrate the current dev image-owner baseline and preserve authored identity. Ordinary conversations share permitted growth/relationships while event and secret access remains separately controlled. Fix confirmation-mode world reads and reject out-of-range event revisions at startup. A rejected LIFE database now preserves its original files and leaves ordinary chat/tasks usable, with owner-only recorded health.
Consumer contracts and recovery instructions: LIFE_ENGINE.md. Requirement/evidence map: 010–080 roadmap.
Verification
Local native-enabled full suite:
LINA_LIFE_NATIVE_TEST=1 LINA_AUTHOR_NATIVE_TEST=1 bun test— 3,369 passed, 0 failed; 19,757 assertions / 481 files. Source hashes unchanged during the run.Root/browser typecheck, Biome lint, runtime asset build/out-of-checkout CLI smoke, CI validation and dependency audit passed. Complete-history secret scan is recorded for the final commit. Hosted CI is reported separately by GitHub checks.
Independent implementation review: PASS, no blockers. Focused reviewer run: 11 tests / 105 assertions, plus integrated causal story.
Isolated task receipt → work-dependent event → directed relationship → pictured post → viewer feedback → later experience, with replay after restart and captured private-text exclusion.
Actual child SIGKILL/WAL recovery and offline checkpoint restore: reopen world/agent/image owners, validate UUID/usage/terminal/archive bindings and asset hashes; reject active owner capture.
Actual HTTP: 27 image-owner cases and 11 health/isolation cases; zero external provider calls. Owned listeners stopped and temporary state removed.
PR delivery repairs preserve verbatim Ensemble inputs with nine exact Git-attribute paths, and reduce canonical JSON overhead while retaining bytes, digests and validation. The three hosted timeout scenarios pass locally with their original limits; 1,910 differential assertions and independent review passed. Final commit
cefaffcpassed hosted CI and dev-gate: 3,140 package tests passed, 45 native qualification cases intentionally skipped, zero failures. The local native-enabled suite covers those gated cases. All three former timeout scenarios passed without changing their test limits.Risks and remaining work