Feature: interactive answer capture (catalog ask) #137
Labels
No labels
coordination/cross-repo
coordination/needed
effort
large
effort
medium
effort
small
meta/duplicate
meta/planning
meta/wontfix
priority
high
priority
low
priority
medium
session
blocker
session
handover
session
next
status
blocked
status
done
status
in-progress
status
review
status
to-go
type
admin
type/architecture
type
bug
type
config
type
deployment
type
docs
type/documentation
type
enhancement
type
feature
type
handover
type
infrastructure
type
installation
type
maintenance
type
migration
type
research
type
security
type/task
type/tech-debt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DAW/fragjan#137
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Capture answers during the conversation: fragjan asks, the user answers
in
$EDITOR(e.g.EDITOR=hx), fragjan saves after every question.Behaviour
fragjan catalog ask <answers-file> [--phase] [--area] [--audience]<answers-dir>/antworten/<question_id>.mdin$EDITOR,question shown as HTML comment (
<!-- -->, no clash with headings)-= not_applicable,q= quitstored under
questions:in the answers fileyaml.dump()Dependencies
sys:run_interactive(cmd)in daw-lua-common (TTY passthrough;run()/run_rc()useio.popenand capture output)daw.common.sys-- decide when commonis migrated
Out of scope
Refs: DAW/fragjan#136
Update after #139 (0.5.1)
The answers model changed;
catalog askmust write the new schema:findingsas dated list (append only, never overwrite); ask writesfull timestamps (YYYY-MM-DDTHH:MM+HH:MM), hand-written entries may
use date or date + time
statementsreferenceconversations(party and date live there)updatedwhen savingantworten/<id>.md, evidence as{ path, visibility }catalog initwas restored in #136 and creates answers file andtemplates; ask builds on it instead of replacing it
catalog sheetcovers the paper/Helix conversation guide; ask is theinteractive variant
The question mechanism of this issue and the questions of the module-manager (DAW/daw-module-manager#24) are meant to be one mechanism that is the same in every UI (CLI, web, API, desktop). Asking in the editor (EDITOR) followed by prompts in the terminal is one way a terminal UI can offer an answer, not the protocol. The question, the form of the answer (daw_field_type/v1) and the delivery of both are to be neutral, and storing the answers afterwards is not a task of the UI layer (an answers-file module could do it). A first validation of the delivery path with one yes/no question of the module-manager is planned. This issue follows when that works end to end. The design above is not changed by this comment.