67 Commits

Author SHA1 Message Date
82177d88a9 Topaz alignment spike — mapping doc + green e2e example
Closes FLEX-WP-0005 T04. Validates ADR-003's commitment to shape the
standalone core for cheap Topaz adapter work.

Spike output:
- docs/topaz-mapping-spike.md — vocabulary map (subject, group, tenant,
  knowledge_base, document, plus parent / owner_team / reader / steward /
  member relations), Rego module shape, decision envelope, wire-protocol
  ranking (gRPC primary, REST fallback, embedding rejected), schema
  restatement recommendation, implications for FLEX-WP-0002 / 0004.
- examples/topaz/ — runnable docker-compose deploying Topaz with the
  flex-auth-shaped manifest. seed and probe one-shots cover three
  scenarios: alice (steward) allow, bob (group→reader) allow, eve
  (outsider) deny. End-to-end green on 2026-05-16:

    probe: steward-allow OK (check=true)
    probe: reader-allow  OK (check=true)
    probe: outsider-deny OK (check=false)
    probe: all checks passed

Key findings recorded as Implementation Notes in the spike doc:
- Rego input contract bridging (Topaz raw shape ↔ flex-auth canonical
  shape) is adapter scope, not core scope.
- Topaz identity objects are a Topaz convention; the adapter
  materializes them at directory import time.
- Directory-only permission resolution is sufficient for the common
  case; Rego is reserved for context-dependent decisions.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 09:04:42 +02:00
52b5575048 chore(consistency): sync task status from DB [auto]
Some checks failed
CI / Build and Test (push) Has been cancelled
CI / Lint (push) Has been cancelled
Updated by fix-consistency on 2026-05-16:
  - update .custodian-brief.md for flex-auth
2026-05-16 08:09:10 +02:00
f41fa1abb7 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-16:
  - FLEX-WP-0005-T004: todo → in_progress
2026-05-16 08:09:08 +02:00
f885e6d762 chore(consistency): sync task status from DB [auto]
Some checks failed
CI / Build and Test (push) Has been cancelled
CI / Lint (push) Has been cancelled
Updated by fix-consistency on 2026-05-16:
  - update .custodian-brief.md for flex-auth
2026-05-16 02:06:19 +02:00
e2d410de6e Pin FlexAuthResourceManifest schema (resource-registration-v0)
Some checks failed
CI / Build and Test (push) Has been cancelled
CI / Lint (push) Has been cancelled
Closes FLEX-WP-0005 T03. Shape pinned against the Markitect-side emitter
in markitect-tool/src/markitect_tool/policy/enterprise.py (FlexAuthResource
+ FlexAuthResourceManifest dataclasses, MKTT-WP-0014).

Artifacts:
- schemas/resource_manifest.schema.json (JSON Schema draft 2020-12)
- examples/markitect/resource_manifest.yaml (mirrors markitect-tool's
  example; metadata.flex_auth_contract = resource-registration-v0)
- pkg/api/resource_manifest.go (Go type with json + yaml tags, plus
  FlexAuthContractV0 const)
- pkg/api/resource_manifest_test.go (golden parse of the example +
  minimal-fields round-trip)

First external dep: gopkg.in/yaml.v3 v3.0.1. SBOM ingested into State Hub
(2 entries) — repo last_sbom_at now non-null. Makefile sbom target gains
a GOPATH/bin fallback so it works without ~/go/bin on PATH.

Interface change published to State Hub (a4a5293e-…) and inbox-notified
markitect-tool. The change is additive — Markitect's existing emitter
matches the pinned schema exactly.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 02:04:00 +02:00
55120ec20a Land foundations: assessment, ADR-001/002/003, FLEX-WP-0005, Go skeleton
Pre-implementation assessment and boundary review
(docs/pre-implementation-assessment.md) lead to three ADRs:
- ADR-001 Go + repo skeleton
- ADR-002 Rego-in-Markdown policy package format
- ADR-003 Topaz-aligned MVP (Topaz spike moves into foundations)

New workplan FLEX-WP-0005 (Foundations and Topaz Alignment) is inserted
between WP-0001 (done) and WP-0002 (core). WP-0002 pins Rego-in-Markdown
for P2.3; WP-0004 P4.1 refocused from Topaz evaluation to Topaz adapter.

Go skeleton at repo root: cmd/flex-auth + internal/{registry,policy,
decision,audit,adapters} + pkg/api + Makefile + .golangci.yml + GitHub
Actions CI. make ci green locally; bin/flex-auth --version works.

INTENT/SCOPE cite the NetKingdom IAM Profile and add the ops-warden /
ops-bridge disjoint-surface clarifications.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 01:54:44 +02:00
485b3992de chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-15:
  - update .custodian-brief.md for flex-auth
2026-05-15 23:17:18 +02:00
36a3d3c898 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-15:
  - FLEX-WP-0005-T006: todo → done
2026-05-15 23:17:18 +02:00
15155c4c40 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-15:
  - FLEX-WP-0005-T002: todo → in_progress
2026-05-15 23:17:18 +02:00
9aab86b204 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-15:
  - update .custodian-brief.md for flex-auth
2026-05-15 22:29:45 +02:00
ffe6f79143 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-15:
  - update .custodian-brief.md for flex-auth
2026-05-15 21:58:36 +02:00
1c8fd17589 Initiated flex-auth with Scope and PRD 2026-05-04 19:16:26 +02:00
f2531ed8c9 Workplan sketch out and statehub registration 2026-05-04 18:15:59 +02:00
8f3437a2c3 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-04:
  - update .custodian-brief.md for flex-auth
2026-05-04 18:02:13 +02:00
c4c85acf62 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-04:
  - update .custodian-brief.md for flex-auth
2026-05-04 18:01:27 +02:00
33579fd235 Established INTENT.md 2026-05-04 17:52:29 +02:00
Coulomb Social
3a5d71869e Initial commit 2026-05-04 14:21:47 +00:00