Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions fulfillment-service/.claude/rules/protobuf-conventions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Protocol Buffer Conventions

See [AGENTS.md § API Design Guidelines](../../AGENTS.md#api-design-guidelines) before adding or modifying any `.proto` file — [`docs/API.md`](../../docs/API.md) is the authoritative source for all API conventions (object structure, naming, services, request/response patterns, REST transcoding, enums, conditions, references, and documentation requirements).

OSAC follows [Kubernetes API conventions](https://github.com/kubernetes/community/blob/main/contributors/devel/sig-architecture/api-conventions.md) adapted for protobuf.

## Workflow

- Always run `buf lint` before committing proto changes
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
- Regenerate code by running `buf generate` after proto changes
- `SERVICE_SUFFIX` lint rule is intentionally excluded in `buf.yaml`
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CLI UX Guidelines

The OSAC CLI is a tenant-facing tool for managing infrastructure resources. It is NOT a Kubernetes admin tool - end users should not need to know k8s.
The OSAC CLI (`internal/cmd/cli/`) is a tenant-facing tool for managing infrastructure resources. It is NOT a Kubernetes admin tool - end users should not need to know k8s.

## Design Inspiration

Expand All @@ -10,7 +10,7 @@ The OSAC CLI is a tenant-facing tool for managing infrastructure resources. It i

## Existing Verbs

`create`, `get`, `describe`, `edit`, `delete`, `annotate`, `label`, `login`, `logout`, `lookup`, `console`, `whoami`, `version`
`create`, `get`, `describe`, `edit`, `delete`, `annotate`, `label`, `login`, `logout`, `console`, `scale`, `tenant`, `whoami`, `version`

## When Adding New CLI Commands

Expand Down
Loading