feat(7835): what resembles the work but is not shown is named by id in one pointer line
CI & Build / Python lint (push) Successful in 3s
CI & Build / Plugin hooks (push) Successful in 13s
CI & Build / TypeScript typecheck (push) Successful in 35s
CI & Build / Python tests (push) Failing after 2m1s
CI & Build / integration (push) Successful in 2m20s
CI & Build / Build & push image (push) Skipped
CI & Build / Python lint (push) Successful in 3s
CI & Build / Plugin hooks (push) Successful in 13s
CI & Build / TypeScript typecheck (push) Successful in 35s
CI & Build / Python tests (push) Failing after 2m1s
CI & Build / integration (push) Successful in 2m20s
CI & Build / Build & push image (push) Skipped
A pointer before a payload:
- the notes arms fetch a few results past the menu; those that cleared
the floor but were held back by the gate, the band or the budget are
named by id per kind, with the call that opens each kind, in one line
("Also resembling this, not shown: ...") at the message and the write
path;
- they are recorded in the record ledger as `pointed`, so an open that
follows is counted apart from pushed lines;
- setting a task in progress returns records_in_area: the notes and open
issues tagged to the task's areas, by id (a work.start row in the
kind x moment table says which kinds; it answers in a tool reply, so it
is shown as unmeasured).
The static context says what a pointer line means. Plugin version minted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -290,6 +290,9 @@ export interface RecordKindsDoor {
|
||||
default: string[];
|
||||
/** The user changed this door; otherwise it follows the shipped default. */
|
||||
changed: boolean;
|
||||
/** Its lines are recorded per session; a door that answers in a tool
|
||||
* reply is not, so it has no counts. */
|
||||
measured: boolean;
|
||||
/** Lines this door pushed of each kind, and how many were opened. */
|
||||
evidence: Record<string, WayCounts>;
|
||||
}
|
||||
@@ -311,7 +314,7 @@ export function setRecordKinds(door: string, kinds: string[] | null): Promise<Re
|
||||
}
|
||||
|
||||
/** How a record arrived in front of a session. */
|
||||
export type RecordWay = "pushed" | "asked" | "direct";
|
||||
export type RecordWay = "pushed" | "pointed" | "asked" | "direct";
|
||||
|
||||
export interface WayCounts {
|
||||
delivered: number;
|
||||
|
||||
@@ -80,6 +80,9 @@ onMounted(load);
|
||||
<span class="door-fires">{{ row.fires }}</span>
|
||||
<span v-if="!row.changed" class="door-default">shipped default</span>
|
||||
</legend>
|
||||
<p v-if="!row.measured" class="door-default">
|
||||
Named by id in the reply that sets a task in progress, so there are no counts for it.
|
||||
</p>
|
||||
<ul class="kind-list">
|
||||
<li v-for="k in table.kinds" :key="k.kind" class="kind-cell">
|
||||
<label class="kind-label">
|
||||
@@ -89,7 +92,7 @@ onMounted(load);
|
||||
/>
|
||||
{{ k.label }}
|
||||
</label>
|
||||
<span v-if="!table.evidence_failed" class="kind-evidence">{{ evidenceText(row, k.kind) }}</span>
|
||||
<span v-if="!table.evidence_failed && row.measured" class="kind-evidence">{{ evidenceText(row, k.kind) }}</span>
|
||||
</li>
|
||||
</ul>
|
||||
<button v-if="row.changed" type="button" class="btn-text door-reset" @click="save(row.door, null)">
|
||||
|
||||
@@ -35,6 +35,7 @@ function kindLabel(kind: string): string {
|
||||
// shows one number; the others show how many of those delivered were opened.
|
||||
const WAYS: [RecordWay, string][] = [
|
||||
["pushed", "shown by a hook"],
|
||||
["pointed", "named in a pointer"],
|
||||
["asked", "from its own search"],
|
||||
["direct", "opened unshown"],
|
||||
];
|
||||
@@ -58,8 +59,8 @@ function wayText(way: RecordWay, c: WayCounts): string {
|
||||
<template v-else>
|
||||
<p class="field-hint">
|
||||
Records opened, out of those delivered, over the last {{ data.days }} days across
|
||||
{{ data.sessions }} sessions: shown by a hook, returned by a search the session ran,
|
||||
or opened with nothing showing them first.
|
||||
{{ data.sessions }} sessions: shown by a hook, named by id in a pointer line,
|
||||
returned by a search the session ran, or opened with nothing showing them first.
|
||||
</p>
|
||||
<div class="reach-totals">
|
||||
<span v-for="[way, label] in WAYS" :key="way">
|
||||
|
||||
Reference in New Issue
Block a user