From f727d88811bac833962c17fb8637ae7d57d862fa Mon Sep 17 00:00:00 2001 From: egallmann Date: Sat, 30 May 2026 15:09:20 -0400 Subject: [PATCH] chore: stop tracking generated python sample state --- .gitignore | 8 +-- .../.ste-self/state/graph-metrics.json | 18 ------ .../api/endpoints/api-GET-api-greet-name.yaml | 35 ----------- .../endpoints/api-GET-api-users-user-id.yaml | 35 ----------- .../api/endpoints/api-GET-api-users.yaml | 35 ----------- .../api/endpoints/api-POST-api-users.yaml | 35 ----------- .../python-sample/.ste/state/api/index.yaml | 34 ---------- .../data/entities/data-GreetingConfig.yaml | 38 ----------- .../.ste/state/data/entities/data-User.yaml | 44 ------------- .../python-sample/.ste/state/data/index.yaml | 24 ------- .../.ste/state/graph-metrics.json | 28 --------- .../.ste/state/graph/internal/index.yaml | 31 --------- .../internal/modules/module-app-__init__.yaml | 29 --------- .../internal/modules/module-app-api.yaml | 63 ------------------- .../modules/module-app-services-__init__.yaml | 29 --------- .../modules/module-app-services-greeting.yaml | 44 ------------- .../module-app-services-user_service.yaml | 48 -------------- .../.ste/state/manifest/recon-manifest.json | 36 ----------- 18 files changed, 4 insertions(+), 610 deletions(-) delete mode 100644 fixtures/python-sample/.ste-self/state/graph-metrics.json delete mode 100644 fixtures/python-sample/.ste/state/api/endpoints/api-GET-api-greet-name.yaml delete mode 100644 fixtures/python-sample/.ste/state/api/endpoints/api-GET-api-users-user-id.yaml delete mode 100644 fixtures/python-sample/.ste/state/api/endpoints/api-GET-api-users.yaml delete mode 100644 fixtures/python-sample/.ste/state/api/endpoints/api-POST-api-users.yaml delete mode 100644 fixtures/python-sample/.ste/state/api/index.yaml delete mode 100644 fixtures/python-sample/.ste/state/data/entities/data-GreetingConfig.yaml delete mode 100644 fixtures/python-sample/.ste/state/data/entities/data-User.yaml delete mode 100644 fixtures/python-sample/.ste/state/data/index.yaml delete mode 100644 fixtures/python-sample/.ste/state/graph-metrics.json delete mode 100644 fixtures/python-sample/.ste/state/graph/internal/index.yaml delete mode 100644 fixtures/python-sample/.ste/state/graph/internal/modules/module-app-__init__.yaml delete mode 100644 fixtures/python-sample/.ste/state/graph/internal/modules/module-app-api.yaml delete mode 100644 fixtures/python-sample/.ste/state/graph/internal/modules/module-app-services-__init__.yaml delete mode 100644 fixtures/python-sample/.ste/state/graph/internal/modules/module-app-services-greeting.yaml delete mode 100644 fixtures/python-sample/.ste/state/graph/internal/modules/module-app-services-user_service.yaml delete mode 100644 fixtures/python-sample/.ste/state/manifest/recon-manifest.json diff --git a/.gitignore b/.gitignore index aaed328..b286667 100644 --- a/.gitignore +++ b/.gitignore @@ -18,11 +18,11 @@ benchmark-results/ # Runtime state (regenerated by RECON) # .ste/state/ - Only track README.md (ignore all other files) -.ste/state/* -!.ste/state/README.md +**/.ste/state/* +!**/.ste/state/README.md # .ste-self/state/ - Only track README.md (ignore all other files) -.ste-self/state/* -!.ste-self/state/README.md +**/.ste-self/state/* +!**/.ste-self/state/README.md # Runtime cache (downloaded specs, auto-regenerated) .ste/cache/ diff --git a/fixtures/python-sample/.ste-self/state/graph-metrics.json b/fixtures/python-sample/.ste-self/state/graph-metrics.json deleted file mode 100644 index de0a25d..0000000 --- a/fixtures/python-sample/.ste-self/state/graph-metrics.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "totalComponents": 0, - "componentsByDomain": {}, - "componentsByType": {}, - "avgDependencyDepth": 0, - "maxDependencyDepth": 0, - "p95DependencyDepth": 0, - "avgDependentDepth": 0, - "maxDependentDepth": 0, - "avgDependenciesPerComponent": 0, - "avgDependentsPerComponent": 0, - "detectedPattern": "mixed", - "hasDeepTrees": false, - "hasWideNetwork": false, - "recommendedDepth": 2, - "reasoning": "Empty graph, using default depth=2", - "lastAnalyzed": "2026-05-29T19:54:19.396Z" -} \ No newline at end of file diff --git a/fixtures/python-sample/.ste/state/api/endpoints/api-GET-api-greet-name.yaml b/fixtures/python-sample/.ste/state/api/endpoints/api-GET-api-greet-name.yaml deleted file mode 100644 index 9244120..0000000 --- a/fixtures/python-sample/.ste/state/api/endpoints/api-GET-api-greet-name.yaml +++ /dev/null @@ -1,35 +0,0 @@ -_slice: - id: api-GET-api-greet-name - domain: api - type: endpoint - source_files: - - app/api.py - references: - - domain: graph - type: module - id: module-app-api - referenced_by: [] - tags: - - api - - flask - extraction: - method: static - confidence: high - timestamp: '2026-05-29T19:54:18.528Z' -endpoint: - id: api-GET-api-greet-name - method: GET - path: /api/greet/ - summary: Greet a user by name. - domain_function: '' - handler: - file: app/api.py - function: greet - class: '' - line: 41 - authentication: - required: false - type: none - scopes: [] - roles: [] - responses: [] diff --git a/fixtures/python-sample/.ste/state/api/endpoints/api-GET-api-users-user-id.yaml b/fixtures/python-sample/.ste/state/api/endpoints/api-GET-api-users-user-id.yaml deleted file mode 100644 index 634c1e0..0000000 --- a/fixtures/python-sample/.ste/state/api/endpoints/api-GET-api-users-user-id.yaml +++ /dev/null @@ -1,35 +0,0 @@ -_slice: - id: api-GET-api-users-user-id - domain: api - type: endpoint - source_files: - - app/api.py - references: - - domain: graph - type: module - id: module-app-api - referenced_by: [] - tags: - - api - - flask - extraction: - method: static - confidence: high - timestamp: '2026-05-29T19:54:18.528Z' -endpoint: - id: api-GET-api-users-user-id - method: GET - path: /api/users/ - summary: Get a user by ID. - domain_function: '' - handler: - file: app/api.py - function: get_user - class: '' - line: 20 - authentication: - required: false - type: none - scopes: [] - roles: [] - responses: [] diff --git a/fixtures/python-sample/.ste/state/api/endpoints/api-GET-api-users.yaml b/fixtures/python-sample/.ste/state/api/endpoints/api-GET-api-users.yaml deleted file mode 100644 index 7afa8b2..0000000 --- a/fixtures/python-sample/.ste/state/api/endpoints/api-GET-api-users.yaml +++ /dev/null @@ -1,35 +0,0 @@ -_slice: - id: api-GET-api-users - domain: api - type: endpoint - source_files: - - app/api.py - references: - - domain: graph - type: module - id: module-app-api - referenced_by: [] - tags: - - api - - flask - extraction: - method: static - confidence: high - timestamp: '2026-05-29T19:54:18.528Z' -endpoint: - id: api-GET-api-users - method: GET - path: /api/users - summary: List all users. - domain_function: '' - handler: - file: app/api.py - function: list_users - class: '' - line: 13 - authentication: - required: false - type: none - scopes: [] - roles: [] - responses: [] diff --git a/fixtures/python-sample/.ste/state/api/endpoints/api-POST-api-users.yaml b/fixtures/python-sample/.ste/state/api/endpoints/api-POST-api-users.yaml deleted file mode 100644 index ba4b4aa..0000000 --- a/fixtures/python-sample/.ste/state/api/endpoints/api-POST-api-users.yaml +++ /dev/null @@ -1,35 +0,0 @@ -_slice: - id: api-POST-api-users - domain: api - type: endpoint - source_files: - - app/api.py - references: - - domain: graph - type: module - id: module-app-api - referenced_by: [] - tags: - - api - - flask - extraction: - method: static - confidence: high - timestamp: '2026-05-29T19:54:18.528Z' -endpoint: - id: api-POST-api-users - method: POST - path: /api/users - summary: Create a new user. - domain_function: '' - handler: - file: app/api.py - function: create_user - class: '' - line: 29 - authentication: - required: false - type: none - scopes: [] - roles: [] - responses: [] diff --git a/fixtures/python-sample/.ste/state/api/index.yaml b/fixtures/python-sample/.ste/state/api/index.yaml deleted file mode 100644 index 27825c1..0000000 --- a/fixtures/python-sample/.ste/state/api/index.yaml +++ /dev/null @@ -1,34 +0,0 @@ -_slice: - id: api-index - domain: api - type: index - source_files: [] - references: [] - referenced_by: [] - tags: - - api - extraction: - method: static - confidence: high - timestamp: '2026-05-29T19:54:18.528Z' -endpoints: - - id: api-GET-api-greet-name - method: GET - path: /api/greet/ - summary: Greet a user by name. - domain_function: '' - - id: api-GET-api-users - method: GET - path: /api/users - summary: List all users. - domain_function: '' - - id: api-GET-api-users-user-id - method: GET - path: /api/users/ - summary: Get a user by ID. - domain_function: '' - - id: api-POST-api-users - method: POST - path: /api/users - summary: Create a new user. - domain_function: '' diff --git a/fixtures/python-sample/.ste/state/data/entities/data-GreetingConfig.yaml b/fixtures/python-sample/.ste/state/data/entities/data-GreetingConfig.yaml deleted file mode 100644 index b4b5a7d..0000000 --- a/fixtures/python-sample/.ste/state/data/entities/data-GreetingConfig.yaml +++ /dev/null @@ -1,38 +0,0 @@ -_slice: - id: data-GreetingConfig - domain: data - type: entity - source_files: - - app/services/greeting.py - references: - - domain: graph - type: module - id: module-app-services-greeting - referenced_by: [] - tags: - - data - - entity - extraction: - method: static - confidence: high - timestamp: '2026-05-29T19:54:18.528Z' -entity: - id: data-GreetingConfig - name: GreetingConfig - description: Configuration for greeting service. - source: - file: app/services/greeting.py - class: GreetingConfig - line: 8 - persistence: - type: none - fields: - - name: prefix - type: str - default: '''Hello''' - - name: suffix - type: str - default: '''!''' - relationships: [] - indexes: [] - validation_rules: [] diff --git a/fixtures/python-sample/.ste/state/data/entities/data-User.yaml b/fixtures/python-sample/.ste/state/data/entities/data-User.yaml deleted file mode 100644 index 18a1cab..0000000 --- a/fixtures/python-sample/.ste/state/data/entities/data-User.yaml +++ /dev/null @@ -1,44 +0,0 @@ -_slice: - id: data-User - domain: data - type: entity - source_files: - - app/services/user_service.py - references: - - domain: graph - type: module - id: module-app-services-user_service - referenced_by: [] - tags: - - data - - entity - extraction: - method: static - confidence: high - timestamp: '2026-05-29T19:54:18.528Z' -entity: - id: data-User - name: User - description: User entity model. - source: - file: app/services/user_service.py - class: User - line: 9 - persistence: - type: none - fields: - - name: created_at - type: datetime - default: field(default_factory=datetime.now) - - name: email - type: str - - name: id - type: str - - name: name - type: str - - name: roles - type: List[str] - default: field(default_factory=list) - relationships: [] - indexes: [] - validation_rules: [] diff --git a/fixtures/python-sample/.ste/state/data/index.yaml b/fixtures/python-sample/.ste/state/data/index.yaml deleted file mode 100644 index 55f2f2a..0000000 --- a/fixtures/python-sample/.ste/state/data/index.yaml +++ /dev/null @@ -1,24 +0,0 @@ -_slice: - id: data-index - domain: data - type: index - source_files: [] - references: [] - referenced_by: [] - tags: - - data - extraction: - method: static - confidence: high - timestamp: '2026-05-29T19:54:18.528Z' -entities: - - id: data-GreetingConfig - name: GreetingConfig - type: entity - table: '' - - id: data-User - name: User - type: entity - table: '' -dtos: [] -enums: [] diff --git a/fixtures/python-sample/.ste/state/graph-metrics.json b/fixtures/python-sample/.ste/state/graph-metrics.json deleted file mode 100644 index efb08cc..0000000 --- a/fixtures/python-sample/.ste/state/graph-metrics.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "totalComponents": 14, - "componentsByDomain": { - "api": 5, - "data": 3, - "graph": 6 - }, - "componentsByType": { - "endpoint": 4, - "index": 2, - "entity": 2, - "internal-index": 1, - "module": 5 - }, - "avgDependencyDepth": 0.35714285714285715, - "maxDependencyDepth": 2, - "p95DependencyDepth": 2, - "avgDependentDepth": 0, - "maxDependentDepth": 0, - "avgDependenciesPerComponent": 0.5714285714285714, - "avgDependentsPerComponent": 0.5714285714285714, - "detectedPattern": "flat", - "hasDeepTrees": false, - "hasWideNetwork": false, - "recommendedDepth": 2, - "reasoning": "Detected flat architecture. Avg depth: 0.4, P95 depth: 2.0, Max depth: 2. Recommended depth: 2.", - "lastAnalyzed": "2026-05-29T19:54:19.387Z" -} \ No newline at end of file diff --git a/fixtures/python-sample/.ste/state/graph/internal/index.yaml b/fixtures/python-sample/.ste/state/graph/internal/index.yaml deleted file mode 100644 index 03c7a03..0000000 --- a/fixtures/python-sample/.ste/state/graph/internal/index.yaml +++ /dev/null @@ -1,31 +0,0 @@ -_slice: - id: internal-graph-index - domain: graph - type: internal-index - source_files: [] - references: [] - referenced_by: [] - tags: - - graph - - internal - extraction: - method: static - confidence: high - timestamp: '2026-05-29T19:54:18.528Z' -modules: - - id: module-app-__init__ - path: app/__init__.py - layer: util - - id: module-app-api - path: app/api.py - layer: util - - id: module-app-services-__init__ - path: app/services/__init__.py - layer: util - - id: module-app-services-greeting - path: app/services/greeting.py - layer: util - - id: module-app-services-user_service - path: app/services/user_service.py - layer: util -layers: [] diff --git a/fixtures/python-sample/.ste/state/graph/internal/modules/module-app-__init__.yaml b/fixtures/python-sample/.ste/state/graph/internal/modules/module-app-__init__.yaml deleted file mode 100644 index fb8fa34..0000000 --- a/fixtures/python-sample/.ste/state/graph/internal/modules/module-app-__init__.yaml +++ /dev/null @@ -1,29 +0,0 @@ -_slice: - id: module-app-__init__ - domain: graph - type: module - source_files: - - app/__init__.py - references: [] - referenced_by: [] - tags: - - graph - - module - - util - extraction: - method: static - confidence: high - timestamp: '2026-05-29T19:54:18.528Z' -module: - id: module-app-__init__ - path: app/__init__.py - name: __init__ - layer: util - exports: - classes: [] - functions: [] - constants: [] - imports: - internal: [] - external: [] - metrics: {} diff --git a/fixtures/python-sample/.ste/state/graph/internal/modules/module-app-api.yaml b/fixtures/python-sample/.ste/state/graph/internal/modules/module-app-api.yaml deleted file mode 100644 index 4d658ac..0000000 --- a/fixtures/python-sample/.ste/state/graph/internal/modules/module-app-api.yaml +++ /dev/null @@ -1,63 +0,0 @@ -_slice: - id: module-app-api - domain: graph - type: module - source_files: - - app/api.py - references: - - domain: graph - type: module - id: module-app-services-greeting - - domain: graph - type: module - id: module-app-services-user_service - referenced_by: - - domain: api - type: endpoint - id: api-GET-api-greet-name - - domain: api - type: endpoint - id: api-GET-api-users - - domain: api - type: endpoint - id: api-GET-api-users-user-id - - domain: api - type: endpoint - id: api-POST-api-users - tags: - - graph - - module - - util - extraction: - method: static - confidence: high - timestamp: '2026-05-29T19:54:18.528Z' -module: - id: module-app-api - path: app/api.py - name: api - layer: util - exports: - classes: [] - functions: - - create_user - - get_user - - greet - - list_users - constants: [] - imports: - internal: - - module_id: module-app-services-greeting - items: - - GreetingService - - module_id: module-app-services-user_service - items: - - User - - UserService - external: - - package: flask - items: - - Flask - - jsonify - - request - metrics: {} diff --git a/fixtures/python-sample/.ste/state/graph/internal/modules/module-app-services-__init__.yaml b/fixtures/python-sample/.ste/state/graph/internal/modules/module-app-services-__init__.yaml deleted file mode 100644 index c1955e3..0000000 --- a/fixtures/python-sample/.ste/state/graph/internal/modules/module-app-services-__init__.yaml +++ /dev/null @@ -1,29 +0,0 @@ -_slice: - id: module-app-services-__init__ - domain: graph - type: module - source_files: - - app/services/__init__.py - references: [] - referenced_by: [] - tags: - - graph - - module - - util - extraction: - method: static - confidence: high - timestamp: '2026-05-29T19:54:18.528Z' -module: - id: module-app-services-__init__ - path: app/services/__init__.py - name: __init__ - layer: util - exports: - classes: [] - functions: [] - constants: [] - imports: - internal: [] - external: [] - metrics: {} diff --git a/fixtures/python-sample/.ste/state/graph/internal/modules/module-app-services-greeting.yaml b/fixtures/python-sample/.ste/state/graph/internal/modules/module-app-services-greeting.yaml deleted file mode 100644 index 7ba90a1..0000000 --- a/fixtures/python-sample/.ste/state/graph/internal/modules/module-app-services-greeting.yaml +++ /dev/null @@ -1,44 +0,0 @@ -_slice: - id: module-app-services-greeting - domain: graph - type: module - source_files: - - app/services/greeting.py - references: [] - referenced_by: - - domain: data - type: entity - id: data-GreetingConfig - - domain: graph - type: module - id: module-app-api - tags: - - graph - - module - - util - extraction: - method: static - confidence: high - timestamp: '2026-05-29T19:54:18.528Z' -module: - id: module-app-services-greeting - path: app/services/greeting.py - name: greeting - layer: util - exports: - classes: - - GreetingConfig - - GreetingService - functions: - - create_greeting_service - constants: [] - imports: - internal: [] - external: - - package: dataclasses - items: - - dataclass - - package: typing - items: - - Optional - metrics: {} diff --git a/fixtures/python-sample/.ste/state/graph/internal/modules/module-app-services-user_service.yaml b/fixtures/python-sample/.ste/state/graph/internal/modules/module-app-services-user_service.yaml deleted file mode 100644 index 47ddcbb..0000000 --- a/fixtures/python-sample/.ste/state/graph/internal/modules/module-app-services-user_service.yaml +++ /dev/null @@ -1,48 +0,0 @@ -_slice: - id: module-app-services-user_service - domain: graph - type: module - source_files: - - app/services/user_service.py - references: [] - referenced_by: - - domain: data - type: entity - id: data-User - - domain: graph - type: module - id: module-app-api - tags: - - graph - - module - - util - extraction: - method: static - confidence: high - timestamp: '2026-05-29T19:54:18.528Z' -module: - id: module-app-services-user_service - path: app/services/user_service.py - name: user_service - layer: util - exports: - classes: - - User - - UserService - functions: [] - constants: [] - imports: - internal: [] - external: - - package: dataclasses - items: - - dataclass - - field - - package: datetime - items: - - datetime - - package: typing - items: - - List - - Optional - metrics: {} diff --git a/fixtures/python-sample/.ste/state/manifest/recon-manifest.json b/fixtures/python-sample/.ste/state/manifest/recon-manifest.json deleted file mode 100644 index 6ee082f..0000000 --- a/fixtures/python-sample/.ste/state/manifest/recon-manifest.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "version": 1, - "generatedAt": "2026-05-29T19:54:19.102Z", - "files": { - "app/api.py": { - "path": "app/api.py", - "mtimeMs": 1776787004643.1719, - "size": 1421, - "hash": "b5e175ca50dcd6712422e6ea18130e40ac1a9c6ccb519ca724945092ae4dbfc0" - }, - "app/__init__.py": { - "path": "app/__init__.py", - "mtimeMs": 1776787004643.1719, - "size": 49, - "hash": "c71784319958aed60cd445890c62b7946832fc781b44c73c058b30da390ec31d" - }, - "app/services/greeting.py": { - "path": "app/services/greeting.py", - "mtimeMs": 1776787004644.8289, - "size": 1010, - "hash": "6d30729c2393d770edb880effc872f534f88cf95d2bd68945f84d9599fef8665" - }, - "app/services/user_service.py": { - "path": "app/services/user_service.py", - "mtimeMs": 1776787004644.8289, - "size": 1159, - "hash": "a670c703d9f2769fa2f7f9f6370e6792a8c01373649fc1259ed2464c81cdb07e" - }, - "app/services/__init__.py": { - "path": "app/services/__init__.py", - "mtimeMs": 1776787004644.2263, - "size": 23, - "hash": "35e97f8b497a8eb82f0c8f40e86919e1896f8e35cf30a1c1e0491d39356c0793" - } - } -} \ No newline at end of file