Skip to content

Commit 370db3b

Browse files
nhortonclaude
andauthored
Consolidate doc/platform/ into doc/platforms/ (#63)
Merged the separate platform and platforms documentation directories into a single doc/platforms/ folder. Moved hooks.md and learnings.md files for both Claude and Gemini platforms, updated the README with the new structure, and fixed references in architecture.md and CHANGELOG.md. Co-authored-by: Claude <noreply@anthropic.com>
1 parent e8fdb29 commit 370db3b

File tree

7 files changed

+12
-9
lines changed

7 files changed

+12
-9
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
- `wrapper.py`: Normalizes input/output between Claude Code and Gemini CLI
1313
- `claude_hook.sh` and `gemini_hook.sh`: Platform-specific shell wrappers
1414
- `policy_check.py`: Cross-platform policy evaluation hook
15-
- Platform documentation in `doc/platform/` and `doc/platforms/` with hook references and learnings
15+
- Platform documentation in `doc/platforms/` with hook references and learnings
1616
- Claude Code platform documentation (`doc/platforms/claude/`)
1717
- `update.job` for maintaining standard jobs (#41)
1818
- `make_new_job.sh` script and templates directory for job scaffolding (#37)

doc/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,7 @@ def my_hook(input: HookInput) -> HookOutput:
11161116
# Called via: claude_hook.sh mymodule or gemini_hook.sh mymodule
11171117
```
11181118

1119-
See `doc/platform/` for detailed platform-specific hook documentation.
1119+
See `doc/platforms/` for detailed platform-specific hook documentation.
11201120

11211121
### Policy Schema
11221122

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,18 @@ When you discover something about how a platform behaves that isn't obvious from
2424
## Directory Structure
2525

2626
```
27-
doc/platform/
28-
├── README.md # This file
27+
doc/platforms/
28+
├── README.md # This file
2929
├── claude/
30-
│ ├── hooks.md # Claude Code hooks system documentation
31-
│ └── learnings.md # Discovered behaviors and quirks
30+
│ ├── cli_configuration.md # Claude Code CLI configuration
31+
│ ├── hooks.md # Claude Code hooks system (input/output schemas)
32+
│ ├── hooks_system.md # Command-level hook support
33+
│ └── learnings.md # Discovered behaviors and quirks
3234
└── gemini/
33-
├── hooks.md # Gemini CLI hooks system documentation
34-
└── learnings.md # Discovered behaviors and quirks
35+
├── cli_configuration.md # Gemini CLI configuration
36+
├── hooks.md # Gemini CLI hooks system (input/output schemas)
37+
├── hooks_system.md # Command-level hook limitations
38+
└── learnings.md # Discovered behaviors and quirks
3539
```
3640

3741
## Platform Comparison Summary
@@ -51,4 +55,3 @@ doc/platform/
5155

5256
- `src/deepwork/core/adapters.py` - Platform adapter implementations
5357
- `src/deepwork/hooks/` - Hook wrapper scripts
54-
- `doc/platforms/` - External platform documentation (configuration, commands)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)