devtime-ei 0.7.0__tar.gz → 0.8.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.
Files changed (84) hide show
  1. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/PKG-INFO +16 -6
  2. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/README.md +14 -4
  3. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/pyproject.toml +2 -2
  4. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/__init__.py +1 -1
  5. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/cli.py +3 -0
  6. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/intelligence/concepts.py +11 -1
  7. devtime_ei-0.8.0/src/devtime/intelligence/routes.py +638 -0
  8. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/intelligence/verification.py +390 -207
  9. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/scanner/extractors/base.py +97 -0
  10. devtime_ei-0.8.0/src/devtime/scanner/extractors/python.py +405 -0
  11. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/scanner/extractors/tests.py +15 -2
  12. devtime_ei-0.8.0/src/devtime/scanner/extractors/typescript.py +612 -0
  13. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime_ei.egg-info/PKG-INFO +16 -6
  14. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime_ei.egg-info/SOURCES.txt +1 -0
  15. devtime_ei-0.7.0/src/devtime/scanner/extractors/python.py +0 -89
  16. devtime_ei-0.7.0/src/devtime/scanner/extractors/typescript.py +0 -150
  17. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/LICENSE +0 -0
  18. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/setup.cfg +0 -0
  19. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/ai/__init__.py +0 -0
  20. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/ai/local.py +0 -0
  21. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/ai/prompts.py +0 -0
  22. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/ai/providers.py +0 -0
  23. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/assets/devtimeignore.starter +0 -0
  24. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/config.py +0 -0
  25. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/db/__init__.py +0 -0
  26. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/db/connection.py +0 -0
  27. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/db/migrations.py +0 -0
  28. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/db/repository.py +0 -0
  29. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/db/schema.sql +0 -0
  30. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/demo.py +0 -0
  31. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/fixtures/__init__.py +0 -0
  32. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/fixtures/assertions.py +0 -0
  33. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/fixtures/loader.py +0 -0
  34. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/fixtures/runner.py +0 -0
  35. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/intelligence/__init__.py +0 -0
  36. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/intelligence/claims.py +0 -0
  37. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/intelligence/context_pack.py +0 -0
  38. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/intelligence/evidence.py +0 -0
  39. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/intelligence/lineage.py +0 -0
  40. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/intelligence/review.py +0 -0
  41. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/intelligence/risk.py +0 -0
  42. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/intelligence/scoring.py +0 -0
  43. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/mcp/__init__.py +0 -0
  44. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/mcp/schemas.py +0 -0
  45. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/mcp/server.py +0 -0
  46. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/mcp/tools.py +0 -0
  47. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/mcp/transport.py +0 -0
  48. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/output/__init__.py +0 -0
  49. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/output/json_export.py +0 -0
  50. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/output/markdown.py +0 -0
  51. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/output/review.py +0 -0
  52. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/output/terminal.py +0 -0
  53. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/paths.py +0 -0
  54. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/privacy.py +0 -0
  55. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/resources/demo-saas/.devtimeignore +0 -0
  56. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/resources/demo-saas/README.md +0 -0
  57. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/resources/demo-saas/docs/decisions/0001-use-jwt.md +0 -0
  58. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/resources/demo-saas/package.json +0 -0
  59. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/resources/demo-saas/src/admin/permissions.ts +0 -0
  60. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/resources/demo-saas/src/auth/login.ts +0 -0
  61. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/resources/demo-saas/src/auth/middleware.ts +0 -0
  62. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/resources/demo-saas/src/auth/tokens.ts +0 -0
  63. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/resources/demo-saas/src/billing/stripe-webhook.ts +0 -0
  64. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/resources/demo-saas/src/billing/subscription-service.ts +0 -0
  65. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/resources/demo-saas/src/export/export-csv.ts +0 -0
  66. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/resources/demo-saas/src/jobs/email-worker.ts +0 -0
  67. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/resources/demo-saas/src/jobs/queues.ts +0 -0
  68. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/resources/demo-saas/tests/auth-login.test.ts +0 -0
  69. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/resources/demo-saas/tests/stripe-signature.test.ts +0 -0
  70. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/review_flow.py +0 -0
  71. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/scanner/__init__.py +0 -0
  72. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/scanner/extractors/__init__.py +0 -0
  73. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/scanner/extractors/config_files.py +0 -0
  74. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/scanner/extractors/docs.py +0 -0
  75. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/scanner/extractors/nextjs.py +0 -0
  76. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/scanner/file_walker.py +0 -0
  77. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/scanner/ignore.py +0 -0
  78. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/scanner/language.py +0 -0
  79. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/scanner/signals.py +0 -0
  80. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime/snapshots.py +0 -0
  81. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime_ei.egg-info/dependency_links.txt +0 -0
  82. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime_ei.egg-info/entry_points.txt +0 -0
  83. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime_ei.egg-info/requires.txt +0 -0
  84. {devtime_ei-0.7.0 → devtime_ei-0.8.0}/src/devtime_ei.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: devtime-ei
