Assistant house style: a drawing-convention text every AI assistant reads

QetSettings::houseStyle()/setHouseStyle() (assistant/house_style),
qet.houseStyle()/qet.setHouseStyle() in the script API, a house_style
field in qet-assistant.json, and qet_about in the qet MCP server
showing it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ispyisail
2026-10-05 18:32:42 +13:00
parent a5cd68ced5
commit 44dfb9d8d5
7 changed files with 91 additions and 4 deletions
+8 -1
View File
@@ -111,7 +111,14 @@ void write()
{QStringLiteral("stored_scripts"), scripts},
{QStringLiteral("refused_scripts"), refused},
{QStringLiteral("recordings"), MacroRecorder::recordings()},
{QStringLiteral("live"), s_live.isEmpty() ? QJsonValue() : QJsonValue(s_live)}};
{QStringLiteral("live"), s_live.isEmpty() ? QJsonValue() : QJsonValue(s_live)},
// Free-text drawing conventions, set once by the user
// (QetSettings::setHouseStyle(), qet.setHouseStyle()) and read
// by any assistant that connects, live or headless, without it
// having to ask the user or guess. Null, not "", when unset --
// the two mean different things to a reader.
{QStringLiteral("house_style"), QetSettings::houseStyle().isEmpty()
? QJsonValue() : QJsonValue(QetSettings::houseStyle())}};
const QString file_path = path();
QDir().mkpath(QFileInfo(file_path).path());