Skip to content

docs(contest_2026): add AI Coding log guide (markdown) and cross-link it - #593

Merged
tanghao-xiaomi merged 2 commits into
open-vela:dev-ai-contest-2026from
tanghao-xiaomi:docs-add-velaclaw-guide
Jun 15, 2026
Merged

tanghao-xiaomi merged 2 commits into
open-vela:dev-ai-contest-2026from
tanghao-xiaomi:docs-add-velaclaw-guide

Conversation

@tanghao-xiaomi

Copy link
Copy Markdown
Collaborator
  • Add ai_coding_log_guide.md (formal tutorial converted from Feishu): install, enable AI tools, export/submit logs, privacy, troubleshooting
  • Repoint AI-log references from .claude/USAGE.md to the in-repo guide in contest_overview, code_submission_guide, quickapp_manual, ai_hardware_track_guide
  • List the new guide in the three track index pages
  • code_submission_guide: repo naming rule contest2026-<编号>-<队伍名> (one repo/team)

Note: Please adhere to Contributing Guidelines.

Summary

Update this section with information on why change is necessary,
what it exactly does and how, if new feature shows up, provide
references (dependencies, similar problems and solutions), etc.

Impact

Update this section, where applicable, on how change affects users,
build process, hardware, documentation, security, compatibility, etc.

Testing

Update this section with details on how did you verify the change,
what Host was used for build (OS, CPU, compiler, ..), what Target was
used for verification (arch, board:config, ..), etc. Providing build
and runtime logs from before and after change is highly appreciated.

- Add ai_coding_log_guide.md (formal tutorial converted from Feishu):
  install, enable AI tools, export/submit logs, privacy, troubleshooting
- Repoint AI-log references from .claude/USAGE.md to the in-repo guide in
  contest_overview, code_submission_guide, quickapp_manual, ai_hardware_track_guide
- List the new guide in the three track index pages
- code_submission_guide: repo naming rule contest2026-<编号>-<队伍名> (one repo/team)
@tanghao-xiaomi
tanghao-xiaomi requested review from a team as code owners June 15, 2026 07:07
…d steps

Match the AI Coding log guide style (numbered ①-⑤ steps with section refs)
@tanghao-xiaomi
tanghao-xiaomi merged commit cbd1b89 into open-vela:dev-ai-contest-2026 Jun 15, 2026
2 of 4 checks passed
yanxingyu17 added a commit to yanxingyu17/docs that referenced this pull request Jun 16, 2026
…pen-vela#24)

The guide was added in PR open-vela#593 from a snapshot that pre-dated two
relevant tool changes in open-vela/.claude:

  - PR open-vela#24 (zero-touch install): install.sh no longer copies tools
    into the demo repo. Tools live in the sibling .claude/ tools
    repo and contestants invoke them via relative path. The demo
    repo only receives logs/<github_login>/... after explicit
    --confirm export.

  - PR open-vela#25 (--since tz fix): naive --since dates on Python 3.11+
    no longer crash. No command-line surface change.

This commit syncs the guide to the post-PR-open-vela#24 reality:

  1. Every 'python3 tools/...' is rewritten to
     'python3 ../.claude/skills/contest-log-collector/tools/...',
     matching what install.sh now tells contestants to run.

  2. The 'file layout' appendix is rewritten:
     - demo repo only shows logs/ as a post-export-only directory
     - removed the misleading line that claimed install.sh would
       generate .claude/.opencode/tools/schema/ inside the demo repo
       (this is no longer true after PR open-vela#24)
     - new top paragraph states the zero-touch property explicitly
     - ~/.config/opencode/plugin/contest-collector.js added (new
       location in PR open-vela#24)

  3. Two prose references to 'tools/export-session.py' and
     'tools/validate-log.py' (in the natural-language trigger
     paragraph and in the Q3 anti-cheat description) get the same
     '../.claude/skills/...' prefix so the contestant can copy-paste.

No functional / privacy / behavioural claim changed - all the
two-stage staging + --confirm semantics, redaction rules, FAQ
answers, and field tables remain as written.

Tested by running each updated command on a fresh manifest mock
(open-vela/contest2026_000_openvela#2 was the e2e proof of the
zero-touch flow).

Signed-off-by: v-yanxingyu <v-yanxingyu@xiaomi.com>
tanghao-xiaomi pushed a commit that referenced this pull request Jun 16, 2026
…apshot shortcut

The guide was added in #593 from a snapshot that pre-dated two tool
changes in open-vela/.claude:

  - PR #24 (zero-touch install, merged): install.sh no longer
    copies tools into the demo repo. Tools live in the sibling
    .claude/ tools repo. Demo repo only receives
    logs/<github_login>/... after explicit --confirm export.

  - PR #26 (contest-snapshot shortcut, in flight): install.sh
    additionally installs ~/.local/bin/contest-snapshot, a thin
    wrapper that resolves the sibling .claude/ via git toplevel
    and execs the real export-session.py. Forwards all args.

This commit syncs the guide accordingly. Three substantive edits:

  1. Every contestant-facing export command is rewritten from the
     long form
       python3 tools/export-session.py --latest --confirm
     to the short form
       contest-snapshot --latest --confirm
     This covers section 3 (the three trigger methods), section 5
     (verify steps), and Q5 (final-hour playbook). 16 sites total.

  2. New paragraph at the bottom of section 3.3 explains what to do
     when 'contest-snapshot: command not found' (~/.local/bin not on
     PATH). Two options: append PATH in ~/.bashrc, or fall back to
     the full python3 ../.claude/skills/... invocation.

  3. Judge tools (render-log.py / validate-log.py) have no shortcut
     and stay on the full
       python3 ../.claude/skills/contest-log-collector/tools/...
     path, since they are run by judges and reviewers, not by the
     contestant in their daily loop.

Appendix file-tree:
  - removed the misleading line claiming install.sh generates
    .claude/.opencode/tools/schema/ inside the demo repo (no longer
    true after PR #24)
  - added the new ~/.local/bin/contest-snapshot entry under the
    home-directory install footprint
  - added ~/.config/opencode/plugin/contest-collector.js, which is
    where PR #24 moved the OpenCode plugin

No functional / privacy / behavioural claim changed. All two-stage
staging + --confirm semantics, redaction rules, FAQ answers, and
field tables remain as written.

Tested by running each updated command on a fresh manifest mock:
  contest-snapshot --list                     -> ok
  contest-snapshot --latest                   -> preview
  contest-snapshot --latest --confirm         -> writes logs/...
  verify-setup.sh                             -> Passed 11 Failed 0
End-to-end proof that the demo repo stays clean:
  open-vela/contest2026_000_openvela#2 (2 files, 22 lines).

Signed-off-by: v-yanxingyu <v-yanxingyu@xiaomi.com>
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.

1 participant