3
- Version: 0.7.0
3
+ Version: 0.8.0
4
4
  Summary: Local-first Engineering Intelligence for software repositories
5
5
  Author-email: Aviad Shakargi <aviad94@gmail.com>
6
6
  Maintainer-email: Aviad Shakargi <aviad94@gmail.com>
@@ -8,7 +8,7 @@ License: Apache-2.0
8
8
  Project-URL: Homepage, https://github.com/Shakargy/devtime
9
9
  Project-URL: Repository, https://github.com/Shakargy/devtime
10
10
  Project-URL: Issues, https://github.com/Shakargy/devtime/issues
11
- Project-URL: Release Notes, https://github.com/Shakargy/devtime/releases/tag/v0.7.0
11
+ Project-URL: Release Notes, https://github.com/Shakargy/devtime/releases/tag/v0.8.0
12
12
  Project-URL: Demo, https://youtu.be/1Hiu3Y9J_SI
13
13
  Keywords: devtools,cli,static-analysis,repository-analysis,engineering-intelligence,local-first
14
14
  Classifier: Development Status :: 3 - Alpha
@@ -146,10 +146,20 @@ Contradictions:
146
146
  - **UNKNOWN** - the surface exists but coverage cannot responsibly decide
147
147
  - **NOT_APPLICABLE** - the repository has no surface this claim is about
148
148
 
149
- Four built-in claims ship: route test association, admin authorization, billing
150
- webhook signatures, and JWT authentication. `dtc verify` leads with what it can
151
- actually verify in your repository, and when nothing applies it says what would
152
- make a claim verifiable instead of dead-ending.
149
+ Five built-in claims ship: write route authentication, admin authorization,
150
+ route test association, billing webhook signatures, and JWT authentication.
151
+ `dtc verify` leads with what it can actually verify in your repository, and when
152
+ nothing applies it says what would make a claim verifiable instead of
153
+ dead-ending.
154
+
155
+ Route claims see routes the way your app serves them. A router mounted with
156
+ `app.use("/admin", requireAdmin, adminRouter)` or FastAPI's
157
+ `include_router(..., dependencies=[Depends(get_current_user)])` is resolved to
158
+ its full path and every guard that runs before it:
159
+
160
+ ```text
161
+ DELETE /admin/users/:id is guarded by requireAdmin (where its router is mounted, src/server.ts:14).
162
+ ```
153
163
 
154
164
  Truth and freshness are separate: when a file behind a verified claim changes,
155
165
  the claim goes STALE and names the file.
@@ -107,10 +107,20 @@ Contradictions:
107
107
  - **UNKNOWN** - the surface exists but coverage cannot responsibly decide
108
108
  - **NOT_APPLICABLE** - the repository has no surface this claim is about
109
109
 
