From 482901db74aa3dd2e5721f60d0c2214e4084b4e7 Mon Sep 17 00:00:00 2001 From: "glm-5.2" Date: Tue, 23 Jun 2026 14:16:38 +0000 Subject: [PATCH] tasks: mark core/config completed --- tasks/core/config.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/tasks/core/config.md b/tasks/core/config.md index 3dea5c8..7e77253 100644 --- a/tasks/core/config.md +++ b/tasks/core/config.md @@ -1,7 +1,7 @@ --- id: core/config name: Implement StaticConfig, DynamicConfig, AuthPolicy, ApiKeyEntry, ConfigReloadHandle, TlsIdentity -status: pending +status: completed depends_on: [core/core-types] scope: moderate risk: low @@ -187,4 +187,13 @@ the new model (ALPN dispatch replaces them — see config.md Key Differences). ## Summary -> To be filled on completion \ No newline at end of file +Implemented all configuration types in `config.rs`: `StaticConfig` +(`drain_timeout=2s` default), `TlsIdentity` (X509/RawKey[iroh-gated]/SelfSigned), +`DynamicConfig` (Clone/Debug/Default, ArcSwap-reloadable), `AuthPolicy` (String +fingerprints, no russh), `ApiKeyEntry` (5 fields), `RateLimitConfig` (100/5 +defaults), `ConfigReloadHandle` (reload/dynamic via ArcSwap), `ConfigError` +(thiserror, all variants). `iroh_relay` and `RawKey` feature-gated to `iroh`. +Preserved `AuthPolicy::resolve_identity_from_fingerprint`/`resolve_api_key` +methods from the parallel `core/auth` task. 41 total tests pass; clippy clean on +default + iroh features. Merged to develop (resolved config.rs conflicts with +core/auth). \ No newline at end of file