From 1b692b8cde4a888c8a35af69231f181b57bf5619 Mon Sep 17 00:00:00 2001 From: soryu Date: Fri, 6 Feb 2026 20:06:30 +0000 Subject: Fix: Cleanup old chain code --- makima/src/server/mod.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'makima/src/server/mod.rs') diff --git a/makima/src/server/mod.rs b/makima/src/server/mod.rs index 927e9a5..463a5f5 100644 --- a/makima/src/server/mod.rs +++ b/makima/src/server/mod.rs @@ -229,6 +229,9 @@ pub fn make_router(state: SharedState) -> Router { .route("/directives/{id}/pause", post(directives::pause_directive)) .route("/directives/{id}/resume", post(directives::resume_directive)) .route("/directives/{id}/stop", post(directives::stop_directive)) + .route("/directives/{id}/requirements", axum::routing::put(directives::update_requirements)) + .route("/directives/{id}/criteria", axum::routing::put(directives::update_criteria)) + .route("/directives/{id}/generate-spec", post(directives::generate_spec)) // Directive chain management .route("/directives/{id}/chain", get(directives::get_chain)) .route("/directives/{id}/chain/graph", get(directives::get_chain_graph)) @@ -245,12 +248,15 @@ pub fn make_router(state: SharedState) -> Router { .delete(directives::delete_step), ) .route("/directives/{id}/chain/steps/{step_id}/skip", post(directives::skip_step)) + .route("/directives/{id}/chain/steps/{step_id}/evaluate", post(directives::evaluate_step)) + .route("/directives/{id}/chain/steps/{step_id}/rework", post(directives::rework_step)) // Directive evaluations .route("/directives/{id}/evaluations", get(directives::list_evaluations)) // Directive events .route("/directives/{id}/events", get(directives::list_events)) .route("/directives/{id}/events/stream", get(directives::stream_events)) // Directive verifiers + .route("/directives/{id}/verifiers/auto-detect", post(directives::auto_detect_verifiers)) .route( "/directives/{id}/verifiers", get(directives::list_verifiers).post(directives::add_verifier), -- cgit v1.2.3