stabilize tests
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
- docs/modules/platform/architecture-overview.md
|
||||
- docs/modules/advisory-ai/architecture.md
|
||||
- src/AdvisoryAI/AGENTS.md (parent module charter)
|
||||
- docs/policy/assistant-parameters.md (guardrail and ops knobs)
|
||||
- docs/modules/policy/guides/assistant-parameters.md (guardrail and ops knobs)
|
||||
- docs/modules/advisory-ai/deployment.md (service configuration)
|
||||
|
||||
## Working Directory & Scope
|
||||
@@ -26,26 +26,26 @@
|
||||
- Shared libraries: Router.AspNet for Stella Router integration
|
||||
|
||||
## Key Components
|
||||
- `Program.cs` — WebApplication setup, endpoint mapping, middleware pipeline.
|
||||
- `Contracts/` — Request/response DTOs for API endpoints:
|
||||
- `AdvisoryPlanRequest/Response` — plan generation
|
||||
- `AdvisoryExecuteRequest` — execution trigger
|
||||
- `AdvisoryQueueRequest/Response` — queue management
|
||||
- `ExplainRequest/Response` — explanation endpoints
|
||||
- `ConsentContracts` — AI consent management (VEX-AI-016)
|
||||
- `JustifyContracts` — justification generation
|
||||
- `PolicyStudioContracts` — policy studio integration
|
||||
- `RemediationContracts` — remediation plan endpoints
|
||||
- `Services/` — Service implementations:
|
||||
- `IAiConsentStore` / `InMemoryAiConsentStore` — consent tracking
|
||||
- `IAiJustificationGenerator` / `DefaultAiJustificationGenerator` — justification generation
|
||||
- `Program.cs` ??? WebApplication setup, endpoint mapping, middleware pipeline.
|
||||
- `Contracts/` ??? Request/response DTOs for API endpoints:
|
||||
- `AdvisoryPlanRequest/Response` ??? plan generation
|
||||
- `AdvisoryExecuteRequest` ??? execution trigger
|
||||
- `AdvisoryQueueRequest/Response` ??? queue management
|
||||
- `ExplainRequest/Response` ??? explanation endpoints
|
||||
- `ConsentContracts` ??? AI consent management (VEX-AI-016)
|
||||
- `JustifyContracts` ??? justification generation
|
||||
- `PolicyStudioContracts` ??? policy studio integration
|
||||
- `RemediationContracts` ??? remediation plan endpoints
|
||||
- `Services/` ??? Service implementations:
|
||||
- `IAiConsentStore` / `InMemoryAiConsentStore` ??? consent tracking
|
||||
- `IAiJustificationGenerator` / `DefaultAiJustificationGenerator` ??? justification generation
|
||||
|
||||
## API Endpoints
|
||||
- POST /api/advisory/plan — Generate advisory plan
|
||||
- POST /api/advisory/execute — Execute advisory plan
|
||||
- POST /api/advisory/queue — Queue advisory task
|
||||
- GET /api/advisory/output/{id} — Retrieve advisory output
|
||||
- POST /api/advisory/explain — Generate explanation
|
||||
- POST /api/advisory/plan ??? Generate advisory plan
|
||||
- POST /api/advisory/execute ??? Execute advisory plan
|
||||
- POST /api/advisory/queue ??? Queue advisory task
|
||||
- GET /api/advisory/output/{id} ??? Retrieve advisory output
|
||||
- POST /api/advisory/explain ??? Generate explanation
|
||||
- Consent and justification endpoints per VEX-AI-016
|
||||
|
||||
## Testing Expectations
|
||||
@@ -62,3 +62,4 @@
|
||||
- Security: validate all input, enforce consent where required, no embedding secrets.
|
||||
- Update sprint status in docs/implplan/SPRINT_*.md when starting/completing work.
|
||||
- Mirror decisions in sprint Decisions & Risks section.
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
|
||||
using StellaOps.AdvisoryAI.Orchestration;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using StellaOps.AdvisoryAI.Orchestration;
|
||||
|
||||
namespace StellaOps.AdvisoryAI.WebService.Contracts;
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
using StellaOps.AdvisoryAI.Guardrails;
|
||||
using StellaOps.AdvisoryAI.Outputs;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace StellaOps.AdvisoryAI.WebService.Contracts;
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
|
||||
using StellaOps.AdvisoryAI.Orchestration;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using StellaOps.AdvisoryAI.Orchestration;
|
||||
|
||||
namespace StellaOps.AdvisoryAI.WebService.Contracts;
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
|
||||
using StellaOps.AdvisoryAI.Orchestration;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using StellaOps.AdvisoryAI.Orchestration;
|
||||
|
||||
namespace StellaOps.AdvisoryAI.WebService.Contracts;
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
using StellaOps.AdvisoryAI.Orchestration;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace StellaOps.AdvisoryAI.WebService.Contracts;
|
||||
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
// Copyright (c) StellaOps. Licensed under the BUSL-1.1.
|
||||
// </copyright>
|
||||
|
||||
|
||||
using StellaOps.AdvisoryAI.Chat;
|
||||
using System.Collections.Immutable;
|
||||
using System.Text.Json.Serialization;
|
||||
using StellaOps.AdvisoryAI.Chat;
|
||||
|
||||
namespace StellaOps.AdvisoryAI.WebService.Contracts;
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
using StellaOps.AdvisoryAI.Explanation;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace StellaOps.AdvisoryAI.WebService.Contracts;
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
using StellaOps.AdvisoryAI.PolicyStudio;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace StellaOps.AdvisoryAI.WebService.Contracts;
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
using StellaOps.AdvisoryAI.Remediation;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace StellaOps.AdvisoryAI.WebService.Contracts;
|
||||
|
||||
|
||||
@@ -2,9 +2,7 @@
|
||||
// Copyright (c) StellaOps. Licensed under the BUSL-1.1.
|
||||
// </copyright>
|
||||
|
||||
using System.Collections.Immutable;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text.Json;
|
||||
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
@@ -19,6 +17,9 @@ using StellaOps.AdvisoryAI.Chat.Routing;
|
||||
using StellaOps.AdvisoryAI.Chat.Services;
|
||||
using StellaOps.AdvisoryAI.Chat.Settings;
|
||||
using StellaOps.AdvisoryAI.WebService.Contracts;
|
||||
using System.Collections.Immutable;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace StellaOps.AdvisoryAI.WebService.Endpoints;
|
||||
|
||||
|
||||
@@ -2,13 +2,14 @@
|
||||
// Copyright (c) StellaOps. Licensed under the BUSL-1.1.
|
||||
// </copyright>
|
||||
|
||||
using System.Collections.Immutable;
|
||||
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Routing;
|
||||
using StellaOps.Determinism;
|
||||
using StellaOps.Evidence.Pack;
|
||||
using StellaOps.Evidence.Pack.Models;
|
||||
using System.Collections.Immutable;
|
||||
|
||||
namespace StellaOps.AdvisoryAI.WebService.Endpoints;
|
||||
|
||||
|
||||
@@ -2,13 +2,14 @@
|
||||
// Copyright (c) StellaOps. Licensed under the BUSL-1.1.
|
||||
// </copyright>
|
||||
|
||||
using System.Collections.Immutable;
|
||||
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.AspNetCore.Routing;
|
||||
using StellaOps.AdvisoryAI.Runs;
|
||||
using StellaOps.Determinism;
|
||||
using System.Collections.Immutable;
|
||||
|
||||
namespace StellaOps.AdvisoryAI.WebService.Endpoints;
|
||||
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
using System.Collections.Immutable;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Threading.RateLimiting;
|
||||
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.RateLimiting;
|
||||
@@ -15,21 +10,27 @@ using Microsoft.Extensions.Logging;
|
||||
using StellaOps.AdvisoryAI.Attestation;
|
||||
using StellaOps.AdvisoryAI.Caching;
|
||||
using StellaOps.AdvisoryAI.Chat;
|
||||
using StellaOps.Evidence.Pack;
|
||||
using StellaOps.AdvisoryAI.Diagnostics;
|
||||
using StellaOps.AdvisoryAI.Evidence;
|
||||
using StellaOps.AdvisoryAI.Explanation;
|
||||
using StellaOps.AdvisoryAI.Hosting;
|
||||
using StellaOps.AdvisoryAI.Metrics;
|
||||
using StellaOps.AdvisoryAI.Outputs;
|
||||
using StellaOps.AdvisoryAI.Orchestration;
|
||||
using StellaOps.AdvisoryAI.Queue;
|
||||
using StellaOps.AdvisoryAI.Outputs;
|
||||
using StellaOps.AdvisoryAI.PolicyStudio;
|
||||
using StellaOps.AdvisoryAI.Queue;
|
||||
using StellaOps.AdvisoryAI.Remediation;
|
||||
using StellaOps.AdvisoryAI.WebService.Contracts;
|
||||
using StellaOps.AdvisoryAI.WebService.Endpoints;
|
||||
using StellaOps.AdvisoryAI.WebService.Services;
|
||||
using StellaOps.Evidence.Pack;
|
||||
using StellaOps.Router.AspNet;
|
||||
using System.Collections.Immutable;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Threading.RateLimiting;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
|
||||
8
src/AdvisoryAI/StellaOps.AdvisoryAI.WebService/TASKS.md
Normal file
8
src/AdvisoryAI/StellaOps.AdvisoryAI.WebService/TASKS.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# StellaOps.AdvisoryAI.WebService Task Board
|
||||
This board mirrors active sprint tasks for this module.
|
||||
Source of truth: `docs/implplan/SPRINT_20260130_002_Tools_csproj_remediation_solid_review.md`.
|
||||
|
||||
| Task ID | Status | Notes |
|
||||
| --- | --- | --- |
|
||||
| REMED-05 | TODO | Remediation checklist: docs/implplan/audits/csproj-standards/remediation/checklists/src/AdvisoryAI/StellaOps.AdvisoryAI.WebService/StellaOps.AdvisoryAI.WebService.md. |
|
||||
| REMED-06 | DONE | SOLID review notes captured for SPRINT_20260130_002. |
|
||||
Reference in New Issue
Block a user