Commit graph

2149 commits

Author SHA1 Message Date
lerian-studio-midaz-push-bot[bot]
ebc7a9eae1
Merge pull request #335 from LerianStudio/release/update-changelog-20260411161905
chore(release): Update CHANGELOGs [skip ci]
2026-04-11 16:19:10 +00:00
lerian-studio
1bd9a14336
chore(release): Update CHANGELOGs for ring-default:v1.20.1,ring-pm-team:v0.23.0,ring-pmo-team:v1.1.3,ring-finops-team:v0.11.0,ring-tw-team:v0.4.2 [skip ci] 2026-04-11 16:19:05 +00:00
Fred Amaral
941cdb026f
feat(installer): copy skill artifact subdirectories
Extends skill installation to support 'templates/' and 'examples/'
subdirectories, in addition to the existing 'references/'.

The installer logic is updated to discover these new directories and
copy them to the target location during both initial install and
update operations.

This ensures that supplementary skill artifacts are available in the
installed environment, allowing features that rely on them to function
correctly.
2026-04-11 09:17:48 -07:00
Gandalf
ce4b712c95
feat(pm-team): add deep-doc-review skill (adapted from optimus) 2026-04-09 09:39:57 -03:00
Gandalf
d5628486c4
feat(dev-team): add dev-verify-code skill (adapted from optimus) 2026-04-09 09:39:50 -03:00
Gandalf
7e681c5f11
feat(default): add pr-review-multi-source skill (adapted from optimus) 2026-04-09 09:39:47 -03:00
lerian-studio-midaz-push-bot[bot]
9011f82295
Merge pull request #330 from LerianStudio/release/update-changelog-20260406230437
chore(release): Update CHANGELOGs [skip ci]
2026-04-06 23:04:43 +00:00
lerian-studio
1ebb8178a8
chore(release): Update CHANGELOGs for ring-default:v1.20.1,ring-pm-team:v0.23.0,ring-pmo-team:v1.1.3,ring-finops-team:v0.11.0,ring-tw-team:v0.4.2 [skip ci] 2026-04-06 23:04:37 +00:00
lerian-studio
3a496db093
chore: bump versions [skip-version-bump]
Automated version bumps:

  - ring-dev-team: 1.48.0 → 1.49.0 (minor)
  - ring-pm-team: 0.22.0 → 0.23.0 (minor)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-06 23:03:39 +00:00
Fred Amaral
428b50c541
feat(dev-team): add skills for readiness, security, and llms.txt
feat(pm-team): add skill for Lerian Map platform integration
feat(installer): add support for pi-coding-agent to expand ecosystem
refactor(installer): remove Cursor and Cline support to simplify maintenance
docs: update skill counts to 93 and document new skills
refactor(skill): simplify name of lerian-map-management skill
style(skill): improve conciseness of dev-multi-tenant description
2026-04-06 16:03:21 -07:00
Gandalf
5f6f2cee31
feat(dev-team): add licensing skill and command
Add ring:dev-licensing skill and /ring:dev-license command for applying
or switching licenses across Lerian repositories.

Three license types supported:
- Apache 2.0 (open source, e.g. Midaz core)
- Elastic License v2 (source-available Lerian products)
- Proprietary (Lerian Studio General License)

The skill handles LICENSE file replacement, source file header updates,
SPDX identifier updates, and consistency validation.

Also updates core.md License Headers section to replace hardcoded
Elasticsearch B.V. headers with Lerian-specific templates for all
three license types, and integrates license detection into dev-cycle
Gate 0 as an advisory check.

New files:
- dev-team/skills/dev-licensing/SKILL.md
- dev-team/skills/dev-licensing/references/apache-2.0.txt
- dev-team/skills/dev-licensing/references/elastic-v2.txt
- dev-team/skills/dev-licensing/references/proprietary.txt
- dev-team/commands/dev-license.md

