Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
/**
* Teach the two Writers Room character-facing prompts the narrative framework
* the bible has always been able to store (#6417):
*
* - `writers-room-characters.md` may now PROPOSE motivations / Ghost / Wound /
* Lie / Need / Want / arc type / secrets, under an explicit rule that an
* empty framework field beats an invented backstory and that an inferred
* read is flagged in `missingFromProse`.
* - `writers-room-evaluate.md` receives the authored framework (when the work
* has one) so the editorial pass reports delivery against the writer's plan
* instead of inferring the plan and the delivery from the same prose.
*/
import { makePromptReplaceMigration } from './_lib.js';
export const ACCEPTED_OLD_MD5 = {
"writers-room-characters.md": [
"cdd99c7a3ef92bf798f30fa2fb4465f1"
],
"writers-room-evaluate.md": [
"d3374472820df264731f435141e05270"
]
};
export const NEW_SHIPPED_MD5 = {
// Re-pointed at the post-394 body (non-fiction lens). 4b19f65… stays
// reachable as 394's accepted-old, so an install on it still upgrades.
"writers-room-characters.md": "73ec5bbfdad5c62ec5d5c30f0940febf",
"writers-room-evaluate.md": "995cfd92061b55730b0e081998e96f84"
};
const { applyMigration, up } = makePromptReplaceMigration({
accepted: ACCEPTED_OLD_MD5, current: NEW_SHIPPED_MD5,
label: 'writers-room character framework',
customizedHint: (filename) => ` Merge the character-framework guidance (Ghost / Wound / Lie / Need / Want, arc type, secrets) and its output keys from data.reference/prompts/stages/${filename}.`,
});
export { applyMigration };
export default { up };