Initial commit: Add project files
ci / backend (push) Failing after 12s
ci / frontend (push) Failing after 19s
ci / static (push) Failing after 45s

This commit is contained in:
2026-08-02 05:15:36 +09:00
commit dcd1322d41
636 changed files with 122352 additions and 0 deletions
@@ -0,0 +1,26 @@
using FastEndpoints;
using KArtSell.Modules.ModelOperations.FeedbackLoop;
namespace KArtSell.Modules.ModelOperations.Features.GetModelFeedbackLoop;
public sealed class Endpoint : EndpointWithoutRequest<Response>
{
public override void Configure()
{
Get("/model-operations/feedback-loop");
Roles("Quant", "Risk", "Compliance", "Operations", "Administrator");
Summary(x =>
{
x.Summary = "Returns the governed continuous model feedback plan.";
x.Description = "This endpoint exposes evaluation/proposal stages only. It cannot activate a model or submit an order.";
});
}
public override Task HandleAsync(CancellationToken ct)
{
var stages = ModelFeedbackPlan.Stages.Select(x => new ModelFeedbackStageResponse(
x.Order, x.StageCode, x.OperationCode, x.Name, x.AutomationBoundary,
x.RequiredEvidence, x.HumanDecision, x.FailureAction)).ToArray();
return Send.OkAsync(new Response(ModelFeedbackPlan.Boundary, stages), ct);
}
}
@@ -0,0 +1,13 @@
namespace KArtSell.Modules.ModelOperations.Features.GetModelFeedbackLoop;
public sealed record ModelFeedbackStageResponse(
int Order,
string StageCode,
string OperationCode,
string Name,
string AutomationBoundary,
string RequiredEvidence,
string HumanDecision,
string FailureAction);
public sealed record Response(string Boundary, IReadOnlyList<ModelFeedbackStageResponse> Stages);