Modified:
- dev-team/docs/standards/golang/core.md (License Headers section)
- dev-team/skills/dev-cycle/SKILL.md (license detection at Gate 0)
2026-04-06 19:11:39 -03:00
lerian-studio-midaz-push-bot[bot]
0c3fe5ab0f
Merge pull request #327 from LerianStudio/release/update-changelog-20260406165328
chore(release): Update CHANGELOGs [skip ci]
2026-04-06 16:53:33 +00:00
lerian-studio
8d9ad913b0
chore(release): Update CHANGELOGs for ring-default:v1.20.1,ring-pm-team:v0.22.0,ring-pmo-team:v1.1.3,ring-finops-team:v0.11.0,ring-tw-team:v0.4.2 [skip ci] 2026-04-06 16:53:28 +00:00
Fred Amaral
fa6c4c87e8
docs(frontmatter): create canonical schema to standardize component metadata
feat(hooks): add schema validator and enhance skill generation
refactor(*): align all components with the new frontmatter schema
refactor(commands): replace arguments object with simple argument-hint
refactor(agents): remove invalid version field from agent frontmatter
test(hooks): add unit tests for frontmatter validation and generation
2026-04-06 09:52:28 -07:00
lerian-studio
102575dc7c
chore: bump versions [skip-version-bump]
Automated version bumps:

  - ring-dev-team: 1.47.0 → 1.48.0 (minor)
  - ring-pm-team: 0.21.2 → 0.22.0 (minor)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-01 18:45:18 +00:00
Fred Amaral
c5f063cb1e
Merge pull request #315 from LerianStudio/feat/skill-dep-security-check
feat(dev-team): add dep-security-check skill — supply chain gate
2026-04-01 15:45:00 -03:00
Fred Amaral
3ccbb21b84
Merge pull request #289 from LerianStudio/fix/enforce-fiber-framework
fix: handle empty EXTRA_ARGS array in bash 3.2 (macOS default)
2026-04-01 15:44:47 -03:00
Fred Amaral
2776643171
Merge pull request #320 from LerianStudio/feat/prd-dashboard-discovery
feat(prd): add Operational Dashboard Discovery to Gate 1
2026-04-01 15:44:32 -03:00
lerian-studio
4f81f62380
chore: bump versions [skip-version-bump]
Automated version bumps:

  - ring-dev-team: 1.46.0 → 1.47.0 (minor)
  - ring-pm-team: 0.21.1 → 0.21.2 (patch)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-01 18:44:18 +00:00
Fred Amaral
87e230948e
Merge pull request #322 from LerianStudio/fix/align-api-standards-with-midaz
fix: align Ring API standards with actual Midaz patterns
2026-04-01 15:43:59 -03:00
lerian-studio-midaz-push-bot[bot]
76e114f4d4
Merge pull request #325 from LerianStudio/release/update-changelog-20260401184322
chore(release): Update CHANGELOGs [skip ci]
2026-04-01 18:43:28 +00:00
lerian-studio
89c2ad9bb3
chore(release): Update CHANGELOGs for ring-default:v1.20.1,ring-pm-team:v0.21.1,ring-pmo-team:v1.1.3,ring-finops-team:v0.11.0,ring-tw-team:v0.4.2 [skip ci] 2026-04-01 18:43:22 +00:00
lerian-studio
e897508d1a
chore: bump versions [skip-version-bump]
Automated version bumps:

  - ring-dev-team: 1.45.0 → 1.46.0 (minor)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-01 18:42:25 +00:00
Fred Amaral
1b862b8736
Merge pull request #324 from LerianStudio/feat/dev-readyz-skill
feat(dev-team): add dev-readyz skill for comprehensive readiness probes
2026-04-01 15:42:10 -03:00
Fred Amaral
393e30eb3b
docs(readyz): harden skill with TDD-tested anti-rationalization gaps
Ran a full RED-GREEN-REFACTOR testing campaign (11 agent runs across
4 phases) that identified 5 gaps in the skill's enforcement coverage.

