Feature: catalog 0.5.1 -- findings, statements, confidentiality, sheets #139
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#139
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?
Context
Requirements lost while condensing the interim template
(
interim-aufnahme.md) into #136. The template separatesconversations, statements and findings and keeps internal material
out of customer reports. 0.5.0 only knows "answers". 0.5.1 restores
the full flow: conversation -> statements -> finding -> report.
No real answers files exist yet, so the schema can change without
migration.
Principles
finding: unclearis the safe default. An answer, a statement or aticked box never turns into
confirmedautomatically.1. Finding separate from status
findingmissing -> treated asunclearconfirmedorrefutedwithoutbasis-> warningconfirmedwithoutbasiswhose statements are allkind: assumption-> warning (a basis may exist independently ofthe statements, so this is never an error)
filessupport a finding but do not prove it; fragjan does notjudge whether evidence is sufficient
2. Conversations and statements
become statements
partyis independent ofcatalog.audiences: audiences are who aquestion is addressed to (questions, sheets); party is where a
statement comes from (
gf,gl-infra,interim, ...)questions:) plus statementsnext_review: YYYY-MM-DDper answer (follow-up, a task --not part of the dates overview)
3. Confidentiality and report audiences
next_reviewappear only withcatalog report --internalconfidential: trueon an answer hides it in the normal reporteverywhere: sections, critical points, contradictions, dates, open items
catalog.confidential: trueon a pack: normal report is refused(error), only
--internalworks -- for the recruiter packconfidential: falseto overridea confidential pack
--internalis an output choice, not access control; the file muststill be protected
4. Report changes
contradictory), never a statement as fact
finding: contradictorydate, kind; block "Follow-ups" with
next_review5. catalog sheet
conversation(default): pack id, filters, empty party/date fields,questions as
- [ ] <id> <text>, free notes sectionquestionnaire:catalog.intro_file(Markdown, path relative to thepack dir, since multiline YAML is not supported) plus numbered
questions with ids; missing or unreadable intro file is an error
answered; fragjan does not readthem back
Acceptance tests (before coding: schema checked against these)
finding: unclear-> reportsays unclear, no "backup exists"
contradictory-> listedunder Contradictions
conversation only in
--internalconfirmedbased only on an assumption, no basis -> warningrefutedwithout basis -> warningobservation,party: interimof the normal report
Out of scope
(after first real conversations)
Notes
core/validator/answers.lua(165 lines) will need a split(e.g. statements/conversations module)
Refs: DAW/fragjan#136, DAW/fragjan#137
Scope update
Dated findings instead of a single finding
The way from "untested" to "tested" is a result of the mandate and
must be kept.
findingbecomes a dated list; the latest entry is thecurrent finding, earlier entries are never overwritten.
basiswarnings (confirmed/refuted) apply per entrycritical,priority,datesstay on the answer (current situation)unclearReport architecture (prerequisite for profiles)
answers, statements, findings history
-> visibility filter (customer / internal, confidentiality)
-> report model (current findings, changes, critical, dates, open)
-> renderer with named blocks
profile can never see data the audience may not see
follow_ups, statements (internal), changes (prepared, see follow-up)
("previously unclear, 2026-10-13"); internal: full history with basis
Additional acceptance cases
status: open, finding unclear,statement
kind: unknown("does not know, refers to colleague");stays in open items, internal shows it was asked
(interim), finding
refutedwith basis; both statements keptcustomer report shows current plus history line
an example conversation sheet and expected reports (normal and
internal) written before implementation
kindvalues: assumption | claim | observation | unknownDecisions from fixture review (acceptance-fixtures-v4)
Evidence with visibility per file
files: [path]shorthand (nothing to migrate yet)visibility: customeronly allows the reference in the report; fragjannever attaches, publishes or grants access to the document
report model -> renderer. A confidential answer stays hidden even if
one of its files is
customerVisible check note in the customer report
confirmedorrefutedwithoutbasisis shown asBefund: bestaetigt -- Pruefgrundlage nicht dokumentiert.fragjan does not change the human assessment, but never hides the
missing basis behind a terminal warning the client does not see.
Question semantics
A11 showed that a finding must answer the question as asked.
"Is restore tested regularly?" is not confirmed by one successful test.
Split into A11 (restore possible: unclear -> confirmed) and A12
(regular tests: refuted with basis).
refutedis read against thequestion, also for negated or compound questions.
Additional acceptance cases
Session handover: acceptance fixtures committed (
76f439f) -- contract for implementation. Next: (2) validator: findings list, conversations, statements, files with visibility, next_review, catalog.confidential, intro_file; split answers.lua. Then (3) report model, (4) renderer, (5) acceptance test against expected/, (6) catalog sheet. Write acceptance test (5) first, red, as target.Design note (keep door open for anagild and processes): anagild will draw processes from data fragjan provides, so 0.5.1 keeps four properties: (1) stable ids as graph nodes (pack_id, question_id, conversation id, section id); (2) relations as references, not text (statement -> conversation, question -> section; later process step -> question); (3) data separate from presentation -- model.build() returns plain data, a later export for anagild (e.g. JSON) is just another renderer; (4) dated history, findings are never overwritten. Processes come later as their own schema (fragjan_process/v1: steps, lanes, flows, systems; variant ist/soll; steps reference questions and findings), visualised by anagild, Mermaid possible as simple first output. Open: findings have no own id yet (list position is stable because entries are only appended); an optional id can be added later without breaking files.
Done: dated findings with basis and check note, conversations and statements, evidence visibility, confidential answers and packs, visibility filter before an independent report model, renderer on the filtered model only, report --internal, catalog sheet (conversation sheet and questionnaire). Acceptance test against expected reports, warnings and sheets: 13/13; 276 tests per Lua version (5.1, 5.4). Follow-ups: #140 report profiles, #137 ask, processes via anagild.
Decisions made during implementation: (1) finding date accepts YYYY-MM-DD with optional HH:MM[:SS] and Z/+HH:MM offset, range-checked; days must not run backwards, list order decides. (2) No findings is an implicit finding shown as 'noch nicht bewertet' -- 'ungeklaert' stays a deliberate assessment. (3) Customer report: confidential answers are not read at all, only customer-visible evidence is checked. (4) catalog sheet: --out required, an existing file is not overwritten (check before write), no matching questions is an error.