Skip to content
Merged
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
4 changes: 4 additions & 0 deletions CHANGELOG.d/2.2.0-name-ask-after-priya-related.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# 2.2.0 Name Ask after Priya Nair related nodes are current

Open Public post from the landed Demo Corp members and the popup names
Ask about this lineage after Priya Nair related nodes are current.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ 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.2.0] - 2026-08-17

### Added

- Opening Public post from the landed Demo Corp members now names the
next action after Priya Nair related nodes are current: **Ask about
this lineage**. Home list opens do not add that copy. No TEPP theta
is invented. No cutoff body is invented (ADR 0016).

## [2.1.0] - 2026-08-17

### Added
Expand Down
6 changes: 4 additions & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,7 @@ popup names Keyman and evaluation as the next read. After landed
evaluation, the popup names the first Keyman as the next read. After
landed Ada West related, the popup names the first related node as
the next read. After that next action, the popup lands Priya Nair
related nodes. Changing the week first still focuses the report
period field. Mean θ stays on the period-report panel.
related nodes. After those related nodes land, the popup names Ask
about this lineage as the next read. Changing the week first still
focuses the report period field. Mean θ stays on the period-report
panel.
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.1.0",
"version": "2.2.0",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
13 changes: 12 additions & 1 deletion frontend/src/App.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1488,6 +1488,7 @@ describe("App, authenticated", () => {
).not.toBeInTheDocument();
expect(screen.queryByRole("status", { name: "Keyman next action" })).not.toBeInTheDocument();
expect(screen.queryByRole("status", { name: "Related next action" })).not.toBeInTheDocument();
expect(screen.queryByRole("status", { name: "Ask next action" })).not.toBeInTheDocument();
expect(screen.queryByText("Related to Ada West")).not.toBeInTheDocument();
expect(screen.queryByText("Related to Priya Nair")).not.toBeInTheDocument();
const popup = document.querySelector(".popup-panel");
Expand Down Expand Up @@ -2368,7 +2369,14 @@ describe("App, authenticated", () => {
expect(
relatedNext.compareDocumentPosition(landedRelated) & Node.DOCUMENT_POSITION_FOLLOWING,
).not.toBe(0);
expect(landedRelated.compareDocumentPosition(affiliate) & Node.DOCUMENT_POSITION_FOLLOWING).not.toBe(
const askNext = await screen.findByRole("status", { name: "Ask next action" });
expect(askNext).toHaveTextContent(
"Related nodes for Priya Nair are current. Ask about this lineage next.",
);
expect(
landedRelated.compareDocumentPosition(askNext) & Node.DOCUMENT_POSITION_FOLLOWING,
).not.toBe(0);
expect(askNext.compareDocumentPosition(affiliate) & Node.DOCUMENT_POSITION_FOLLOWING).not.toBe(
0,
);
} finally {
Expand Down Expand Up @@ -2646,6 +2654,9 @@ describe("App, authenticated", () => {
"Priya Nair is the first related node. Read that person next.",
);
expect(await screen.findByRole("heading", { name: "Related to Priya Nair" })).toBeInTheDocument();
expect(await screen.findByRole("status", { name: "Ask next action" })).toHaveTextContent(
"Related nodes for Priya Nair are current. Ask about this lineage next.",
);
});

it("lets post_admin rebuild the period report", async () => {
Expand Down
13 changes: 12 additions & 1 deletion frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,9 @@ function ChatPanel({ postId, accessToken }: { postId: string; accessToken: strin

return (
<section className="popup-section chat-section">
<h3>Ask about this lineage</h3>
<h3 id="post-ask" tabIndex={-1}>
Ask about this lineage
</h3>
{!seededOnly && (
<div className="chat-input-row">
<input
Expand Down Expand Up @@ -284,6 +286,10 @@ function firstRelatedNextAction(nodeLabel: string): string {
return `${nodeLabel} is the first related node. Read that person next.`;
}

function relatedNodesCurrentNextAction(personName: string): string {
return `Related nodes for ${personName} are current. Ask about this lineage next.`;
}

function EventLineageSection({
lineage,
graph,
Expand Down Expand Up @@ -910,6 +916,11 @@ function KeymanPanel({
)}
</div>
) : null}
{afterList && landFirstRelated && landedRelatedName && landedRelated !== null ? (
<p className="post-meta" role="status" aria-label="Ask next action">
{relatedNodesCurrentNextAction(landedRelatedName)}
</p>
) : null}
</>
);
}
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.1.0"
__version__ = "2.2.0"
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.1.0"
version = "2.2.0"
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
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.