Additions:
- Anti-rationalization row: "Service has only one dependency"
- SaaS TLS Enforcement section: surface (probe) vs enforce (bootstrap)
- RabbitMQ TLS detection note: amqp091-go API limitation
- Next.js Self-Probe Lifecycle: instrumentation.ts register() pattern
- Runtime vs Startup table: complementary mechanisms clarification

Also restores /readyz convention (reverts prior /ready rename) to
align with K8s standard naming (/healthz, /livez, /readyz).

Generated-by: Claude
AI-Model: claude-opus-4-6
2026-04-01 15:38:17 -03:00
Fred Amaral
63eb3c2c28
docs(skill): rename /readyz to /ready for convention alignment
To improve clarity and align with more common industry standards, like
those in Kubernetes, the readiness probe endpoint is renamed from
/readyz to /ready throughout the skill documentation.

The response payload is also updated to use "healthy" and "unhealthy"
for status checks instead of "ready" and "not_ready". This change
creates better terminological consistency across health-related
endpoints.

All code examples, paths, and type definitions (e.g., ReadyResponse)
have been updated to reflect these changes.
2026-04-01 14:32:15 -03:00
Fred Amaral
1be150f1a4
docs(readyz): align self-probe logging guidance
X-Lerian-Ref: 0x1
2026-04-01 13:55:13 -03:00
Fred Amaral
776adcd470
docs(readyz): Enhance health and readiness probe patterns
Update the readiness probe example to use per-dependency timeouts.
This allows setting a stricter timeout for fast dependencies like caches
(1s) versus others (2s). The change improves probe accuracy by
preventing a slow cache from unnecessarily delaying the entire check.

The /health handler example is also updated to use a rich,
dependency-aware health check. This ensures the liveness probe
reflects the service's real-time ability to operate, not just a
static "ok" status, allowing for restarts if a dependency fails.
2026-04-01 13:30:47 -03:00
Gandalf
eae32f43db
feat(dev-team): add dev-readyz skill for comprehensive readiness probes
Adds ring:dev-readyz skill that ensures all Lerian services implement:
- /readyz endpoint with per-dependency status, latency, and TLS verification
- Startup self-probe that logs dependency checks and wires to /health
- Structured response contract consumable by Tenant Manager

Origin: Monetarie SaaS incident — product-console started without TLS
on MongoDB/DocumentDB, K8s liveness passed, client hit silent errors.

Covers Go (Fiber + lib-commons) and TypeScript/Next.js stacks.
2026-04-01 12:38:39 -03:00
lerian-studio-midaz-push-bot[bot]
ca50b9c2d6
Merge pull request #323 from LerianStudio/release/update-changelog-20260331225218
chore(release): Update CHANGELOGs [skip ci]
2026-03-31 22:52:23 +00:00
lerian-studio
d615b8802b
chore(release): Update CHANGELOGs for ring-default:v1.20.1,ring-pm-team:v0.21.1,ring-pmo-team:v1.1.3,ring-finops-team:v0.11.0,ring-tw-team:v0.4.2 [skip ci] 2026-03-31 22:52:18 +00:00
lerian-studio
9c55c88631
chore: bump versions [skip-version-bump]
Automated version bumps:

  - ring-dev-team: 1.44.0 → 1.45.0 (minor)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-31 22:51:17 +00:00
Gandalf
1a398f7080
feat(skills): add ring:dev-llms-txt — llms.txt + CLAUDE.md + AGENTS.md generator
Generates and audits AI-friendly entry point files for repositories:
- llms.txt following llmstxt.org spec (universal LLM entry point)
- CLAUDE.md for Claude Code / Anthropic agents
- AGENTS.md for vendor-neutral coding agents

Supports create, audit, and full (both) modes.
Includes content selection rules, audit checklists, and report format.
2026-03-31 19:50:58 -03:00
Gandalf
619636ae13
feat(skills): add ring:dev-llms-txt — llms.txt + CLAUDE.md + AGENTS.md generator
Generates and audits AI-friendly entry point files for repositories:
- llms.txt following llmstxt.org spec (universal LLM entry point)
- CLAUDE.md for Claude Code / Anthropic agents
- AGENTS.md for vendor-neutral coding agents

