Commit Graph

12 Commits

Author SHA1 Message Date
Your Name be4bee5f1a refactor(context): implement Named Processor Configuration architecture for context pipelines
This commit transitions the Context Manager to a statically-typed, functional pipeline architecture while strictly preserving dynamic hyperparameter capabilities via JSON Sidecar configs.

Key Changes:
- **Functional Processors:** Processors are now pure closure-based HOFs returning a clean `{ id, name, process }` interface, eliminating pseudo-class Object.assign hacks.
- **Named Configurations:** The `SidecarConfig` schema now validates a dictionary of named `processorOptions`.
- **Static Pipeline Wiring:** `profiles.ts` hardcodes the execution order of pipelines in TS, injecting dynamically-loaded (and pre-validated) hyperparameter overrides by looking up their named configuration identifier.
- **Deep Validation:** `schema.ts` dynamically flattens the `SchemaRegistry` using `oneOf` blocks, allowing external JSON validators (like IDEs) to natively understand and validate context hyperparameter schemas.
2026-04-10 00:53:32 +00:00
Your Name 0ebc369d2c test: restore and migrate context processor unit tests to functional HOFs
Restores the 7 core unit tests deleted to bypass compiler errors, migrates their syntax to the new functional `createXProcessor()` paradigm, and fixes the TS/ESLint parsing errors caused by my `Object.assign` use on the `ContextProcessorFn` definitions.
2026-04-09 23:37:04 +00:00
Your Name e2c3d07c84 refactor(context): migrate context wiring to TS Profiles and convert Processors to pure functional HOFs
This commit acts on the design review feedback:
1. Eliminates dynamic JSON registry instantiation for pipelines.
2. Introduces TS ContextProfiles for strongly-typed declarative wiring.
3. Converts ContextProcessors to pure functions returned by factories (HOFs) holding local state via closures.
4. Converts ContextWorkers to simple {start, stop} lifecycle objects.
5. Removes now-obsolete registry and JSON parsing overhead from Orchestrator.
2026-04-09 23:14:35 +00:00
Your Name 1d25931026 building 2026-04-09 02:24:30 +00:00
Your Name 1383200054 gcbackstop trigger 2026-04-07 21:51:09 +00:00
Your Name 370e2b9e1d fix disables 2026-04-07 05:06:26 +00:00
Your Name 1754797929 fixing 2026-04-07 04:19:44 +00:00
Your Name 64b8a6f4a8 thread around registry 2026-04-07 03:58:50 +00:00
Your Name 61dacecacf lint burn down 2026-04-07 02:42:58 +00:00
Your Name 54e901bf42 lints v0 2026-04-07 02:16:06 +00:00
Your Name fc4439ce03 refactoring continued 2026-04-06 22:29:53 +00:00
Your Name dd7190bf9c speculative partial fix for typed configs 2026-04-06 21:41:02 +00:00