Commit Graph

368 Commits

Author SHA1 Message Date
Ma
65852fe6ea chore: bump version to 1.0.0, update CHANGELOG
Studio integration, stability fixes, and documentation updates.
v1.0.0
2026-03-30 20:15:29 +08:00
Ma
a7dbc31a52 chore: gitignore .playwright-cli/, .superpowers/, _*.md 2026-03-30 20:12:37 +08:00
Ma
79f6782874 chore: untrack .playwright-cli/ and .superpowers/ from studio merge 2026-03-30 20:12:25 +08:00
Ma
1b3312d6ac chore: remove promotional files brought in by studio merge 2026-03-30 20:12:09 +08:00
Ma
6a60f2fc5b chore: untrack docs/ — already in .gitignore 2026-03-30 20:07:43 +08:00
Ma
6b4194d6df chore: untrack autoresearch/ and add to .gitignore 2026-03-30 20:06:35 +08:00
Ma
e16b2c145f docs: announce Studio launch and update roadmap across all READMEs
Add Studio release announcement near the top of all three READMEs
(zh/en/ja). Add inkos studio to command reference tables. Mark
Studio as shipped in roadmap, add interactive fiction as next item.
Update SKILL.md to v2.2.0 with Studio workflow section.
2026-03-30 20:06:10 +08:00
Ma
2f9d5f7d69 chore: add autoresearch/ to .gitignore 2026-03-30 20:05:34 +08:00
Ma
1bfcba7a2d test(core): align unknown-hook reducer expectations 2026-03-30 18:13:18 +08:00
Ma
904006baf9 fix(studio): surface async book creation failures 2026-03-30 18:09:53 +08:00
Ma
6aa5c83080 fix(studio): wait for created books before routing 2026-03-30 18:09:53 +08:00
Ma
88a341a6da fix: skip unknown hooks in resolve/defer instead of throwing
Settler may reference hook IDs that were cleared by a previous
settlement or not yet created. Gracefully skip instead of crashing
the pipeline.

Discovered via autoresearch: 旧城暗号 failed at ch16 with
"unknown hook: H012".
2026-03-30 17:46:32 +08:00
Ma
efc74bf9a6 merge: integrate studio branch into master
Resolves merge conflicts — keeps master's v0.6 pipeline features
(length governance, input governance, long-span fatigue, structured
state) and adopts studio's improved launch resolution logic.
Removes dead helper methods superseded by master's initBook flow.
Updates studio tests to match new resolveStudioLaunch signatures.
2026-03-30 17:13:03 +08:00
Ma
f2b1788f5e merge(studio): integrate legacy studio worktree 2026-03-30 16:38:04 +08:00
Ma
b46a9e7120 fix: add hook exception to settler fact-only constraint
The strict fact-only rule was preventing settler from recording hooks.
Hooks are narrative promises in the text (unanswered questions, mysteries,
foreshadowing), not predictions. They must be extracted even under the
fact-only constraint.

Discovered via autoresearch: 3/5 books had empty pending_hooks.md after
10+ chapters, causing 0% hook resolve rate.
2026-03-30 16:12:18 +08:00
Ma
4aea804371 fix: reduce validator false positives — only fail on hard contradictions
Validator was rejecting chapters for minor issues like slightly
ahead-of-text inferences and incomplete hook tracking. Now only
fails for direct factual contradictions. Soft issues remain as
warnings with passed=true.

Discovered via autoresearch bench: 3/5 books failed chapter 1 due
to overly strict validation on reasonable settler extrapolations.
2026-03-30 14:10:07 +08:00
Ma
c7ac2f2324 wip(studio): preserve detached studio worktree changes 2026-03-30 14:09:09 +08:00
Ikko Eltociear Ashimine
ca154b5e77 docs: add Japanese README 2026-03-30 12:55:11 +08:00
Ma
3e27c5b074 fix(studio): unify visible copy across core views 2026-03-30 12:42:01 +08:00
Ma
67197d322e fix(studio): keep config and book actions in sync 2026-03-30 12:38:07 +08:00
Ma
e1af64054c fix(studio): restore reachable navigation and book refresh 2026-03-30 12:14:04 +08:00
Ma
dda66825fd fix(studio): make local source launches reliable 2026-03-30 12:02:02 +08:00
Ma
2aeb4d2fb7 fix(studio): restore testable server guardrails and missing i18n 2026-03-30 11:46:26 +08:00
Ma
9ef1e28b6b fix(studio): unblock daemon start and surface status feedback 2026-03-30 10:55:12 +08:00
Ma
44a3a1fbda fix(studio): preserve selected create-book platform 2026-03-30 09:50:15 +08:00
Ma
094b7edee1 fix(studio): stabilize book creation defaults 2026-03-30 09:25:34 +08:00
Ma
b51a214cd6 fix(studio): harden api and activity hooks 2026-03-30 09:24:42 +08:00
Ma
23d3a884d8 fix(cli): resolve studio runtime entrypoints 2026-03-30 09:24:29 +08:00
Ma
fa904f8f5a docs: add type-of-change checkboxes to PR template 2026-03-30 02:00:06 +08:00
Ma
234a5522b4 docs: add Repobeats analytics to README 2026-03-30 02:00:06 +08:00
Ma
616f73e96e fix: add strict fact-only constraint to settler state extraction
Settler was inferring events not present in chapter text, especially
on chapter 1 where initial truth files contain outline-generated hooks.
Add explicit rule: only extract what the chapter text actually describes,
never predict/supplement from outline or future chapters.

