yamtam-engine 0.15.0__tar.gz
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.
- yamtam_engine-0.15.0/.claude/templates/README.md +130 -0
- yamtam_engine-0.15.0/.gitignore +56 -0
- yamtam_engine-0.15.0/.out-of-scope/README.md +28 -0
- yamtam_engine-0.15.0/CHANGELOG.md +1698 -0
- yamtam_engine-0.15.0/LICENSE +164 -0
- yamtam_engine-0.15.0/PKG-INFO +800 -0
- yamtam_engine-0.15.0/README.md +769 -0
- yamtam_engine-0.15.0/adapters/README.md +50 -0
- yamtam_engine-0.15.0/core/templates/README.md +130 -0
- yamtam_engine-0.15.0/examples/context-packs/README.md +8 -0
- yamtam_engine-0.15.0/examples/unsafe-agent-repo/README.md +96 -0
- yamtam_engine-0.15.0/pyproject.toml +58 -0
- yamtam_engine-0.15.0/scanner/agent-config-checks.yml +85 -0
- yamtam_engine-0.15.0/scanner/auth-credential-checks.yml +205 -0
- yamtam_engine-0.15.0/scanner/ci-workflow-checks.yml +126 -0
- yamtam_engine-0.15.0/scanner/compiled/agent-config-checks.json +98 -0
- yamtam_engine-0.15.0/scanner/compiled/auth-credential-checks.json +163 -0
- yamtam_engine-0.15.0/scanner/compiled/ci-workflow-checks.json +145 -0
- yamtam_engine-0.15.0/scanner/compiled/db-tool-risk-checks.json +117 -0
- yamtam_engine-0.15.0/scanner/compiled/env-secret-checks.json +197 -0
- yamtam_engine-0.15.0/scanner/compiled/mcp-permission-checks.json +144 -0
- yamtam_engine-0.15.0/scanner/compiled/shell-risk-checks.json +145 -0
- yamtam_engine-0.15.0/scanner/db-tool-risk-checks.yml +142 -0
- yamtam_engine-0.15.0/scanner/env-secret-checks.yml +167 -0
- yamtam_engine-0.15.0/scanner/mcp-permission-checks.yml +138 -0
- yamtam_engine-0.15.0/scanner/shell-risk-checks.yml +126 -0
- yamtam_engine-0.15.0/src/main.rs +406 -0
- yamtam_engine-0.15.0/src/yamtam_engine/__init__.py +4 -0
- yamtam_engine-0.15.0/src/yamtam_engine/cli.py +43 -0
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
# [Project Name]
|
|
2
|
+
|
|
3
|
+
> [One-sentence description of what this project does and who it's for.]
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Overview
|
|
8
|
+
|
|
9
|
+
[2–3 paragraphs describing the project in detail. What problem does it solve? Who uses it? Why does it exist? What makes it different from alternatives?]
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Tech Stack
|
|
14
|
+
|
|
15
|
+
| Layer | Technology | Notes |
|
|
16
|
+
|-------|-----------|-------|
|
|
17
|
+
| Frontend | [e.g., Next.js 14, React 18, TypeScript] | [e.g., App Router] |
|
|
18
|
+
| Styling | [e.g., Tailwind CSS, shadcn/ui] | |
|
|
19
|
+
| Backend | [e.g., Node.js, Fastify] | |
|
|
20
|
+
| Database | [e.g., PostgreSQL 15] | |
|
|
21
|
+
| ORM | [e.g., Prisma] | |
|
|
22
|
+
| Auth | [e.g., NextAuth.js] | |
|
|
23
|
+
| Hosting | [e.g., Railway, Vercel, Fly.io] | |
|
|
24
|
+
| CI/CD | [e.g., GitHub Actions] | |
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Getting Started
|
|
29
|
+
|
|
30
|
+
### Prerequisites
|
|
31
|
+
|
|
32
|
+
- Node.js [x.x.x]+ (see `.nvmrc`)
|
|
33
|
+
- [Package manager: npm / pnpm / yarn]
|
|
34
|
+
- [e.g., PostgreSQL 15 running locally, or Docker]
|
|
35
|
+
- [Any other prerequisites]
|
|
36
|
+
|
|
37
|
+
### Installation
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
# Clone the repository
|
|
41
|
+
git clone https://github.com/[org]/[repo].git
|
|
42
|
+
cd [repo]
|
|
43
|
+
|
|
44
|
+
# Install dependencies
|
|
45
|
+
[npm install]
|
|
46
|
+
|
|
47
|
+
# Copy environment variables
|
|
48
|
+
cp .env.example .env.local
|
|
49
|
+
# Edit .env.local and fill in required values
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### Running Locally
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
# Start the development server
|
|
56
|
+
[npm run dev]
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Open [http://localhost:3000](http://localhost:3000) in your browser.
|
|
60
|
+
|
|
61
|
+
### Running Tests
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
# Unit tests
|
|
65
|
+
[npm test]
|
|
66
|
+
|
|
67
|
+
# E2E tests (requires dev server running)
|
|
68
|
+
[npm run test:e2e]
|
|
69
|
+
|
|
70
|
+
# Type checking
|
|
71
|
+
[npm run typecheck]
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## Project Structure
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
[project-root]/
|
|
80
|
+
├── src/
|
|
81
|
+
│ ├── app/ # [e.g., Next.js App Router pages and layouts]
|
|
82
|
+
│ ├── components/ # Shared UI components
|
|
83
|
+
│ └── lib/ # Utilities, helpers, shared logic
|
|
84
|
+
├── tests/
|
|
85
|
+
│ └── e2e/ # Playwright E2E tests
|
|
86
|
+
├── docs/
|
|
87
|
+
│ ├── user/ # User-facing documentation
|
|
88
|
+
│ └── technical/ # Architecture, API, database docs
|
|
89
|
+
├── .claude/agents/ # Claude Code specialist agents
|
|
90
|
+
├── public/ # Static assets
|
|
91
|
+
├── PRD.md # Product requirements (source of truth)
|
|
92
|
+
├── TODO.md # Project backlog
|
|
93
|
+
└── CLAUDE.md # Claude AI instructions
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## Environment Variables
|
|
99
|
+
|
|
100
|
+
| Variable | Required | Description |
|
|
101
|
+
|----------|----------|-------------|
|
|
102
|
+
| `DATABASE_URL` | Yes | PostgreSQL connection string |
|
|
103
|
+
| `[NEXTAUTH_SECRET]` | Yes | [Auth secret] |
|
|
104
|
+
| `[NEXTAUTH_URL]` | Yes | [App base URL] |
|
|
105
|
+
| `[OTHER_VAR]` | No | [Description] |
|
|
106
|
+
|
|
107
|
+
See `.env.example` for all available variables.
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## Deployment
|
|
112
|
+
|
|
113
|
+
[Describe the deployment process. E.g.:]
|
|
114
|
+
|
|
115
|
+
The application deploys automatically via GitHub Actions on merge to `main`.
|
|
116
|
+
|
|
117
|
+
- **Production**: [URL]
|
|
118
|
+
- **Staging**: [URL]
|
|
119
|
+
|
|
120
|
+
Manual deployment:
|
|
121
|
+
```bash
|
|
122
|
+
[npm run build]
|
|
123
|
+
[deployment command]
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
## License
|
|
129
|
+
|
|
130
|
+
[MIT / proprietary / other] — see [LICENSE](LICENSE)
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Secrets
|
|
2
|
+
*.env
|
|
3
|
+
*.env.*
|
|
4
|
+
.env.local
|
|
5
|
+
.env.production
|
|
6
|
+
|
|
7
|
+
# OS
|
|
8
|
+
.DS_Store
|
|
9
|
+
Thumbs.db
|
|
10
|
+
|
|
11
|
+
# Node
|
|
12
|
+
node_modules/
|
|
13
|
+
|
|
14
|
+
# Memory pipeline
|
|
15
|
+
memory/L0_raw/
|
|
16
|
+
memory/L1_atomic/private/
|
|
17
|
+
# L2 session facts are provisional — not persisted across sessions
|
|
18
|
+
memory/L2_session/*.md
|
|
19
|
+
!memory/L2_session/SCHEMA.md
|
|
20
|
+
|
|
21
|
+
# Build
|
|
22
|
+
dist/
|
|
23
|
+
.next/
|
|
24
|
+
.claude/state/
|
|
25
|
+
releases/logs/
|
|
26
|
+
.mcp.json
|
|
27
|
+
.codegraph/
|
|
28
|
+
|
|
29
|
+
# Local runtime audit logs
|
|
30
|
+
core/memory/audit/*
|
|
31
|
+
!core/memory/audit/.gitkeep
|
|
32
|
+
|
|
33
|
+
# Local backup files generated by adapter switching
|
|
34
|
+
*.bak
|
|
35
|
+
*.bak.*
|
|
36
|
+
|
|
37
|
+
# Local artifacts
|
|
38
|
+
__pycache__/
|
|
39
|
+
*.pyc
|
|
40
|
+
reports/audit-local.*
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
# Added by cargo
|
|
44
|
+
|
|
45
|
+
/target
|
|
46
|
+
|
|
47
|
+
# YAMTAM
|
|
48
|
+
.yamtam/
|
|
49
|
+
yamtam-*.html
|
|
50
|
+
yamtam-*.sarif
|
|
51
|
+
releases/*.zip
|
|
52
|
+
releases/*.bundle
|
|
53
|
+
releases/*.bundle.sha256
|
|
54
|
+
yamtam-transfer*.zip
|
|
55
|
+
yamtam-patch-files*.zip
|
|
56
|
+
.yamtam/graph/
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# YAMTAM ENGINE — Out of Scope
|
|
2
|
+
|
|
3
|
+
Things YAMTAM will deliberately NOT do, and why.
|
|
4
|
+
|
|
5
|
+
This folder exists to resist scope creep. Every item here was considered and rejected.
|
|
6
|
+
Before adding a new feature, check if it belongs here instead.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## How to read this
|
|
11
|
+
|
|
12
|
+
Each file documents one rejected direction:
|
|
13
|
+
- **What it is** — the feature or capability
|
|
14
|
+
- **Why it's tempting** — the real use case that makes it feel worth adding
|
|
15
|
+
- **Why we don't do it** — the actual reason (complexity, wrong layer, existing solution)
|
|
16
|
+
- **What to do instead** — the right path if you actually need this
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Index
|
|
21
|
+
|
|
22
|
+
| File | Topic |
|
|
23
|
+
|------|-------|
|
|
24
|
+
| [real-time-cost-dashboard.md](real-time-cost-dashboard.md) | Live token/cost monitoring UI |
|
|
25
|
+
| [enterprise-rbac.md](enterprise-rbac.md) | Full role-based access control system |
|
|
26
|
+
| [multi-agent-coordination.md](multi-agent-coordination.md) | Orchestrating multiple YAMTAM instances |
|
|
27
|
+
| [cloud-console-protection.md](cloud-console-protection.md) | Protecting cloud infrastructure |
|
|
28
|
+
| [l3-l4-memory-tiers.md](l3-l4-memory-tiers.md) | Episodic and long-term memory layers |
|