Skip to content

refactor: restructure project layout and documentation#39

Merged
SamYuan1990 merged 4 commits into
ob-labs:mainfrom
Teingi:dev_0603
Jun 4, 2026
Merged

refactor: restructure project layout and documentation#39
SamYuan1990 merged 4 commits into
ob-labs:mainfrom
Teingi:dev_0603

Conversation

@Teingi

@Teingi Teingi commented Jun 3, 2026

Copy link
Copy Markdown
Contributor
  • Rename files to snake_case for PEP 8 compliance (Interal_watch → internal_watch, capTaskQueues → cap_task_queues, etc.)
  • Move tests from scl/test/ to tests/ per standard project layout
  • Remove stale files: test.py (otel experiment), requirements.txt (uv export artifact)
  • Move test.sh into scripts/ directory
  • Rewrite doc/ with structured documentation (overview, architecture, core concepts, getting started, SDK reference, development roadmap)
  • Rewrite README.md and README_CN.md to match open-source standards
  • Update Dockerfile to install from pyproject.toml instead of requirements.txt
  • Update Makefile lock target to drop requirements.txt export
  • Update .dockerignore to allow README.md into build context
  • Add missing config files: .gitignore, .env.example, .pre-commit-config.yaml

- Rename files to snake_case for PEP 8 compliance (Interal_watch → internal_watch,
  capTaskQueues → cap_task_queues, etc.)
- Move tests from scl/test/ to tests/ per standard project layout
- Remove stale files: test.py (otel experiment), requirements.txt (uv export artifact)
- Move test.sh into scripts/ directory
- Rewrite doc/ with structured documentation (overview, architecture, core concepts,
  getting started, SDK reference, development roadmap)
- Rewrite README.md and README_CN.md to match open-source standards
- Update Dockerfile to install from pyproject.toml instead of requirements.txt
- Update Makefile lock target to drop requirements.txt export
- Update .dockerignore to allow README.md into build context
- Add missing config files: .gitignore, .env.example, .pre-commit-config.yaml

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Teingi Teingi requested a review from SamYuan1990 June 3, 2026 06:58
Teingi and others added 3 commits June 3, 2026 15:01
Standardize on 'docs/' as the documentation directory name,
consistent with GitHub Pages and open-source conventions.
Update all internal references in README, README_CN,
docs/06-development.md, and .dockerignore.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Replace top-level imports of LocalEmbeddingClient and WebEmbeddingClient
  with lazy imports inside CompositeEmbedding.__init__
- Replace hasattr(config, ...) with getattr + bool so unset config values
  don't activate optional backends
- This fixes ModuleNotFoundError for sentence-transformers when the
  [local] extra is not installed

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Comment thread pyproject.toml
name = "structured-context-language"
description = "Structured Context Language (SCL) — a standardized agent loop runtime for context engineering."
readme = "README.md"
requires-python = ">=3.11"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please change to python 3.9

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose it's a question for us, do we need an install option for local embedding or not?

@SamYuan1990

Copy link
Copy Markdown
Collaborator

In general the PR is great, leave question to discuss before merge.

@SamYuan1990 SamYuan1990 merged commit f056a52 into ob-labs:main Jun 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants