This adds the full Atlas (总助 Claw / 老板视角项目执行雷达) scaffolding as a sibling profile to the existing Vega general-purpose assistant. All Atlas content lives under atlas/ to keep the existing top-level skeleton intact. What's included: - atlas/IDENTITY.md, SOUL.md, USER.md, AGENTS.md, MEMORY.md, BOOTSTRAP.md, HEARTBEAT.md, TOOLS.md (+ zh-CN mirrors) — full OpenClaw 8-piece set matching the zero-cca convention - atlas/skills/ — 6 sub-skills with frontmatter: claw-email-parser / claw-project-tracker / claw-people-observer / claw-customer-radar / claw-boss-distiller / claw-report-writer - atlas/skills/claw-boss-distiller/ — adapter notes for nuwa-skill, 5-layer boss_skill seed template (23 rules across Expression DNA / Mental Models / Decision Heuristics / Anti-Patterns / Honest Boundaries), and a complete synthetic distillation demo (10 input emails -> validated 5-layer output) - atlas/mcp-tools/email-extractor/ — Python implementation of stages 1-3 (fetch + decode + dequote), 7 pytest tests passing, CLI: atlas-extract - atlas/state-schemas/ — formal JSON schemas for project / person / customer cards with the no-employee-rating hard constraint baked in - atlas/client-deck/ — 2-page client-facing pitch document - autopilots/atlas-*.yaml — 5 autopilot configs (daily / weekly / monthly / quarterly + andon event-triggered) for a future Multica-side scheduler Notes: - nuwa-skill (MIT, https://github.com/alchaincyf/nuwa-skill) NOT vendored; fetch at deploy time via instructions in atlas/skills/claw-boss-distiller/upstream/README.md - Vega-side prompts/skills/tools/autopilots/docs scaffold left untouched - Top-level README.md updated with a brief Atlas pointer; rest preserved
32 lines
943 B
TOML
32 lines
943 B
TOML
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "atlas-extractor"
|
|
version = "0.1.0"
|
|
description = "Atlas / 总助 Claw email extraction pipeline (Stages 1-3 of mcp-tools/email-extractor.md spec)"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"imap-tools>=1.5.0", # Stage 1: IMAP fetcher
|
|
"readability-lxml>=0.8.1", # Stage 2: HTML → text
|
|
"lxml>=5.0.0", # readability dep
|
|
"html2text>=2024.2.26", # Stage 2 fallback
|
|
"chardet>=5.2.0", # Stage 2: charset sniff
|
|
"mail-parser>=3.15.0; python_version<'3.13'", # MIME helper (optional)
|
|
"click>=8.1.0", # CLI
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
test = ["pytest>=8.0", "pytest-cov>=5.0"]
|
|
|
|
[project.scripts]
|
|
atlas-extract = "atlas_extractor.cli:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["atlas_extractor*"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|