chore: add ion package, codesight wiki, work plans, ascli config

New @boocode/ion package (v0.0.1) for inference optimization network.
.codesight/ wiki artifacts for codebase documentation.
.omo/ work plans for openspec cleanup and enhanced file panel.
This commit is contained in:
2026-06-07 22:16:45 +00:00
parent 33bf509c3f
commit b1e4e5fd2a
63 changed files with 14025 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
import { z } from 'zod';
/**
* Trigger rule for a DAG node.
*
* Determines when a node should run based on the completion status of its
* dependencies. Mirrors Airflow's trigger rules.
*/
export const triggerRuleSchema = z.enum([
/** All dependencies must have completed successfully. */
'all_success',
/** At least one dependency must have completed successfully. */
'one_success',
/** All dependencies must have finished (any status). */
'all_done',
/** No dependency failed AND at least one succeeded. */
'none_failed_min_one_success',
]);
export type TriggerRule = z.infer<typeof triggerRuleSchema>;
/** All valid trigger rule values. */
export const TRIGGER_RULES: TriggerRule[] = triggerRuleSchema.options;
/** Default trigger rule used when none is specified. */
export const DEFAULT_TRIGGER_RULE: TriggerRule = 'all_success';