chore(furniture-domain): checkpoint pending development updates

This commit is contained in:
José René White Enciso 2026-03-09 11:57:46 -06:00
parent d8e7d9ef07
commit e08442cfa4
7 changed files with 58 additions and 3 deletions

View File

@ -3,8 +3,8 @@
<Authors>AgileWebs</Authors> <Authors>AgileWebs</Authors>
<Company>AgileWebs</Company> <Company>AgileWebs</Company>
<RepositoryType>git</RepositoryType> <RepositoryType>git</RepositoryType>
<RepositoryUrl>http://192.168.10.100:3000/AgileWebs/furniture-domain</RepositoryUrl> <RepositoryUrl>https://gitea.dream-views.com/AgileWebs/furniture-domain</RepositoryUrl>
<PackageProjectUrl>http://192.168.10.100:3000/AgileWebs/furniture-domain</PackageProjectUrl> <PackageProjectUrl>https://gitea.dream-views.com/AgileWebs/furniture-domain</PackageProjectUrl>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance> <PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View File

@ -2,7 +2,7 @@
## Feed ## Feed
- Source: `http://192.168.10.100:3000/api/packages/AgileWebs/nuget/index.json` - Source: `https://gitea.dream-views.com/api/packages/AgileWebs/nuget/index.json`
- Authentication: Gitea login + token - Authentication: Gitea login + token
- HTTP requirement: `allowInsecureConnections="true"` in `nuget.config` - HTTP requirement: `allowInsecureConnections="true"` in `nuget.config`

View File

@ -0,0 +1,18 @@
# Feature Epics
## Repository
furniture-domain
## Core Epics
- Epic 1: Expand domain-aligned capabilities for restaurant operations.
- Epic 2: Stabilize service contracts for containerized runtime integration.
- Epic 3: Improve observability and operational readiness for demo compose environments.
## Domain-Specific Candidate Features
- Order lifecycle consistency and state transitions.
- Kitchen queue and dispatch optimization hooks.
- Operations control-plane policies (flags, service windows, overrides).
- POS closeout and settlement summary alignment.
## Documentation Contract
Any code change in this repository must include docs updates in the same branch.

View File

@ -0,0 +1,7 @@
namespace Furniture.Domain.Contracts;
public sealed record TableReservationDecisionRequest(
string TableId,
DateTime RequestedAtUtc,
int PartySize,
bool IsWalkIn);

View File

@ -0,0 +1,6 @@
namespace Furniture.Domain.Contracts;
public sealed record TableReservationDecisionResponse(
string TableId,
bool Allowed,
string Explanation);

View File

@ -0,0 +1,8 @@
using Furniture.Domain.Contracts;
namespace Furniture.Domain.Decisions;
public interface ITableReservationDecisionService
{
TableReservationDecisionResponse Evaluate(TableReservationDecisionRequest request);
}

View File

@ -0,0 +1,16 @@
using Furniture.Domain.Contracts;
namespace Furniture.Domain.Decisions;
public sealed class TableReservationDecisionService : ITableReservationDecisionService
{
public TableReservationDecisionResponse Evaluate(TableReservationDecisionRequest request)
{
var allowed = request.PartySize > 0 && request.PartySize <= 12;
var reason = allowed
? "Reservation request allowed by furniture-domain constraints."
: "Party size is outside supported furniture-domain bounds.";
return new TableReservationDecisionResponse(request.TableId, allowed, reason);
}
}