flappycode 0.0.0-stage → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,26 @@
1
+ {
2
+ "version": "1.0.0",
3
+ "updated_at": "2026-10-02T00:00:00Z",
4
+ "models": {
5
+ "claude-3-5-sonnet-20241022": {
6
+ "tier": "paid",
7
+ "supports_tools": true,
8
+ "supports_vision": true
9
+ },
10
+ "gpt-4o": {
11
+ "tier": "paid",
12
+ "supports_tools": true,
13
+ "supports_vision": true
14
+ },
15
+ "gemini-2.0-flash": {
16
+ "tier": "free",
17
+ "supports_tools": true,
18
+ "supports_vision": true
19
+ },
20
+ "llama3:8b": {
21
+ "tier": "free",
22
+ "supports_tools": true,
23
+ "supports_vision": false
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,7 @@
1
+ # Category Rules: Backend
2
+
3
+ 1. Input Validation: Validate all incoming payloads using strict schemas (e.g., Zod, Joi, or Pydantic) before executing business logic.
4
+ 2. Error Handling: Never expose internal stack traces, DB credentials, or connection strings in HTTP error responses.
5
+ 3. Database & Transactions: Use parameterized queries to prevent SQL injection. Wrap multi-table mutations in transactions.
6
+ 4. Idempotency & Rate Limiting: Apply rate limiting to authentication and expensive endpoints.
7
+ 5. Observability: Structured logging with correlation/request IDs. Redact all tokens and secrets in logs.
@@ -0,0 +1,6 @@
1
+ # Category Rules: CLI
2
+
3
+ 1. Deterministic Exit Codes: Exit 0 for success, 1 for runtime errors, 2 for CLI argument syntax errors, 130 for SIGINT.
4
+ 2. Output Streams: Write program results and primary output to stdout; write diagnostics, progress indicators, and errors to stderr.
5
+ 3. Machine-Readable Flags: Support `--json` or `--quiet` for automated scripting environments.
6
+ 4. Non-Interactive Grace: Never hang indefinitely waiting for stdin when running non-interactively or in a headless terminal.
@@ -0,0 +1,6 @@
1
+ # Category Rules: Data/ML
2
+
3
+ 1. Determinism & Seeding: Set random seeds explicitly for reproducibility across training, evaluation, and data transformations.
4
+ 2. Data Leakage Prevention: Strictly separate training, validation, and test splits prior to fitting feature transformers.
5
+ 3. Resource Management: Release GPU memory and batch generators explicitly. Monitor memory consumption.
6
+ 4. Schema & Format Validation: Verify data schemas and missing values early in data pipelines.
@@ -0,0 +1,5 @@
1
+ # Category Rules: Docs
2
+
3
+ 1. Up-to-Date Code Snippets: All code blocks in documentation must match current API contracts and pass linting.
4
+ 2. Clear Structure: Single `h1` per page with hierarchical sections. Include a table of contents or quick start where helpful.
5
+ 3. Plain Language: Concise, active voice explanations. Avoid jargon without defining terms.
@@ -0,0 +1,7 @@
1
+ # Category Rules: Frontend
2
+
3
+ 1. Accessibility & Semantics: Use standard HTML5 landmark elements (`<main>`, `<nav>`, `<header>`, `<article>`). Ensure keyboard navigation and ARIA attributes where appropriate.
4
+ 2. State Management: Keep component state local where possible; avoid unnecessary global store pollution.
5
+ 3. Performance: Lazy-load non-critical routes and large components. Minimize layout shifts (CLS).
6
+ 4. Responsive Design: Mobile-first responsive layouts with CSS grid/flexbox. Do not use hardcoded pixel widths for fluid layouts.
7
+ 5. Security: Sanitize all untrusted input; never inject raw HTML without explicit escaping to avoid XSS vulnerabilities.
@@ -0,0 +1,6 @@
1
+ # Category Rules: Infra
2
+
3
+ 1. Immutability & Reproducibility: Infrastructure code must be declarative and reproducible. Pin base images and package hashes.
4
+ 2. Least Privilege: Grant minimum required IAM roles, network ingress rules, and file permissions.
5
+ 3. Secret Separation: Never bake API keys or secrets into Docker images or state files; use external secret managers.
6
+ 4. Non-Destructive Apply: Require confirmation before running destructive operations (`terraform destroy`, `kubectl delete ns`).
@@ -0,0 +1,6 @@
1
+ # Category Rules: Library
2
+
3
+ 1. Semantic Versioning: Preserve strict public API backward compatibility within major versions.
4
+ 2. Minimal Dependencies: Avoid introducing heavy runtime dependencies for trivial utilities.
5
+ 3. Dual Module & Types: Provide type definitions (`.d.ts`) and support standard module resolution (ESM / CJS).
6
+ 4. No Side Effects: Importing the library must not produce global side effects or mutate standard prototypes.
@@ -0,0 +1,5 @@
1
+ # Category Rules: Marketing/SEO
2
+
3
+ 1. Metadata & OpenGraph: Provide unique, descriptive `<title>`, `<meta name="description">`, canonical URLs, and OpenGraph tags (`og:title`, `og:image`, `og:description`).
4
+ 2. Performance & Core Web Vitals: Prioritize fast First Contentful Paint (FCP) and low Cumulative Layout Shift (CLS).
5
+ 3. Search Crawlers: Maintain valid `robots.txt` and `sitemap.xml` entries. Avoid broken internal links.
@@ -0,0 +1,6 @@
1
+ # Category Rules: Mobile
2
+
3
+ 1. Offline Resilience: Handle intermittent network connectivity gracefully with cached data and background sync.
4
+ 2. Battery & Memory: Avoid polling loops; release hardware listeners and native bridges when components unmount.
5
+ 3. Safe Storage: Store sensitive credentials and tokens exclusively in Keychain / Keystore / SecureStore.
6
+ 4. Screen Adaptability: Support multiple device densities, notch insets, and orientation changes.
@@ -0,0 +1,5 @@
1
+ # Category Rules: Monorepo
2
+
3
+ 1. Package Boundaries: Internal cross-package imports must use published or workspace-linked package specifiers, not relative path escapes (`../../`).
4
+ 2. Dependency Alignment: Keep shared tooling and common devDependencies aligned across workspace packages.
5
+ 3. Isolated Scopes: Package tests and lint tasks must be executable both independently and from the root coordinator.