Repository navigation
Conversation
…ross-target lineage
…nd hidden response fencing
…ation updates in memory history
…readback contract
| # A changed version in this *target's own* membership | ||
| # has a concrete before/after lineage. A different | ||
| # target's version must never be passed off as its past. | ||
| if category == "revised" and membership and membership[0] != version: |
There was a problem hiding this comment.
This stops another target's version from being copied into previous_version, but the stored event still uses change=category, and category is still decided from the shared documents row (old is None / documents.current_version) just above.
Reproduced on this head c62d6b7763a6644151aa18ff3a4edc7f239e3821:
- Target B's first ingest of the same original and the same text returns
added=0, unchanged=1.activity_pagefor B is empty, becauseunchangedis not an activity kind, so the live graph consumer is not told about the new membership. - A further target's first ingest of different text returns
revised=1. The stored detail is{change: "revised"}and has noprevious_version.
test_revision_history_uses_previous_version_from_its_own_target_only passes and only checks that previous_version is absent. The new history labels then show those rows as "기존 자료 유지" and "기존 자료 수정".
Fix direction: classify added when this target has no membership. Keep previous_version only for a real change of that membership's version.
Regression that should exist: both first-time B cases above assert change=="added", added==1, no previous_version, and an activity item with kind=="added".
|
Closing: this is the Oct 10-11 side stack #28 to #32 (87 commits from Why the lineage cannot land as drafts. The
What was kept. The audit read all 69 lineage commits that touch
Every other lineage commit is on main already, superseded there, or Alden desktop and feature work that depends on lineage-only modules. Nothing is deleted. The branch stays on the remote. The installed |
Alden's existing persisted collection journal could advance the viewer cursor while skipping invalid or out-of-order entries. History rows also conflated confirmed removals and relation changes with generic "stored" steps, and selected history events had no verification of current source/index status.
This stacked change preserves the existing project/target/cancellation boundaries and improves the actual runtime:
previous_versionfrom that target's own membership. A same-name or same original from another target cannot impersonate the former version.collection-tracewith explicit allowed projects, document, version and target. Show confirmed original SHA-256, FTS and derived Dense binding only if document/version/target/projects and completedrun_idmatch. Report retractions, later revisions and unavailable readback honestly; dispose/hide/filter/journal-reset fences suppress late replies. No reading creates collection events or AI-model-activity pulses.Validation: macOS GitHub Actions 38070713835 exact CI SHA
6250f436ccaa7d41b0f1a1cebf269d0967e50266: 60/60 focused Python source/pipeline tests, 471/471 desktop UI tests, TypeScript/Vite production build. The 6 affected source/test blob SHAs were independently compared against this draft PR branch and all match. Early failed runs 38070024117 (test TTL fixture) and 38070472923 (TypeScript null narrowing) are retained; both were corrected and reevaluated.Release gates: source-only + remote macOS CI, not the user's installed Alden. Source commit/branch is stacked on draft PR #29, then #28, then #27; no merges. No Mac Core
turn_tokenor Desktop Computer Use connector is currently available, so the designated Mac clone,goal-objective.md/localoutputs/STATUS.md, user DB/model/process/queue, physical STT/TTS and external osk-system host cannot be honestly claimed as verified. Current unsigned 0.3.58 artifact from commitc494a53predates these changes.Design, evidence and the pending Mac install/rollback steps: dated integration note.
Unsigned macOS candidate built from this change
GitHub Actions #38070940937 completed successfully: arm64 release bundle, source-bound allowlisted resource checks, archive SHA manifest and artifact upload. Build commit
cf1f40779d9830dc14024cdf271ea9cdd30fe9b1is the PR #30 headc62d6b7763a6644151aa18ff3a4edc7f239e3821plus exactly one CI-only workflow file. Bundle version remains 0.3.58 and bundle IDcom.openkakao.alden.desktop; bundled collection/retrieval/MCP/menu source Git blob SHAs match PR #30. GitHub Actions artifact:Alden-unsigned-macos-arm64-memory-continuity(artifact ID11676592857). Inner app ZIP SHA-2568daa4bccf9ec77297a5cb918371c0f9047fc7b8e12a3e2f03de8814f34057d17; verified 63 ZIP entries / 54 resource files / arm64 Mach-O. This is an unsigned, unnotarized, uninstalled build candidate, not a public release or owner's physical Mac runtime proof. The earlier candidatec494a53is retained as dated prior evidence.