summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2026-05-08 13:42:51 +0100
committersoryu <soryu@soryu.co>2026-05-08 13:42:51 +0100
commitfda983e990e4996bbbed1344cdec1e67bbeb18ae (patch)
treef12d1e1aa25ba655966d406da58de0babc251414 /Dockerfile
parent2dda1f96a30eee2fda86be9a8a59ce5cb26dad7f (diff)
downloadsoryu-document-editor-explicit-body.tar.gz
soryu-document-editor-explicit-body.zip
refactor(frontend): DocumentEditor takes explicit body/title/documentId propsdocument-editor-explicit-body
Stops shadowing directive.goal with the contract body via a synthesised directive object. DocumentEditor now accepts: * documentId — scopes the localStorage draft key per contract so switching contracts under the same directive doesn't clobber the other's unsaved edits. * title — the contract title rendered as the H1. * body — the contract body, used to seed the editor. * onUpdateBody (was onUpdateGoal) The `directive` prop stays for orchestrator state + embedded steps panel. document-directives.tsx drops the directiveAsDocument synthesis hack and passes body/title from the contract directly. This is the prep-work for dropping `directives.goal` from the schema — once nothing reads it, the column can be dropped in a follow-up without touching the editor. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'Dockerfile')
0 files changed, 0 insertions, 0 deletions