Commit Graph

290 Commits

Author SHA1 Message Date
d17f75a65d feat(ui): add chat-driven dataset review flow
Move dataset review clarification into the assistant workspace and
rework the review page into a chat-centric layout with execution rails.

Add session-scoped assistant actions for mappings, semantic fields,
and SQL preview generation. Introduce optimistic locking for dataset
review mutations, propagate session versions through API responses,
and mask imported filter values before assistant exposure.

Refresh tests, i18n, and spec artifacts to match the new workflow.

BREAKING CHANGE: dataset review mutation endpoints now require the
X-Session-Version header, and clarification is no longer handled
through ClarificationDialog-based flows
2026-03-26 13:33:12 +03:00
1ae9e03ff7 + clean 2026-03-22 13:00:17 +03:00
6a49e630fc some cleaning in promts 2026-03-22 13:00:06 +03:00
3b3946a72d standards clean 2026-03-22 12:40:02 +03:00
0a8159b8b7 swarm update 2026-03-21 18:34:24 +03:00
bcb6be9768 promts 2026-03-21 16:09:13 +03:00
5a25324d75 feat(ui): surface review readiness and blockers
Add readiness hints, blocker summaries, and progress cues across
the dataset review workspace to clarify partial recovery and
launch gating states.

Highlight read-only preview snapshots, pending semantic review,
clarification queue status, and unresolved validation blockers to
guide the next recommended action.

Document known limitations in backend test doubles so permission,
task dispatch, and uncovered persistence branches are explicit.
2026-03-21 15:48:28 +03:00
3723b6413d subagents promts 2026-03-21 15:48:07 +03:00
eba124423a test semantics 2026-03-21 15:23:06 +03:00
07c064bb86 fix: finalize semantic repair and test updates 2026-03-21 15:07:06 +03:00
1a79589632 fix: resolve missing ENCRYPTION_KEY in assistant route tests 2026-03-21 12:19:47 +03:00
978fe7b34d fix: commit semantic repair changes 2026-03-21 11:22:25 +03:00
d47826b50b add grace_schema.yaml 2026-03-21 11:06:48 +03:00
959be4f4b2 fix: commit verified semantic repair changes 2026-03-21 11:05:20 +03:00
abd4120423 swarm promts 2026-03-21 10:34:25 +03:00
b5151386b5 opencode + kilo promts 2026-03-20 22:41:41 +03:00
2073896d34 agent promt polish 2026-03-20 20:17:10 +03:00
a1c6596554 semantics 2026-03-20 20:01:58 +03:00
f6171d72e4 subagents 2026-03-20 17:20:24 +03:00
0491784cfa Add primary subagent-only orchestrator 2026-03-20 16:46:16 +03:00
455e0fa11f Add custom subagent role duplicates 2026-03-20 16:36:18 +03:00
47aadfc178 semantic 2026-03-18 08:45:15 +03:00
ac18ea8733 Split Superset OpenAPI into indexed sections 2026-03-17 21:19:26 +03:00
69a8c0ebc8 feat: add dataset review workspace navigation 2026-03-17 20:18:24 +03:00
0bc6f59a7a Bootstrap initial admin via env and add compose profiles 2026-03-17 19:16:25 +03:00
2095d96b16 fix(final-phase): finalize dataset review audit blockers 2026-03-17 18:23:02 +03:00
2dbef02f81 fix(us3): align dataset review contracts and acceptance gates 2026-03-17 18:20:36 +03:00
7bca1c2b03 docs(027): Mark Final Phase T038-T043 as completed 2026-03-17 14:36:15 +03:00
c34a982bf8 fix(tests): Add model imports to fix SQLAlchemy registration in matrix tests 2026-03-17 14:33:15 +03:00
f526a978c3 feat(027): Final Phase T038-T043 implementation
- T038: SessionEvent logger and persistence logic
  - Added SessionEventLogger service with explicit audit event persistence
  - Added SessionEvent model with events relationship on DatasetReviewSession
  - Integrated event logging into orchestrator flows and API mutation endpoints

- T039: Semantic source version propagation
  - Added source_version column to SemanticFieldEntry
  - Added propagate_source_version_update() to SemanticResolver
  - Preserves locked/manual field invariants during propagation

- T040: Batch approval API and UI actions
  - Added batch semantic approval endpoint (/fields/semantic/approve-batch)
  - Added batch mapping approval endpoint (/mappings/approve-batch)
  - Added batch approval actions to SemanticLayerReview and ExecutionMappingReview components
  - Aligned batch semantics with single-item approval contracts

- T041: Superset compatibility matrix tests
  - Added test_superset_matrix.py with preview and SQL Lab fallback coverage
  - Tests verify client method preference and matrix fallback behavior

- T042: RBAC audit sweep on session-mutation endpoints
  - Added _require_owner_mutation_scope() helper
  - Applied owner guards to update_session, delete_session, and all mutation endpoints
  - Ensured no bypass of existing permission checks

- T043: i18n coverage for dataset-review UI
  - Added workspace state labels (empty/importing/review) to en.json and ru.json
  - Added batch action labels for semantics and mappings
  - Fixed workspace state comparison to lowercase strings
  - Removed hardcoded workspace state display strings

Signed-off-by: Implementation Specialist <impl@ss-tools>
2026-03-17 14:29:33 +03:00
85bd8c7889 docs(027): sync plan and task status with accepted us1 delivery 2026-03-17 11:07:59 +03:00
2c3fd28bf3 fix(027): stabilize shared acceptance gates and compatibility collateral 2026-03-17 11:07:49 +03:00
d56084e5c8 feat(us1): add dataset review orchestration automatic review slice 2026-03-17 10:57:49 +03:00
b338936759 speckit update 2026-03-16 23:55:42 +03:00
2c2bd1a7dd fix: repository collaborator access and stale findings persistence issues 2026-03-16 23:43:37 +03:00
578020cdb2 feat: initial dataset review orchestration flow implementation 2026-03-16 23:43:03 +03:00
2b6855647d Таски готовы 2026-03-16 23:11:19 +03:00
4c6e881347 fix 2026-03-16 21:27:33 +03:00
91ea3f9393 feat(frontend): polish task drawer and task log modal 2026-03-16 21:23:04 +03:00
30323d8273 chore: update semantic contracts and git merge handling 2026-03-16 20:34:28 +03:00
51a0973dc1 docs(semantics): simplify test markup protocol (Section VIII) and sync workflows 2026-03-16 18:18:57 +03:00
0096500903 semantic 2026-03-16 16:45:08 +03:00
96d8712b6f refactor(semantics): migrate legacy @TIER to @COMPLEXITY annotations
- Replaced @TIER: TRIVIAL with @COMPLEXITY: 1
- Replaced @TIER: STANDARD with @COMPLEXITY: 3
- Replaced @TIER: CRITICAL with @COMPLEXITY: 5
- Manually elevated specific critical/complex components to levels 2 and 4
- Ignored legacy, specs, and node_modules directories
- Updated generated semantic map
2026-03-16 10:06:44 +03:00
1a1d44ea35 refactor(semantics): migrate TIER system to adaptive COMPLEXITY 1-5 scale
- Replaced rigid TIERs with continuous COMPLEXITY 1-5 scale in semantics.md
- Updated generate_semantic_map.py to parse and score based on Complexity
- Added backward compatibility mapping for legacy TIERs
- Migrated all .ai/shots examples to use @COMPLEXITY and updated relation syntax
- Added trivial_utility.py shot to demonstrate implicit Complexity 1 token savings
2026-03-16 09:54:13 +03:00
df69b2af49 chore(semantics): checkpoint orphan-reduction hub normalization batch 2026-03-15 22:14:05 +03:00
a054aaa5d6 chore(semantic): remediate backend core contracts 2026-03-15 21:23:44 +03:00
613a923c36 chore(semantic): checkpoint remediation progress 2026-03-15 21:08:00 +03:00
64704e98ac speckit.semantics update 2026-03-15 20:41:10 +03:00
d61987bd11 mcp 2026-03-15 20:29:11 +03:00
12b522f852 feat add connections management and health summary improvements 2026-03-15 16:40:43 +03:00