fix(ai): exclude manual entries from card narratives, clarify summary panel wording

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
Dave 2026-09-19 10:50:12 +02:00
parent 08cf5d5ce7
commit 5283a455fa
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ export function SummaryPanel({
</h2>
<p className="mt-0.5 text-xs text-text-muted">
<span className="tabular">{status.summarised}</span> of{" "}
<span className="tabular">{status.total}</span> commits summarised
<span className="tabular">{status.total}</span> eligible commits summarised
{status.stale > 0 && (
<>
{" · "}

View file

@ -63,7 +63,7 @@ export async function narrateProject(projectId: string): Promise<NarrateResult>
for (const card of cards) {
const commits = await pb.collection("commits").getFullList<CommitRecord>({
filter: `card = "${card.id}" && is_merge = false`,
filter: `card = "${card.id}" && is_merge = false && source != "manual"`,
sort: "authored_at",
fields: "sha,subject,summary,authored_at",
});