Skip to content

JNY-PFM-LLM-003A Rhythm administrator grants and withdraws temporary AI capacity

Markdown

JNY-PFM-LLM-003

A Rhythm administrator grants and withdraws temporary AI capacity

Markdown
  • DocumentDraft
  • Product intentProposed
  • ImplementationPartially observed

KindJourneyProduct areaPlatformModuleAI Requests, Usage and the Jazz AI TeammateRevision1End-to-endRequired

Read atservices-platform ad3f6a65react-console baf6dae3

The Formal Contract

The narrative above explains; the sections below are authoritative — the rules, scenarios and tests this document binds.

Goal
Restore AI access for a limited period, notify administrators when requested and retain the control history.
Screens
/hq/tenants/{id}

Steps

#SurfaceActionCapabilityExpectedProvenance
1getHqTenantLlmUsageInspect the organization’s usage position.CAP-PFM-LLM-011The organization is stopped with its allowance committed.test
2previewHqTenantLlmUsageOverridePreview a dated capacity grant.CAP-PFM-LLM-014The preview computes the resulting position without saving or auditing a grant.test
services-platform:modules/llm/tests/e2e/llm-overrides.e2e.spec.js#previews the position with the override in force, writing and auditing nothing
3grantHqTenantLlmUsageOverrideSubmit the grant with its reason, ticket and requested notice.CAP-PFM-LLM-014The service saves the grant and sends the restoration notice when applicable.test
4/console/{tenantId}/queries/newSubmit an AI request from the organization.CAP-PFM-LLM-007Admission uses the additional capacity.test
5revokeHqTenantLlmUsageOverrideRevoke the grant with a reason.CAP-PFM-LLM-014The saved grant records revocation and ceases to provide capacity.test
services-platform:modules/llm/tests/e2e/llm-overrides.e2e.spec.js#revokes it, answering it as revoked with who and why
6listHqTenantLlmUsageAuditRead the AI control audit history.CAP-PFM-LLM-011The grant and revocation appear with their reasons.test
services-platform:modules/llm/tests/e2e/llm-overrides.e2e.spec.js#audits the revocation as a non-widening action beside the grant

Alternate and Failure Paths

PathFrom stepConditionPath takenOutcomeProvenance
alternate3The organization already has room for AI requests.Save the grant without a restoration notice.Capacity increases without an unnecessary restoration message.test
failure3The combined allowance would exceed the ceiling.Reject the proposed grant without saving it.The administrator must propose a smaller grant or wait for reset.test
services-platform:modules/llm/tests/integration/services/overrides/allowance-overrides.integration.spec.js#refuses a grant that would take the allowance past the ceiling together with the override in force
failure3The same grant is submitted twice.Each submission creates and audits a grant.An administrator must revoke unintended duplicate capacity.documented

Assertions

IdStatementProvenance
01A grant admits a request that the base allowance would refuse.test
02After revocation, admission no longer counts that grant.test
03The audit history retains both control actions and their reasons.test
services-platform:modules/llm/tests/e2e/llm-overrides.e2e.spec.js#audits the revocation as a non-widening action beside the grant

End-to-end policy: required: The service walkthrough has API evidence. A browser walkthrough is required when grant and revoke controls are enabled, including protection against duplicate submission.

The Markdown files under specs/ in rhythmsoftware/rhythm-v2-docs are the canonical source of truth. This reader is a generated, read-only projection of them.