decomposer: fix validation failure for Migrate the kab_ingestion domain models, ports, GitHub SCM connector, and SharePoint CMS connector into the repository's app/ package.; Wire the migrated ingestion components into the agent application entry point, card, settings, triggers, governance, publication, and validation layers.; Populate every remaining placeholder file with working application, package, test, dependency, and Kubernetes content.; Verify the migrated agent and completed repository end to end.
Some checks failed
ci / test (push) Failing after 7s
Some checks failed
ci / test (push) Failing after 7s
This commit is contained in:
45
.agents/plans/wf-decompose-c7b1125e7fe2/DETAIL.md
Normal file
45
.agents/plans/wf-decompose-c7b1125e7fe2/DETAIL.md
Normal file
@@ -0,0 +1,45 @@
|
||||
# Plan Detail
|
||||
|
||||
## Step 0: Migrate the kab_ingestion domain models, ports, GitHub SCM connector, and SharePoint CMS connector into the repository's app/ package.
|
||||
|
||||
- **Capability:** Move ingestion contracts and connector implementations under app/, preserving typed interfaces and adapting imports so the migrated components are available to the agent application.
|
||||
- **Plan label:** gap
|
||||
- **Reusable capability:** False
|
||||
- **Rationale:** These are implementation components of this agent's requested ingestion deliverable, not a separately reusable registry capability.
|
||||
- **Input schema:** `{'repository_url': 'string'}`
|
||||
- **Output schema:** `{'repository_url': 'string', 'migrated_paths': 'string[]', 'migration_summary': 'object', 'imports_resolved': 'boolean'}`
|
||||
- **Acceptance criteria:** (none)
|
||||
- **Success conditions:** (none)
|
||||
|
||||
## Step 1: Wire the migrated ingestion components into the agent application entry point, card, settings, triggers, governance, publication, and validation layers.
|
||||
|
||||
- **Capability:** Integrate the migrated ingestion contracts and connectors with create_agent_app, AgentCard skills, typed settings, application routes and triggers, governance and publication helpers, and validation helpers.
|
||||
- **Plan label:** gap
|
||||
- **Reusable capability:** False
|
||||
- **Rationale:** This wiring is specific to the existing content-ingestion-agent deliverable and depends on the migrated package.
|
||||
- **Input schema:** `{'repository_url': 'string', 'migrated_paths': 'string[]', 'migration_summary': 'object', 'imports_resolved': 'boolean'}`
|
||||
- **Output schema:** `{'repository_url': 'string', 'wired_paths': 'string[]', 'routes_registered': 'string[]', 'skills_registered': 'string[]', 'settings_fields': 'string[]', 'governance_publication_integrated': 'boolean', 'validation_integrated': 'boolean', 'imports_resolved': 'boolean', 'wiring_summary': 'object'}`
|
||||
- **Acceptance criteria:** (none)
|
||||
- **Success conditions:** (none)
|
||||
|
||||
## Step 2: Populate every remaining placeholder file with working application, package, test, dependency, and Kubernetes content.
|
||||
|
||||
- **Capability:** Complete the agent modules, package initializers, test fixtures, pinned runtime and development dependencies, and Kubernetes deployment, configuration, and service manifests without leaving empty, comment-only, docstring-only, or TODO-scaffold files.
|
||||
- **Plan label:** gap
|
||||
- **Reusable capability:** False
|
||||
- **Rationale:** These files are repository-specific operational and test scaffolding required to make this agent complete; they are not standalone reusable capabilities.
|
||||
- **Input schema:** `{'repository_url': 'string', 'wired_paths': 'string[]', 'routes_registered': 'string[]', 'skills_registered': 'string[]', 'settings_fields': 'string[]', 'governance_publication_integrated': 'boolean', 'validation_integrated': 'boolean', 'imports_resolved': 'boolean', 'wiring_summary': 'object'}`
|
||||
- **Output schema:** `{'repository_url': 'string', 'populated_paths': 'string[]', 'dependency_files': 'string[]', 'kubernetes_manifest_paths': 'string[]', 'test_fixture_paths': 'string[]', 'placeholder_files_remaining': 'string[]', 'imports_resolved': 'boolean', 'content_checks_passed': 'boolean', 'population_summary': 'object'}`
|
||||
- **Acceptance criteria:** (none)
|
||||
- **Success conditions:** (none)
|
||||
|
||||
## Step 3: Verify the migrated agent and completed repository end to end.
|
||||
|
||||
- **Capability:** Run the repository test suite and targeted validation for ingestion behavior, application wiring, typed settings, agent-card skills, Kubernetes manifests, dependency files, and absence of empty, comment-only, docstring-only, or TODO-scaffold files.
|
||||
- **Plan label:** gap
|
||||
- **Reusable capability:** False
|
||||
- **Rationale:** Verification is deliverable-specific content for this repository.
|
||||
- **Input schema:** `{'repository_url': 'string', 'populated_paths': 'string[]', 'dependency_files': 'string[]', 'kubernetes_manifest_paths': 'string[]', 'test_fixture_paths': 'string[]', 'placeholder_files_remaining': 'string[]', 'imports_resolved': 'boolean', 'content_checks_passed': 'boolean', 'population_summary': 'object'}`
|
||||
- **Output schema:** `{'repository_url': 'string', 'tests_passed': 'boolean', 'ingestion_validation_passed': 'boolean', 'wiring_validation_passed': 'boolean', 'settings_validation_passed': 'boolean', 'manifest_validation_passed': 'boolean', 'dependency_validation_passed': 'boolean', 'placeholder_files_remaining': 'string[]', 'verification_errors': 'string[]', 'verification_summary': 'object'}`
|
||||
- **Acceptance criteria:** (none)
|
||||
- **Success conditions:** (none)
|
||||
19
.agents/plans/wf-decompose-c7b1125e7fe2/MAP.md
Normal file
19
.agents/plans/wf-decompose-c7b1125e7fe2/MAP.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# Plan Map
|
||||
|
||||
**Workflow:** wf-decompose-c7b1125e7fe2
|
||||
**Intent:** Extend the existing agent repository at https://gitea.kyndemo.live/agents/content-ingestion-agent. First, migrate the kab_ingestion package into that repository's app/ package, so the ingestion contract models and ports, the GitHub SCM connector, the SharePoint CMS connector, the ingestion orchestrator, the triggers, the governance/publication helpers and the validation helpers all live under app/ and are wired into the agent's create_agent_app entry point, its AgentCard skill list and its typed settings. Second, eliminate every placeholder file in the repository. No file may be left empty, docstring-only, comment-only, or carrying a TODO scaffold marker. Concretely: app/agent.py, app/card.py and app/config.py are currently one-line docstrings; app/__init__.py, app/nodes/__init__.py, app/states/__init__.py, app/tools/__init__.py, app/workflows/__init__.py, tests/__init__.py, requirements.txt and requirements-dev.txt are empty; tests/conftest.py is a single comment; and k8s/deployment.yaml, k8s/configmap.yaml and k8s/service.yaml each contain only the line '# TODO: generation subagent fills this in.'. Every one of these must end up with real, working, populated content appropriate to this agent - actual route wiring, an actual agent card, actual typed settings, actual pinned dependencies, actual Kubernetes manifests and actual test fixtures - rather than boilerplate.
|
||||
**This repo covers:** step 0, step 1, step 2, step 3
|
||||
|
||||
## Dependency graph
|
||||
|
||||
- Step 0: no dependencies
|
||||
- Step 1: depends on step 0
|
||||
- Step 2: depends on step 0, step 1
|
||||
- Step 3: depends on step 0, step 1, step 2
|
||||
|
||||
## Phase table
|
||||
|
||||
Phase 1: step 0
|
||||
Phase 2: step 1
|
||||
Phase 3: step 2
|
||||
Phase 4: step 3
|
||||
Reference in New Issue
Block a user