Discovered via autoresearch bench run.
2026-03-30 02:00:06 +08:00
Ma
75bec6ff19 docs: add Star History chart and Contributors section to README 2026-03-30 02:00:06 +08:00
Ma
275cf1293e chore: bump version to 0.6.3, SKILL.md to 2.1.0, update CHANGELOG v0.6.3 2026-03-29 19:48:34 +08:00
Ma
2f86af72f2 fix: harden validator parsing and status counts 2026-03-29 19:30:48 +08:00
Ma
9a07d04ae1 docs: sync SKILL.md with full CLI command set
Add missing commands: eval, consolidate, write rewrite, book update/delete,
plan chapter, compose chapter, studio, fanfic show/refresh, genre create/copy.
Fix genre create parameter docs (was --rules, actual is --numerical/--power/--era).

Closes #111
2026-03-29 19:21:07 +08:00
Ma
eee8950989 fix: make book creation fail closed 2026-03-29 00:44:25 +08:00
Ma
eaa8749a54 feat: add inkos eval command for structured quality reporting
Outputs per-chapter and whole-book quality metrics:
- Composite quality score (0-100)
- Audit pass rate, AI tell density, paragraph health
- Hook resolve rate, duplicate title count
- Per-chapter quality trend with drift detection
- Supports --json for machine-readable output
- Supports --chapters range for partial evaluation
2026-03-29 00:30:44 +08:00
Ma
eba4a54ae4 feat: harden v0.6.3 safety guards and migration hints 2026-03-28 21:29:38 +08:00
Ma
4c0ffed7ff feat: add version migration check to doctor command
Detects books using legacy pre-v0.6 format (no story/state/ directory)
and advises running write next to auto-migrate.

Addresses #95
2026-03-28 20:42:35 +08:00
Ma
75a70ece5d test: add rewrite chapter regression — verify next chapter is 2 after rewrite 2
Simulates: write 3 chapters → rewrite chapter 2 (trim index, delete
files, restore snapshot) → assert getNextChapterNumber returns 2.

Addresses #103
2026-03-28 20:40:14 +08:00
Ma
aeb6d2c171 fix: detect duplicate chapter titles in prompt and post-write validation
- Writer prompt: add "title must differ from existing chapters" constraint
- post-write-validator: add detectDuplicateTitle() for exact and near-duplicate matching
- runner: check title uniqueness against chapter index before persist

Addresses #94
2026-03-28 20:38:21 +08:00
Ma
7a4a486698 fix: run paragraph shape detection on final content before persist
Previously paragraph drift detection only ran on the initial draft.
Now it also runs on finalContent (after normalize + auto-revise)
right before saveChapter, catching fragmentation introduced by
intermediate pipeline stages.

Addresses #90
2026-03-28 20:34:53 +08:00
Ma
c95150d45f fix: add execution-layer guards to agent tool dispatch
- write_draft: verify sequential chapter order, reject gap writes
- revise_chapter: verify target chapter exists and has content
- write_truth_file: block chapter progress manipulation in current_state.md
- import_chapters: require minimum 2 chapters (whole-book reimport only)

Addresses #92 #93 execution-layer hardening
2026-03-28 20:32:44 +08:00
Ma
eb29720020 fix: only use --force-local tar flag on Windows
macOS BSD tar does not support --force-local. Only needed on Windows
where drive letters (C:) get misinterpreted as remote hosts.
2026-03-28 20:16:50 +08:00
Ma
cc44e74e3a docs: add v0.6.1 and v0.6.2 to CHANGELOG.md 2026-03-28 20:13:13 +08:00
Ma
10deafe720 docs: point OpenClaw links to skill page, add agent to auditor description 2026-03-28 20:11:48 +08:00
Ma
eb9de48ac3 docs: update README descriptions and fix CLI casing 2026-03-28 20:10:41 +08:00
Ma
237f80b657 docs: revert README SEO rewrite, keep only Cli → CLI fix 2026-03-28 20:04:54 +08:00
Ma
db1ae029a5 fix: harden agent tool descriptions and add prohibitive system prompt
- write_draft: explicitly states "next chapter only", cannot backfill
- revise_chapter: cannot substitute for missing chapters or change chapter numbers
- import_chapters: marked as whole-book reimport, not single-chapter patch
- write_truth_file: marked as full-file overwrite, cannot hack chapter progress
- System prompt: added prohibitions section preventing common misuse patterns

Addresses #92 #93
v0.6.2
2026-03-28 19:52:11 +08:00
Ma
bfdd7a4ac7 fix: add short paragraph and density drift detection
- Detect consecutive short paragraphs (< 80 chars)
- Detect paragraph fragmentation (> 40% short paragraphs)
- Track paragraph shape across chapters for drift detection
- Add warnings to post-write validator output

Closes #90
2026-03-28 19:49:15 +08:00