Supports create, audit, and full (both) modes.
Includes content selection rules, audit checklists, and report format.
2026-03-31 19:50:27 -03:00
Gandalf
a994b24cd7
fix: align Ring API standards with actual Midaz patterns
Two misalignments found and fixed:

## 1. Pagination response field naming

Ring standards previously documented cursor fields as camelCase
(nextCursor, prevCursor, hasMore). The actual Midaz Pagination struct
uses snake_case json tags:

  NextCursor string `json:"next_cursor,omitempty"`
  PrevCursor string `json:"prev_cursor,omitempty"`

There is no HasMore/hasMore field in Midaz.

Changes:
- api-patterns.md: fix struct examples, JSON examples, detection
  commands, tables, and anti-rationalization rows
- golang.md (opencode): pagination section was already correct
- PM skill files: update pagination field reference tables

## 2. BusinessError struct missing title field

Ring's BusinessError lacked the title field present in both
midaz/pkg/mmodel/error.go and lib-commons ErrorResponse:

  type Error struct {
      Code       string `json:"code"`
      Title      string `json:"title"`
      Message    string `json:"message"`
      EntityType string `json:"entityType,omitempty"`
  }

Changes:
- platforms/opencode/standards/golang.md: add Title field to
  BusinessError struct and to ErrInvalidInput/ErrNotFound examples

Files changed:
- dev-team/docs/standards/golang/api-patterns.md
- platforms/opencode/standards/golang.md
- pm-team/skills/pre-dev-api-design/SKILL.md
- pm-team/skills/shared-patterns/standards-discovery.md
2026-03-31 19:36:31 -03:00
Gandalf
c23c508853
feat(prd): add Operational Dashboard Discovery to Gate 1
Adds a mandatory discovery step during PRD creation to assess whether
the product/feature requires business dashboard endpoints.

Context: BTG Payments and Flowker pre-dev both missed dashboard
endpoints because nothing in the workflow prompted the question.
This resulted in gaps discovered late in the process.

The discovery step:
- Asks whether operators need aggregated visibility
- Documents dashboard requirements (metrics, consumers, refresh cadence)
- Provides guidance table for when dashboards make sense vs not
- Explicitly records the decision (yes/no) to prevent re-surfacing

Cascades into Feature Map (Gate 2) and API Design (Gate 4).

Suggested by: Garzão and Chacon in #the-ring-feedbacks
2026-03-30 11:01:39 -03:00
Gandalf
71429cdd50
fix(installer): require Python 3.10+, auto-bootstrap venv for older systems
detect_python() now validates version >= 3.10 (needed for dataclass
slots=True). Falls back to a persistent .venv when only system Python
3.9 is available (e.g. macOS stock).
2026-03-30 06:38:23 -03:00
lerian-studio-midaz-push-bot[bot]
7dfe8a43e3
Merge pull request #318 from LerianStudio/release/update-changelog-20260328215758
chore(release): Update CHANGELOGs [skip ci]
2026-03-28 21:58:03 +00:00
lerian-studio
fd4491361e
chore(release): Update CHANGELOGs for ring-default:v1.20.1,ring-pm-team:v0.21.1,ring-pmo-team:v1.1.3,ring-finops-team:v0.11.0,ring-tw-team:v0.4.2 [skip ci] 2026-03-28 21:57:58 +00:00
Fred Amaral
3b2fdb544c
docs(skill): update lib-commons reference to version 4.6.0
This commit overhauls the `lib-commons` skill documentation to reflect
all changes and new features introduced up to version v4.6.0. The goal
is to make the skill a current and comprehensive reference.

Key changes include:
- Add a new "Breaking Changes" section to provide a clear migration
 path for developers upgrading from older v4.x versions.
- Document the event-driven tenant discovery model (v4.5.0+), which
 replaces the legacy watcher system with a more efficient Redis
 pub/sub approach.
- Add a detailed reference for the new `net/http/ratelimit` package,
 including its configuration, tiers, and identity extractors.
