Skip to main content
Version: 1.2.0

feat-agent-automatic-folders

✨ New Features​

Classify folder v0 from agent_codes.automatic​

Goal: Manual and automatic folders follow the agent catalogue instead of the bcyip-tower tag, any bcyip:agent, or an empty autoAttributes bag.

Solution: Add automatic on agent_codes. A document is automatic when bcyip:agent matches an agent row with automatic: true. The manual folder is the inverse. This change does not write auto-attributes and does not flag existing agent rows. The required header and fileId rules stay in the previous commit.

Features:

  • agent_codes.automatic on create and update
  • Folder v0 and the docs-type tab use that flag
  • No production backfill and no attribute write

Files Modified:

  • src/domains/platform/agents/agents.service.ts - Read and write automatic
  • src/domains/platform/agents/agents.types.ts - Boolean on agent DTOs
  • src/domains/platform/platform.responses.ts - API response field
  • src/domains/document/templates/document-folder-v0.ts - Automatic vs manual match
  • src/domains/document/templates/document-folder-v0.spec.ts - Filter unit tests
  • src/domains/document/templates/documents.ts - Delegate folder v0 filters
  • src/domains/document/templates/initialValues.ts - Tab-bar classification
  • src/domains/document/document.service.ts - Folder query context
  • src/domains/document/document.type.ts - automaticAgentNames on list params