Skip to content

pole-instrument Technical Design - #7

Closed
chuntaojun wants to merge 1 commit into
developfrom
dalqen/task-f2f5ee92d66a20a7
Closed

pole-instrument Technical Design#7
chuntaojun wants to merge 1 commit into
developfrom
dalqen/task-f2f5ee92d66a20a7

Conversation

@chuntaojun

Copy link
Copy Markdown
Contributor

Automated delivery created by Dalqen.

Task: task-f2f5ee92d66a20a7

Copilot AI lite review requested due to automatic review settings August 18, 2026 10:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds a proposed technical design (ADR) for the future pole-instrument launcher, makes it discoverable from existing repo docs, and introduces a test that asserts the design document contains key contract phrases.

Changes:

  • Add context-kg/technical/adr/pole-instrument.md describing packaging boundaries, activation contract, failure policy, process model, configuration, and verification requirements.
  • Update docs/indexing so the new ADR is discoverable (README.md, context-kg/_meta/index.md).
  • Add tests/test_pole_instrument_design.py to enforce presence of specific design requirements in the ADR.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
tests/test_pole_instrument_design.py Adds unittest assertions to keep the pole-instrument ADR content aligned with acceptance criteria phrases.
README.md Links to the proposed pole-instrument technical design ADR and clarifies it is not yet approved/implemented.
context-kg/technical/adr/pole-instrument.md Introduces the proposed pole-instrument launcher technical design ADR.
context-kg/_meta/index.md Updates KG index date and adds a link entry for the new pole-instrument ADR.
Suppressed comments (1)

tests/test_pole_instrument_design.py:22

  • Path.read_text() defaults to the process locale encoding; since README.md and context-kg/_meta/index.md contain non-ASCII text, these reads can fail on systems where the locale isn’t UTF-8 (and make the test flaky). Specify encoding="utf-8" consistently like the DESIGN read.
        self.assertIn("[[pole-instrument]]", (ROOT / "context-kg" / "_meta" / "index.md").read_text())
        self.assertIn("pole-instrument", (ROOT / "README.md").read_text())

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +1 to +6
import unittest
from pathlib import Path


ROOT = Path(__file__).resolve().parents[1]
DESIGN = ROOT / "context-kg" / "technical" / "adr" / "pole-instrument.md"
@chuntaojun chuntaojun closed this Aug 20, 2026
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