Correct documentation for inputs credentials and diagnostics
This commit is contained in:
@@ -83,10 +83,10 @@ Empty lists add no credential overrides. See the public [Audita](../integrations
|
|||||||
[Notarius](../integrations/notarius.md), and [Scriptorium](../integrations/scriptorium.md) contracts for selection and
|
[Notarius](../integrations/notarius.md), and [Scriptorium](../integrations/scriptorium.md) contracts for selection and
|
||||||
downstream-file boundaries.
|
downstream-file boundaries.
|
||||||
|
|
||||||
Application-owned object-store construction loads configured filesystem
|
Invocation configuration acquisition calls [ConfigKit configured startup](https://forge.maximumdirect.net/base-layer/configkit/src/commit/4a7ae664a6287d71cba20f59c7c5b37b6f05b0a3/docs/config.md#explicit-secrets-directory-bootstrap);
|
||||||
secrets before invoking the invocation's storage factory. Production commands
|
the storage factory consumes resolved values. [Operations](../operations.md#workspace-permissions)
|
||||||
use the concrete storage adapter constructor; focused tests can supply an
|
describes credential permissions. Production commands use the concrete storage
|
||||||
in-memory backend without changing package state.
|
adapter constructor; focused tests can supply an in-memory backend.
|
||||||
|
|
||||||
## Failure Semantics
|
## Failure Semantics
|
||||||
|
|
||||||
|
|||||||
@@ -34,8 +34,7 @@ existing leaf to be regular. Command and post-publish policy remains owned by
|
|||||||
## Bounded Reads
|
## Bounded Reads
|
||||||
|
|
||||||
`ReadFileBounded` opens a normal path and reads at most its caller-supplied
|
`ReadFileBounded` opens a normal path and reads at most its caller-supplied
|
||||||
limit. Credential mode policy and environment precedence remain owned by
|
limit.
|
||||||
`internal/app`.
|
|
||||||
|
|
||||||
## Replacement Contract
|
## Replacement Contract
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ enabled capabilities while holding the same lock.
|
|||||||
| Area | Implemented owners | Responsibility |
|
| Area | Implemented owners | Responsibility |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| Executable | `cmd/narratio` | Process entry, standard stream wiring, argument handoff, and exit status. |
|
| Executable | `cmd/narratio` | Process entry, standard stream wiring, argument handoff, and exit status. |
|
||||||
| Application orchestration | `internal/app` | Native CommandKit declarations/reporting, lazy configuration selection, secret-file environment loading, production composition, workspace locking, planning, execution, restore, and user-facing reporting. |
|
| Application orchestration | `internal/app` | Native CommandKit declarations/reporting, lazy configuration selection, ConfigKit startup invocation, production composition, workspace locking, planning, execution, restore, and user-facing reporting. |
|
||||||
| Configuration | [`internal/config`](configuration.md) | Typed ConfigKit results and lifecycle defaults, imports/overlays, canonical party loading, separate catalog/player/publication derivation, session templating, and validation. |
|
| Configuration | [`internal/config`](configuration.md) | Typed ConfigKit results and lifecycle defaults, imports/overlays, canonical party loading, separate catalog/player/publication derivation, session templating, and validation. |
|
||||||
| Pipeline stages | `internal/stage` | Canonical stage registry, shared stage contract, execution dependencies, and implemented stage behavior. |
|
| Pipeline stages | `internal/stage` | Canonical stage registry, shared stage contract, execution dependencies, and implemented stage behavior. |
|
||||||
| Glossaries | `internal/glossary` | Native vocabulary resolution, schema validation, party projection, and deterministic documents. |
|
| Glossaries | `internal/glossary` | Native vocabulary resolution, schema validation, party projection, and deterministic documents. |
|
||||||
|
|||||||
@@ -13,7 +13,10 @@ Normalize raw transcript inputs and merge into base transcript via Seriatim.
|
|||||||
## Outputs
|
## Outputs
|
||||||
|
|
||||||
- `transcripts/base.json`
|
- `transcripts/base.json`
|
||||||
- optional `artifacts/seriatim.report.json`
|
|
||||||
|
The optional Seriatim report is a run-local diagnostic, not a canonical
|
||||||
|
product. See [Operations](../operations.md#local-state-layout) for placement
|
||||||
|
and retention.
|
||||||
|
|
||||||
## Key Behavior
|
## Key Behavior
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,10 @@ Normalize polished transcript into final transcript using Seriatim.
|
|||||||
## Outputs
|
## Outputs
|
||||||
|
|
||||||
- `transcripts/final.json` (or configured normalize output path)
|
- `transcripts/final.json` (or configured normalize output path)
|
||||||
- optional `artifacts/seriatim.normalize.report.json`
|
|
||||||
|
The optional Seriatim report is a run-local diagnostic, not a canonical
|
||||||
|
product. See [Operations](../operations.md#local-state-layout) for placement
|
||||||
|
and retention.
|
||||||
|
|
||||||
## Key Behavior
|
## Key Behavior
|
||||||
|
|
||||||
|
|||||||
@@ -37,9 +37,10 @@ Unknown-size responses stream to EOF; known zero is distinct from unknown.
|
|||||||
## Composition
|
## Composition
|
||||||
|
|
||||||
`NewObjectStoreFromConfig` constructs the S3-backed implementation from
|
`NewObjectStoreFromConfig` constructs the S3-backed implementation from
|
||||||
resolved configuration. The application loads configured filesystem secrets
|
resolved configuration. Invocation acquisition calls [ConfigKit configured startup](https://forge.maximumdirect.net/base-layer/configkit/src/commit/4a7ae664a6287d71cba20f59c7c5b37b6f05b0a3/docs/config.md#explicit-secrets-directory-bootstrap)
|
||||||
before calling it. The storage adapter consumes already-resolved values; it does
|
before typed loading; the storage adapter consumes the resolved values. It does
|
||||||
not own discovery, defaults, or configuration validation.
|
not own discovery, defaults, or configuration validation. See
|
||||||
|
[Operations](../operations.md#workspace-permissions) for credential permissions.
|
||||||
|
|
||||||
## S3 Backend Behavior
|
## S3 Backend Behavior
|
||||||
|
|
||||||
|
|||||||
@@ -41,10 +41,10 @@ their scope. Unless assigned otherwise, a finding remains independent audit
|
|||||||
remediation. Shared code does not make a refactoring a prerequisite or assign
|
remediation. Shared code does not make a refactoring a prerequisite or assign
|
||||||
the whole finding to a roadmap.
|
the whole finding to a roadmap.
|
||||||
|
|
||||||
Thirty-nine entries are closed by the safety, transfer, audio discovery, S3
|
Forty-three entries are closed by the safety, transfer, audio discovery, S3
|
||||||
planning, prerequisite-history, publication-import, CLI classification,
|
planning, prerequisite-history, publication-import, CLI classification,
|
||||||
inspection aggregation, test maintenance, dead-code removal, and associated
|
inspection aggregation, test maintenance, dead-code removal, and associated
|
||||||
documentation work; 4 remain open. **Planned** identifies
|
documentation work; none remain open. **Planned** identifies
|
||||||
an agreed remedy awaiting implementation. **Potentially eliminated** requires verification that the offending
|
an agreed remedy awaiting implementation. **Potentially eliminated** requires verification that the offending
|
||||||
lifecycle is removed. **Coordinate** identifies shared changes, not a commitment
|
lifecycle is removed. **Coordinate** identifies shared changes, not a commitment
|
||||||
that a related feature implements the entire finding. Findings close only after their
|
that a related feature implements the entire finding. Findings close only after their
|
||||||
@@ -858,7 +858,11 @@ prose without changing fingerprints to match it.
|
|||||||
|
|
||||||
### CAT-31 — P3: Correct annotated-example dependency, credential, and cleanup claims
|
### CAT-31 — P3: Correct annotated-example dependency, credential, and cleanup claims
|
||||||
|
|
||||||
Status: Open
|
Status: Closed
|
||||||
|
|
||||||
|
**Closure.** Annotated pipeline comments describe inferred dependencies,
|
||||||
|
operator-selected secret references and session run-history cleanup. The
|
||||||
|
comments were reviewed and example configuration validation passes.
|
||||||
|
|
||||||
Original findings: [DOC-05](13-documentation.md#doc-05--p3-annotated-example-comments-retain-obsolete-contracts-and-defaults).
|
Original findings: [DOC-05](13-documentation.md#doc-05--p3-annotated-example-comments-retain-obsolete-contracts-and-defaults).
|
||||||
|
|
||||||
@@ -873,7 +877,10 @@ comments.
|
|||||||
|
|
||||||
### CAT-32 — P3: Document Seriatim reports as diagnostics
|
### CAT-32 — P3: Document Seriatim reports as diagnostics
|
||||||
|
|
||||||
Status: Open
|
Status: Closed
|
||||||
|
|
||||||
|
**Closure.** Merge and normalize documentation identifies canonical transcripts
|
||||||
|
as products and optional reports as run-local diagnostics. Documentation checks pass.
|
||||||
|
|
||||||
Original findings: [DOC-04](13-documentation.md#doc-04--p3-seriatim-reports-are-documented-as-canonical-artifact-outputs).
|
Original findings: [DOC-04](13-documentation.md#doc-04--p3-seriatim-reports-are-documented-as-canonical-artifact-outputs).
|
||||||
|
|
||||||
@@ -887,7 +894,11 @@ to canonical artifacts is not a prose fix.
|
|||||||
|
|
||||||
### CAT-33 — P3: Align credential-ownership descriptions with native ConfigKit startup
|
### CAT-33 — P3: Align credential-ownership descriptions with native ConfigKit startup
|
||||||
|
|
||||||
Status: Open
|
Status: Closed
|
||||||
|
|
||||||
|
**Closure.** File operations no longer claim credential policy; adapter and
|
||||||
|
storage documentation identifies ConfigKit startup at acquisition and resolved
|
||||||
|
value consumption, with upstream and operator-permissions links. Documentation checks pass.
|
||||||
|
|
||||||
Original findings: [DOC-06](13-documentation.md#doc-06--p3-internal-credential-ownership-descriptions-predate-native-bootstrap).
|
Original findings: [DOC-06](13-documentation.md#doc-06--p3-internal-credential-ownership-descriptions-predate-native-bootstrap).
|
||||||
|
|
||||||
@@ -1062,7 +1073,10 @@ normalization call and error check, which enforce live path confinement.
|
|||||||
|
|
||||||
### CAT-43 — P3: Correct the logging package summary
|
### CAT-43 — P3: Correct the logging package summary
|
||||||
|
|
||||||
Status: Open
|
Status: Closed
|
||||||
|
|
||||||
|
**Closure.** Package documentation describes Reporter and forwarding helpers
|
||||||
|
and assigns presentation to CommandKit.
|
||||||
|
|
||||||
Original findings: [DOC-08](13-documentation.md#doc-08--p3-logging-package-documentation-advertises-a-removed-responsibility).
|
Original findings: [DOC-08](13-documentation.md#doc-08--p3-logging-package-documentation-advertises-a-removed-responsibility).
|
||||||
|
|
||||||
|
|||||||
@@ -662,7 +662,7 @@ Validation: `go test ./internal/app -run 'Test.*Restore'`.
|
|||||||
|
|
||||||
## Stage 25: Correct Remaining Documentation And Example Comments
|
## Stage 25: Correct Remaining Documentation And Example Comments
|
||||||
|
|
||||||
CAT IDs: CAT-31, CAT-32, CAT-33, CAT-43. Status: Pending.
|
CAT IDs: CAT-31, CAT-32, CAT-33, CAT-43. Status: Complete.
|
||||||
|
|
||||||
Read [DOC-05](audit/13-documentation.md#doc-05--p3-annotated-example-comments-retain-obsolete-contracts-and-defaults),
|
Read [DOC-05](audit/13-documentation.md#doc-05--p3-annotated-example-comments-retain-obsolete-contracts-and-defaults),
|
||||||
[DOC-04](audit/13-documentation.md#doc-04--p3-seriatim-reports-are-documented-as-canonical-artifact-outputs),
|
[DOC-04](audit/13-documentation.md#doc-04--p3-seriatim-reports-are-documented-as-canonical-artifact-outputs),
|
||||||
|
|||||||
@@ -4,7 +4,8 @@
|
|||||||
workspace:
|
workspace:
|
||||||
# Optional: defaults to /var/lib/narratio.
|
# Optional: defaults to /var/lib/narratio.
|
||||||
root: /var/lib/narratio/workspace
|
root: /var/lib/narratio/workspace
|
||||||
# Optional: remove run-scoped workdir after successful publish commit.
|
# Optional: remove the session run history after successful publish commit.
|
||||||
|
# See docs/operations.md#cleanup.
|
||||||
cleanup_after_publish: false
|
cleanup_after_publish: false
|
||||||
|
|
||||||
# Optional configured bootstrap; see the ConfigKit configured-startup contract:
|
# Optional configured bootstrap; see the ConfigKit configured-startup contract:
|
||||||
@@ -24,7 +25,8 @@ storage:
|
|||||||
region: us-east-1
|
region: us-east-1
|
||||||
endpoint: ""
|
endpoint: ""
|
||||||
force_path_style: false
|
force_path_style: false
|
||||||
# Optional; defaults shown explicitly.
|
# Optional operator-selected secret-reference names; omit both for the provider chain.
|
||||||
|
# See docs/config.md#secrets-handling.
|
||||||
access_key_id: OBJECT_STORAGE_KEY_ID
|
access_key_id: OBJECT_STORAGE_KEY_ID
|
||||||
secret_access_key: OBJECT_STORAGE_KEY
|
secret_access_key: OBJECT_STORAGE_KEY
|
||||||
|
|
||||||
@@ -104,13 +106,13 @@ audita:
|
|||||||
output_schema: audita-v1
|
output_schema: audita-v1
|
||||||
|
|
||||||
normalize:
|
normalize:
|
||||||
# Optional; defaults shown explicitly.
|
# Optional operator-selected secret-reference names; omit both for the provider chain.
|
||||||
output_path: transcripts/final.json
|
output_path: transcripts/final.json
|
||||||
output_schema: seriatim-intermediate
|
output_schema: seriatim-intermediate
|
||||||
report: true
|
report: true
|
||||||
|
|
||||||
trim:
|
trim:
|
||||||
# Optional; defaults shown explicitly.
|
# Optional operator-selected secret-reference names; omit both for the provider chain.
|
||||||
enabled: true
|
enabled: true
|
||||||
output_path: transcripts/final.trimmed.json
|
output_path: transcripts/final.trimmed.json
|
||||||
bounds:
|
bounds:
|
||||||
@@ -211,7 +213,8 @@ scriptorium:
|
|||||||
|
|
||||||
# Example dependent artifact:
|
# Example dependent artifact:
|
||||||
# - depends_on entries use artifact keys.
|
# - depends_on entries use artifact keys.
|
||||||
# - narratio.artifact.<key> sources require matching depends_on membership.
|
# - narratio.artifact.<key> inputs infer dependency edges; depends_on adds explicit ordering.
|
||||||
|
# - See docs/config.md for artifact dependency configuration.
|
||||||
player_handout:
|
player_handout:
|
||||||
enabled: true
|
enabled: true
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
// Package logging provides structured logger construction for narratio.
|
// Package logging defines Reporter and nil-safe forwarding helpers.
|
||||||
|
// CommandKit owns invocation presentation.
|
||||||
package logging
|
package logging
|
||||||
|
|||||||
Reference in New Issue
Block a user