- Explain the unified and variadic API for `tenant-manager` (v4.6.0),
 which simplifies middleware setup and context retrieval for
 multi-module services.
- Introduce a new section for the root `commons` package, covering the
 `Launcher`, context helpers, string utilities, and env helpers.
- Expand the package catalog and "Which Package Do I Need?" guide to
 include the 35+ packages now available.
2026-03-28 18:56:54 -03:00
lerian-studio
5584ca5f9e
chore: bump versions [skip-version-bump]
Automated version bumps:

  - ring-dev-team: 1.43.1 → 1.44.0 (minor)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-28 02:12:37 +00:00
Jefferson Rodrigues
19b14f3364
Merge pull request #317 from LerianStudio/feat/multi-tenant-redis-tls-env
feat(standards): add MULTI_TENANT_REDIS_TLS as 14th canonical env
2026-03-27 23:12:20 -03:00
Jefferson Rodrigues
4e07e358dd
feat(standards): add NewTenantEventListener and A12 compliance check for event-driven discovery
Adds mandatory NewTenantEventListener initialization pattern, NON-COMPLIANT rules for manual Redis client setup, and A12 compliance check verifying tmredis.NewTenantPubSubRedisClient + tmevent.NewTenantEventListener + .env.example declarations.

X-Lerian-Ref: 0x1
2026-03-27 23:11:32 -03:00
Jefferson Rodrigues
8e6dcb74f7
feat(standards): add MULTI_TENANT_REDIS_TLS as 14th canonical env and NewTenantPubSubRedisClient pattern
Adds MULTI_TENANT_REDIS_TLS to env table, config struct, .env example, checklist, and SKILL canonical list (13→14). Adds mandatory NewTenantPubSubRedisClient usage pattern in Event-Driven Tenant Discovery section.

X-Lerian-Ref: 0x1
2026-03-27 23:08:36 -03:00
lerian-studio-midaz-push-bot[bot]
1265071892
Merge pull request #316 from LerianStudio/release/update-changelog-20260327162232
chore(release): Update CHANGELOGs [skip ci]
2026-03-27 16:22:38 +00:00
lerian-studio
4efcc0e134
chore(release): Update CHANGELOGs for ring-default:v1.20.1,ring-pm-team:v0.21.1,ring-pmo-team:v1.1.3,ring-finops-team:v0.11.0,ring-tw-team:v0.4.2 [skip ci] 2026-03-27 16:22:32 +00:00
Jefferson Rodrigues
1be29166bb
docs: rename GetObjectStorageKeyForTenant to GetS3KeyStorageContext
X-Lerian-Ref: 0x1
2026-03-27 13:21:15 -03:00
Gandalf
7ef87e2f54
feat(dev-team): add dep-security-check skill — supply chain gate for package installs
Intercepts pip/npm/go install commands and audits packages before
execution. Covers:
- Package identity verification (typosquatting, maintainer analysis)
- Vulnerability database checks (OSV, GHSA, Socket.dev)
- Behavioral analysis (install scripts, network access, obfuscation)
- Lockfile integrity enforcement (hash pinning)
- Risk scoring (0-100) with ALLOW/WARN/BLOCK decision matrix
- Audit mode for full project scans
- PR review mode for dependency change reviews

Originated from supply chain security discussion in #taura-lerian.
2026-03-27 12:58:23 -03:00
Jefferson Rodrigues
846cf7e47b
docs: simplify config compliance to compare against canonical ENV list
Any ENV not in the 13 canonical list = NON-COMPLIANT. Any missing = NON-COMPLIANT. No mapping tables needed.

X-Lerian-Ref: 0x1
2026-03-27 12:16:06 -03:00
Jefferson Rodrigues
ed0ea1e0bf
docs: add explicit NON-COMPLIANT env naming table to dev-multi-tenant
Lists every deprecated/renamed ENV and Config field with exact replacement. Any match = NON-COMPLIANT, Gate 3 MUST fix.

X-Lerian-Ref: 0x1
2026-03-27 12:14:35 -03:00