Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions CHANGELOG.d/2.9.1-late-demo-cutoff-post.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# 2.9.1 Late Demo public post

Seed inserts Late Demo public post after the January 12 knowledge
cutoff so the ADR 0016 list filter has a falsifiable own-corp
counter-example. No second cutoff implementation.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ All notable changes to this project are documented here. Format follows
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versioning follows
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.9.1] - 2026-08-17

### Added

- `make seed` inserts Late Demo public post (2026-01-13) so the
January 12 Demo Corp run's knowledge cutoff is falsifiable: Demo
public post still opens; Late Demo does not. The cutoff filter
itself already lives on this stack (ADR 0016). TEPP seed already
landed through `tepp_client` (#118).

## [2.9.0] - 2026-08-17

### Added
Expand Down
5 changes: 3 additions & 2 deletions docs/adr/0016-analysis-run-knowledge-cutoff-posts.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ run.
## Consequences

- After `make seed`, the Demo Corp lineage run lists Demo public post
and other in-cutoff Demo Corp titles. The later fixture account-review
post (2026-02-10) does not appear.
and other in-cutoff Demo Corp titles. Late Demo public post
(2026-01-13) and the later fixture account-review post (2026-02-10)
do not appear.
- Open the run: Demo public post is marked updated after cutoff
(`updated_at` 2026-01-13). Demo private post is not.
- Open a marked title: the popup shows **Body this run knew** from
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "frontend",
"private": true,
"version": "2.9.0",
"version": "2.9.1",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion lineageweave/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@
"sentence_excerpts",
]

__version__ = "2.9.0"
__version__ = "2.9.1"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "lineageweave"
version = "2.9.0"
version = "2.9.1"
description = "Reconstructs git-branch-style lineage DAGs from scattered short records using multi-channel score fusion and LLM adjudication."
readme = "README.md"
license = { text = "MIT" }
Expand Down
18 changes: 18 additions & 0 deletions scripts/seed_demo_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,24 @@ def seed(
"updated_at = '2026-01-10T12:00:00Z' "
"where post_title = 'Demo private post'"
)
# #110 counter-example: a later own-corp public post stays off
# the January 12 run list (created_at after knowledge_cutoff).
late_demo_post_created_at = "2026-01-13T09:00:00Z"
cur.execute("select post_id from source_post where post_title = 'Late Demo public post'")
if cur.fetchone() is None:
cur.execute(
"insert into source_post (author_account_id, corporate_entity_id, process_unit_id, post_title, post_body, voc_type_code, visibility_code, created_at, updated_at) "
"values (%s, %s, %s, 'Late Demo public post', "
"'Written after the Demo Corp lineage-run knowledge cutoff.', "
"'voc', 'public', %s, %s)",
(
account_ids["demo.analyst"],
corporate_entity_id,
process_units["DEMO-PU-A"],
late_demo_post_created_at,
late_demo_post_created_at,
),
)
cur.execute(
"insert into post_counterparty_entity (post_id, counterparty_entity_name, relationship_type_code) "
"values (%s, 'Northridge Grid', 'rel_voc'), (%s, 'Demo Corp', 'rel_voc') "
Expand Down
13 changes: 13 additions & 0 deletions tests/test_seed_late_demo_post.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"""#110 cutoff counter-example stays in the Demo Corp seed."""

from pathlib import Path

_SEED_SCRIPT = Path(__file__).resolve().parents[1] / "scripts" / "seed_demo_data.py"


def test_seed_includes_late_demo_public_post_after_cutoff() -> None:
"""Late Demo public post is dated after the January 12 knowledge cutoff."""
seed = _SEED_SCRIPT.read_text(encoding="utf-8")
assert "Late Demo public post" in seed
assert 'late_demo_post_created_at = "2026-01-13T09:00:00Z"' in seed
assert "2026-01-12T12:00:00Z" in seed
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.