docs(agenten): Fallakte Livia und Agenten-Briefing sichern
`LIVIA_PROFIL_UND_PROMPT.md` hält Livia als Exposé Master fest, wie sie vor Runde 8 war: Personalblatt, Aufgabenkatalog, Kanäle und Systeme, das Exposé-Dossier mit elf Bereichen und neun Pflichtfeldern, die `missingFacts`-Regel der Textmaschine — dazu ein System-Prompt, mit dem sich diese Fassung ausserhalb des Repositories rekonstruieren lässt. `archive/livia/` ergänzt die Beschreibung um die Wiederherstellung: die 23 Dateien der Exposé-Funktion als wörtliche Kopie im Original-Pfadlayout sowie ein Manifest jeder Stelle, an der Livia in geteilten Dateien verdrahtet war. Beides ist mit Runde 8 nicht überholt, sondern der Referenzstand: die Exposé-Funktion wurde nicht entfernt, sondern nachgeordnet. Das Manifest beschreibt allerdings den Rückbau eines vollständigen Entfernens und damit ein Szenario, das so nicht eingetreten ist. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
ba8dc39483
commit
2037e5a463
33 files changed
+4431
No files matched your search
@@ -0,0 +1,86 @@
|
||||
/**
|
||||
* Property On — Exposé-Dossier von Livia.
|
||||
*
|
||||
* Der Datensatz bildet die fachlichen Bereiche der Referenzvorlage ab
|
||||
* (Runde 4, §8.5.2). Bewusst als flaches Feld-Wörterbuch statt als tief
|
||||
* geschachtelte Struktur: die Bereiche sind reine Gliederung des Formulars,
|
||||
* kein Domänenmodell. Eine Schachtelung würde jedes Feld doppelt benennen —
|
||||
* einmal im Typ, einmal in der Feldliste — und beide könnten auseinanderlaufen.
|
||||
*
|
||||
* Was aus «Meine Objekte» belegbar ist, füllt Livia; alles andere bleibt leer
|
||||
* und wird als fehlend markiert. Es werden keine plausiblen Werte erfunden.
|
||||
*/
|
||||
|
||||
import type { ExposeTonality } from '../services/ai/IAIService'
|
||||
|
||||
/** Kategorien für die Medien-Kuration. */
|
||||
export const ExposeImageCategory = {
|
||||
EXTERIOR: 'EXTERIOR',
|
||||
INTERIOR: 'INTERIOR',
|
||||
FLOORPLAN: 'FLOORPLAN',
|
||||
SURROUNDINGS: 'SURROUNDINGS',
|
||||
OTHER: 'OTHER',
|
||||
} as const
|
||||
export type ExposeImageCategory = typeof ExposeImageCategory[keyof typeof ExposeImageCategory]
|
||||
|
||||
export interface ExposeImage {
|
||||
id: string
|
||||
url: string
|
||||
fileName: string
|
||||
category: ExposeImageCategory
|
||||
caption: string
|
||||
/** Im Exposé sichtbar. */
|
||||
visible: boolean
|
||||
isCover: boolean
|
||||
/** true = aus «Meine Objekte» importiert, false = zusätzlich hochgeladen. */
|
||||
imported: boolean
|
||||
}
|
||||
|
||||
export const ExposeDocumentType = {
|
||||
FLOORPLAN: 'FLOORPLAN',
|
||||
LEASE_CONTRACT: 'LEASE_CONTRACT',
|
||||
ENERGY_CERTIFICATE: 'ENERGY_CERTIFICATE',
|
||||
SITE_PLAN: 'SITE_PLAN',
|
||||
OTHER: 'OTHER',
|
||||
} as const
|
||||
export type ExposeDocumentType = typeof ExposeDocumentType[keyof typeof ExposeDocumentType]
|
||||
|
||||
export interface ExposeDocument {
|
||||
id: string
|
||||
type: ExposeDocumentType
|
||||
title: string
|
||||
fileName: string
|
||||
/** Als Anhang im Exposé sichtbar. */
|
||||
visibleAsAttachment: boolean
|
||||
}
|
||||
|
||||
/** Herkunft der Firmenfarben im Exposé. */
|
||||
export const ExposeBranding = {
|
||||
FROM_PROFILE: 'FROM_PROFILE',
|
||||
MANUAL: 'MANUAL',
|
||||
} as const
|
||||
export type ExposeBranding = typeof ExposeBranding[keyof typeof ExposeBranding]
|
||||
|
||||
/**
|
||||
* Sämtliche Formularwerte. Schlüssel siehe `lib/exposeFields.ts` — dort stehen
|
||||
* Beschriftung, Feldtyp, Bereich und Pflichtangabe an genau einer Stelle.
|
||||
*/
|
||||
export type ExposeValues = Record<string, string>
|
||||
|
||||
export interface ExposeDraft {
|
||||
id: string
|
||||
leadId: string
|
||||
/** Objekt aus «Meine Objekte», aus dem die Angaben stammen. */
|
||||
propertyId: string
|
||||
values: ExposeValues
|
||||
tonality: ExposeTonality
|
||||
images: ExposeImage[]
|
||||
documents: ExposeDocument[]
|
||||
branding: ExposeBranding
|
||||
brandColor?: string
|
||||
/** Ansprechperson fürs Exposé — aus dem Maklerprofil oder manuell. */
|
||||
contactPerson: string
|
||||
updatedAt: string
|
||||
/** Zeitpunkt der letzten Erstellung; leer, solange nur gespeichert wurde. */
|
||||
generatedAt?: string
|
||||
}
|
||||
Reference in new issue
Block a user