110
- Four built-in claims ship: route test association, admin authorization, billing
111
- webhook signatures, and JWT authentication. `dtc verify` leads with what it can
112
- actually verify in your repository, and when nothing applies it says what would
113
- make a claim verifiable instead of dead-ending.
110
+ Five built-in claims ship: write route authentication, admin authorization,
111
+ route test association, billing webhook signatures, and JWT authentication.
112
+ `dtc verify` leads with what it can actually verify in your repository, and when
113
+ nothing applies it says what would make a claim verifiable instead of
114
+ dead-ending.
115
+
116
+ Route claims see routes the way your app serves them. A router mounted with
117
+ `app.use("/admin", requireAdmin, adminRouter)` or FastAPI's
118
+ `include_router(..., dependencies=[Depends(get_current_user)])` is resolved to
119
+ its full path and every guard that runs before it:
120
+
121
+ ```text
122
+ DELETE /admin/users/:id is guarded by requireAdmin (where its router is mounted, src/server.ts:14).
123
+ ```
114
124
 
115
125
  Truth and freshness are separate: when a file behind a verified claim changes,
116
126
  the claim goes STALE and names the file.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "devtime-ei"
3
- version = "0.7.0"
3
+ version = "0.8.0"
4
4
  description = "Local-first Engineering Intelligence for software repositories"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -50,7 +50,7 @@ dev = [
50
50
  Homepage = "https://github.com/Shakargy/devtime"
51
51
  Repository = "https://github.com/Shakargy/devtime"
52
52
  Issues = "https://github.com/Shakargy/devtime/issues"
53
- "Release Notes" = "https://github.com/Shakargy/devtime/releases/tag/v0.7.0"
53
+ "Release Notes" = "https://github.com/Shakargy/devtime/releases/tag/v0.8.0"
54
54
  Demo = "https://youtu.be/1Hiu3Y9J_SI"
55
55
 
56
56
  [project.scripts]
@@ -1,6 +1,6 @@
1
1
  """DevTime - local-first Engineering Intelligence for repository memory."""
2
2
 
3
- __version__ = "0.7.0"
3
+ __version__ = "0.8.0"
4
4
 
5
5
  # Version metadata (Builder Edition, Chapter 20).
6
6
  EVIDENCE_MODEL = "2026.06.1"
@@ -277,6 +277,9 @@ def _print_nothing_verifiable() -> None:
277
277
  console.print("Built-in claims become verifiable when a repository has:")
278
278
  console.print(" - HTTP routes and tests (route-test-coverage)")
279
279
  console.print(" - admin, staff, or back-office routes (admin-authorization)")
280
+ console.print(
281
+ " - POST, PUT, PATCH, or DELETE routes (mutating-routes-authenticated)"
282
+ )
280
283
  console.print(" - JWT usage or a JWT dependency (jwt-authentication)")
281
284
  console.print(" - billing webhooks or a payment provider (billing-webhook-signature)")
282
285
  console.print("")
@@ -145,10 +145,20 @@ def _slugify(name: str) -> str:
145
145
  return re.sub(r"[^a-z0-9]+", "-", name.lower()).strip("-")
146
146
 
147
147
 
148
+ # Route-resolution metadata (v0.8.0) describes routing structure, not behavior.
149
+ # Keeping it out of concept matching means a router variable named adminRouter
150
+ # or a Depends() call does not change which concepts a repository has.
151
+ _RESOLUTION_KEYS = frozenset({
152
+ "router", "offset", "guards", "inline_handler", "deps", "decorators",
153
+ "annotations",
154
+ })
155
+
156
+
148
157
  def _signal_haystack(s: Signal) -> str:
158
+ values = [v for k, v in s.metadata.items() if k not in _RESOLUTION_KEYS]
149
159
  return " ".join(
150
160
  str(x).lower()
151
- for x in (s.name, s.value, s.file_rel_path, *s.metadata.values())
161
+ for x in (s.name, s.value, s.file_rel_path, *values)
152
162
  if x is not None
153
163
  )
154
164