Skip to content

Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.

1.5 KB
Raw Blame
import { PRIVATE_REHOME_ENGINE } from '../private-rehome-engine.js';

/** Destination application uses the source identity as its idempotency key [H16]. */
function minimumEngine() { return PRIVATE_REHOME_ENGINE; }
/** Destination replay is attributed to the authenticated local/relay actor [H2,H16]. */
function actor(move) { return move.args[1]?.destinationAgentId ?? move.args[1]?.agentId ?? null; }

export default Object.freeze({ operation: 'applyRehomeItem', order: 10002, engine: PRIVATE_REHOME_ENGINE,
  itemIdFirstArgument: false, minimumEngine, actor,
  nextSteps: Object.freeze({
    REHOME_CHECK: 'keep the source check unchanged and choose a destination board whose policy accepts it',
    REHOME_CONFLICT: 'keep the original source move ID and resolve the destination board conflict before retrying',
    REHOME_DESTINATION: 'apply the source move on its named destination board',
    REHOME_FORMAT: 'restore the exact source move record and retry it with an authorized destination handle',
    REHOME_ID: 'preserve the source MOVEID and its reserved destination ID; resolve the item-ID conflict before retrying',
    REHOME_LINKS: 'move each parent or wait item to this destination first, then retry the same source MOVEID',
    REHOME_PENDING: 'retry the same move ID and destination to finish delivery; do not allocate another destination ID',
    REHOME_VERDICT: 'keep the source board acceptance intact and inspect its exact commit, digest and verifier reference',
  }) });