Compare commits
2 Commits
c22ba64bdb
...
automation
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e3ad1e3884 | ||
|
|
75203e7196 |
26
AGENTS.md
26
AGENTS.md
@@ -157,6 +157,32 @@ If a task generates YAML without the corresponding readable output, the task is
|
||||
- **Readable outputs** — YAML is backing data, never the deliverable
|
||||
- **No hallucinated architecture** — NEVER add services/components/regions the user didn't mention. When remediating WA gaps, apply minimum targeted fixes to the existing architecture; don't replace it with a generic "ideal" one. ASK before adding new services.
|
||||
|
||||
## Git Remotes (Gitea = source of truth, GitHub = mirror)
|
||||
|
||||
`origin` is configured with **one fetch URL (Gitea) and two push URLs (Gitea + GitHub)**, so a single `git push origin main` updates both. Gitea is authoritative; GitHub is a public mirror.
|
||||
|
||||
```
|
||||
fetch → git.tech-lad.com.br/diegoecab/oci-deal-accelerator.git
|
||||
push → git.tech-lad.com.br/diegoecab/oci-deal-accelerator.git
|
||||
push → github.com/Diegoecab/oci-deal-accelerator.git
|
||||
```
|
||||
|
||||
**Recreating this on a new clone** (the dual-push lives in `.git/config`, not tracked):
|
||||
|
||||
```bash
|
||||
git remote set-url --add --push origin https://github.com/Diegoecab/oci-deal-accelerator.git
|
||||
git remote set-url --add --push origin https://git.tech-lad.com.br/diegoecab/oci-deal-accelerator.git
|
||||
git remote -v # confirm one fetch + two push URLs
|
||||
```
|
||||
|
||||
The first command substitutes the implicit Gitea push URL with GitHub's; the second re-adds Gitea so origin pushes to BOTH. Counter-intuitive but necessary.
|
||||
|
||||
**Agent guidance**:
|
||||
- After creating a commit on `main`, **always propose `git push origin main`** (not separate pushes per remote) — it covers both. Confirm with the user before pushing (pushing is shared-state).
|
||||
- If a push fails on GitHub but succeeds on Gitea (or vice versa), the dual-push is partial. Re-run after fixing the failing one — Gitea's second push will be a no-op fast-forward.
|
||||
- Never force-push Gitea unless explicitly asked; force-pushing GitHub is acceptable when needed because GitHub is downstream.
|
||||
- If history diverges between Gitea and GitHub (e.g. after a rebase), the recovery pattern is: temporarily strip the GitHub URL (`git remote set-url --delete --push origin <github-url>`), push Gitea fast-forward, add `github` as a standalone remote, force-push, then restore the dual-push.
|
||||
|
||||
## Welcome Flow
|
||||
|
||||
When the user starts a conversation without providing discovery notes or a specific request (e.g., a greeting or empty context), present the welcome message and capability menu defined in the skill's SKILL.md § Welcome Flow. Specifically:
|
||||
|
||||
26
CLAUDE.md
26
CLAUDE.md
@@ -159,6 +159,32 @@ python tools/refresh_arch_catalog.py --validate # validate catalog
|
||||
- **KB is the moat** — field experience, not documentation regurgitation
|
||||
- **ECAL-aligned** — Define → Design → Deliver with iterative checkpoints
|
||||
|
||||
## Git Remotes (Gitea = source of truth, GitHub = mirror)
|
||||
|
||||
`origin` is configured with **one fetch URL (Gitea) and two push URLs (Gitea + GitHub)**, so a single `git push origin main` updates both. Gitea is authoritative; GitHub is a public mirror.
|
||||
|
||||
```
|
||||
fetch → git.tech-lad.com.br/diegoecab/oci-deal-accelerator.git
|
||||
push → git.tech-lad.com.br/diegoecab/oci-deal-accelerator.git
|
||||
push → github.com/Diegoecab/oci-deal-accelerator.git
|
||||
```
|
||||
|
||||
**Recreating this on a new clone** (the dual-push lives in `.git/config`, not tracked):
|
||||
|
||||
```bash
|
||||
git remote set-url --add --push origin https://github.com/Diegoecab/oci-deal-accelerator.git
|
||||
git remote set-url --add --push origin https://git.tech-lad.com.br/diegoecab/oci-deal-accelerator.git
|
||||
git remote -v # confirm one fetch + two push URLs
|
||||
```
|
||||
|
||||
The first command substitutes the implicit Gitea push URL with GitHub's; the second re-adds Gitea so origin pushes to BOTH. Counter-intuitive but necessary.
|
||||
|
||||
**Agent guidance**:
|
||||
- After creating a commit on `main`, **always propose `git push origin main`** (not separate pushes per remote) — it covers both. Confirm with the user before pushing (pushing is shared-state).
|
||||
- If a push fails on GitHub but succeeds on Gitea (or vice versa), the dual-push is partial. Re-run after fixing the failing one — Gitea's second push will be a no-op fast-forward.
|
||||
- Never force-push Gitea unless explicitly asked; force-pushing GitHub is acceptable when needed because GitHub is downstream.
|
||||
- If history diverges between Gitea and GitHub (e.g. after a rebase), the recovery pattern is: temporarily strip the GitHub URL (`git remote set-url --delete --push origin <github-url>`), push Gitea fast-forward, add `github` as a standalone remote, force-push, then restore the dual-push.
|
||||
|
||||
## Coding Guidelines
|
||||
|
||||
### 1. Think Before Coding
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
last_verified: '2026-03-27'
|
||||
last_verified: '2026-05-01'
|
||||
source: Oracle OCI Price List + internal BOM reference v1.73
|
||||
description: 'OCI SKU catalog for BOM generation. ~160 SKUs across 14+ categories. Prices are approximate and for estimation
|
||||
only. Always verify against https://www.oracle.com/cloud/pricing/
|
||||
@@ -564,7 +564,7 @@ categories:
|
||||
- sku: B95714
|
||||
product: Oracle Autonomous AI Transaction Processing - Dedicated - ECPU
|
||||
metric: ECPU Per Hour
|
||||
list_price_usd: 0.336
|
||||
list_price_usd: 0.0807
|
||||
default_hours_units: 730
|
||||
billing_type: hourly
|
||||
- sku: B95715
|
||||
@@ -1302,12 +1302,6 @@ categories:
|
||||
list_price_usd: 0.015
|
||||
default_hours_units: 730
|
||||
billing_type: hourly
|
||||
# OCI Data Science and Data Flow do not have dedicated SKUs in the Oracle
|
||||
# public pricing API — they are billed via the underlying Compute + Block/Object
|
||||
# Storage consumed by notebook sessions, model-deployment endpoints, and Spark
|
||||
# runs. The entries below are placeholder estimates (VM.Standard3.Flex OCPU rate)
|
||||
# so BOMs can include them as line items; always confirm against the customer's
|
||||
# actual shape + usage before quoting.
|
||||
- sku: EST-DS-NOTEBOOK
|
||||
product: '[ESTIMATE] OCI Data Science - Notebook Session (billed via underlying VM.Standard compute OCPU)'
|
||||
metric: OCPU Per Hour
|
||||
|
||||
Reference in New Issue
Block a user